Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerInfo ¶
type ServerInfo struct { Name string `json:"name"` Host string `json:"host"` ID string `json:"id"` Cluster string `json:"cluster,omitempty"` Domain string `json:"domain,omitempty"` Version string `json:"ver"` Tags []string `json:"tags,omitempty"` Seq uint64 `json:"seq"` JetStream bool `json:"jetstream"` Time time.Time `json:"time"` }
ServerInfo is a copy of nats-server's ServerInfo struct, see:
type UpdateResponse ¶
type UpdateResponse struct { Server ServerInfo `json:"server"` Error *ErrorInfo `json:"error,omitempty"` Data UpdateResponseData `json:"data,omitempty"` }
UpdateResponse is the response payload from the $SYS.REQ.CLAIMS.UPDATE request. Error and Data are mutually exclusive.
type UpdateResponseData ¶
Click to show internal directories.
Click to hide internal directories.