Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx *cli.Context) (*Controller, error)
func NewWithDependencies ¶
func NewWithDependencies(ctx *cli.Context, listener, graphqlListener net.Listener, recorder metrics.MetricsRecorder, backend state.State, pub publisher.Publisher) (*Controller, error)
func (*Controller) Addr ¶
func (c *Controller) Addr() string
func (*Controller) Port ¶
func (c *Controller) Port() int
func (*Controller) Serve ¶
func (c *Controller) Serve() error
Serve starts the server and blocks until the server is closed, either explicitly via Shutdown, or due to a fault condition. It propagates the non-nil err return value from http.Serve.
type DaemonList ¶ added in v0.0.23
type DaemonList struct {
Daemons []DaemonWithFunds `json:"daemons"`
}
type DaemonWithFunds ¶ added in v0.0.28
type RegionList ¶ added in v0.0.23
type RegionList struct {
Regions []string `json:"regions"`
}
type TaskStatus ¶
Click to show internal directories.
Click to hide internal directories.