File: server.go

package info (click to toggle)
golang-github-influxdb-usage-client 0.0~git20151204.0.475977e-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 152 kB
  • sloc: makefile: 2
file content (13 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
package client

type Server struct {
	ClusterID string `json:"cluster_id"`
	ServerID  string `json:"server_id"`
	Host      string `json:"host"`
	Product   string `json:"product"`
	Version   string `json:"version"`
}

func (s Server) Path() string {
	return "/servers"
}