Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface {
Started() bool
Version() string
Logs() chan string
Restart() error
Shutdown()
SyncUser(context.Context, *common.User) error
SyncUsers(context.Context, []*common.User) error
UpdateUsers(context.Context, []*common.User) error
UpdateUsersAndRestart(context.Context, []*common.User) error
GetSysStats(context.Context) (*common.BackendStatsResponse, error)
GetStats(context.Context, *common.StatRequest) (*common.StatResponse, error)
GetUserOnlineStats(context.Context, string) (*common.OnlineStatResponse, error)
GetUserOnlineIpListStats(context.Context, string) (*common.StatsOnlineIpListResponse, error)
}
Click to show internal directories.
Click to hide internal directories.