Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct { Broker *broker.Broker APIClient APIClient NewLeader chan string NewClient chan string MyURL string // contains filtered or unexported fields }
Controller structure
func (*Controller) IsRegistered ¶ added in v0.3.0
func (c *Controller) IsRegistered() bool
func (*Controller) Run ¶
func (c *Controller) Run()
type RealAPIClient ¶ added in v0.4.0
func (*RealAPIClient) DoPOST ¶ added in v0.4.0
func (client *RealAPIClient) DoPOST(targetURL, body string) (err error)
Click to show internal directories.
Click to hide internal directories.