Documentation
¶
Index ¶
- Constants
- type Controller
- func (c *Controller) ApiKey() uuid.UUID
- func (c *Controller) Backend() backend.Backend
- func (c *Controller) BaseInfoResponse() *common.BaseInfoResponse
- func (c *Controller) Connect(ip string, keepAlive uint64)
- func (c *Controller) Disconnect()
- func (c *Controller) Ip() string
- func (c *Controller) NewRequest()
- func (c *Controller) StartBackend(ctx context.Context, backendType common.BackendType) error
- func (c *Controller) SystemStats() *common.SystemStatsResponse
- type Service
Constants ¶
View Source
const NodeVersion = "0.0.16"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *config.Config) *Controller
func (*Controller) ApiKey ¶
func (c *Controller) ApiKey() uuid.UUID
func (*Controller) Backend ¶
func (c *Controller) Backend() backend.Backend
func (*Controller) BaseInfoResponse ¶
func (c *Controller) BaseInfoResponse() *common.BaseInfoResponse
func (*Controller) Connect ¶
func (c *Controller) Connect(ip string, keepAlive uint64)
func (*Controller) Disconnect ¶
func (c *Controller) Disconnect()
func (*Controller) Ip ¶
func (c *Controller) Ip() string
func (*Controller) NewRequest ¶
func (c *Controller) NewRequest()
func (*Controller) StartBackend ¶
func (c *Controller) StartBackend(ctx context.Context, backendType common.BackendType) error
func (*Controller) SystemStats ¶
func (c *Controller) SystemStats() *common.SystemStatsResponse
Click to show internal directories.
Click to hide internal directories.