Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotFound = fmt.Errorf("not found")
View Source
var NotStarted = fmt.Errorf("not started")
View Source
var Stopped = fmt.Errorf("stopped")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Config Config // contains filtered or unexported fields }
func (*Client) GetServiceState ¶
func (client *Client) GetServiceState(name string) (result ServiceState)
func (*Client) SetServices ¶
func (client *Client) SetServices(services map[string]ServiceConfig)
type ServiceConfig ¶
type ServiceConfig struct {
Address string
}
type ServiceState ¶
Click to show internal directories.
Click to hide internal directories.