Documentation ¶
Index ¶
- Variables
- func AbortServers(sbc *SbContext) (err error)
- func AttachRouterToServer(router mux.Router, serName string, sbc *SbContext) (err error)
- func InitializeServers(sbc *SbContext) (err error)
- func InitializeState(uuid string, host string, state *State) error
- func InitializeStatistics(uuid string, host string, stats *Statistics) error
- func RunServers(sbc *SbContext) error
- func ShutDownServers(sbc *SbContext) error
- func ShutDownState(state *State) error
- func ShutDownStatistics(stats *Statistics) error
- type SbContext
- type Server
- type ServerConfigurations
- type ServerHttp
- func (s *ServerHttp) AbortServerInstance() error
- func (s *ServerHttp) AttachRouterServerInstance(router mux.Router) error
- func (s *ServerHttp) InitializeServerInstance(sc ServerConfigurations) (err error)
- func (s *ServerHttp) RunServerInstance() error
- func (s *ServerHttp) ShutDownServerInstance() error
- type ServerType
- type State
- type Statistics
Constants ¶
This section is empty.
Variables ¶
View Source
var Log common.Logger
Functions ¶
func AbortServers ¶
func AttachRouterToServer ¶
func InitializeServers ¶
func InitializeStatistics ¶
func InitializeStatistics(uuid string, host string, stats *Statistics) error
func RunServers ¶
func ShutDownServers ¶
func ShutDownState ¶
func ShutDownStatistics ¶
func ShutDownStatistics(stats *Statistics) error
Types ¶
type ServerConfigurations ¶
type ServerConfigurations struct {
Http httpConfigurations
}
type ServerHttp ¶
type ServerHttp struct {
// contains filtered or unexported fields
}
func (*ServerHttp) AbortServerInstance ¶
func (s *ServerHttp) AbortServerInstance() error
func (*ServerHttp) AttachRouterServerInstance ¶
func (s *ServerHttp) AttachRouterServerInstance(router mux.Router) error
func (*ServerHttp) InitializeServerInstance ¶
func (s *ServerHttp) InitializeServerInstance(sc ServerConfigurations) (err error)
func (*ServerHttp) RunServerInstance ¶
func (s *ServerHttp) RunServerInstance() error
func (*ServerHttp) ShutDownServerInstance ¶
func (s *ServerHttp) ShutDownServerInstance() error
type ServerType ¶
type ServerType uint8
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) RegisterForState ¶
func (*State) ReportState ¶
type Statistics ¶
type Statistics struct {
// contains filtered or unexported fields
}
func (*Statistics) RegisterForStats ¶
func (s *Statistics) RegisterForStats() error
Click to show internal directories.
Click to hide internal directories.