Documentation
¶
Overview ¶
Nebula Spinner server to maintain socket connections to Captains.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Run()
// Enter client into messenger system
Register()
// Quit the client
Quit()
}
Single client (Captain) connection
type Handler ¶
type Handler struct {
Requester *comms.Messenger
Register chan *comms.Instance
Unregister chan *comms.Instance
Request chan *Request
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler() *Handler
type Requester ¶
type Requester interface {
// Accept reading from the client
Run()
// Enter client into messenger system
Register()
// Quit the client
Quit()
}
Single container requestor interface
Click to show internal directories.
Click to hide internal directories.