Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServerName string = "Tdtm" Version string = "v1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct { Id string `json:"id"` Name string `json:"name"` Version string `json:"version"` // examples: // http://127.0.0.1:8080 Nodes []string `json:"node"` }
func NewInstance ¶
func NewInstance() *Instance
func (*Instance) InstanceName ¶
Click to show internal directories.
Click to hide internal directories.