Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerManager ¶
type ServerManager struct {
// contains filtered or unexported fields
}
ServerManager manages the API server run by the daemon
func NewServerManager ¶
func NewServerManager(sp cscommon.IConstellationServiceProvider, ip string, port uint16, stopWg *sync.WaitGroup, authMgr *auth.AuthorizationManager) (*ServerManager, error)
Creates a new server manager
func (*ServerManager) GetPort ¶
func (m *ServerManager) GetPort() uint16
Returns the port the server is running on
Click to show internal directories.
Click to hide internal directories.