Documentation ¶
Index ¶
- func String2Uint32(s string) (uint32, error)
- type PostLoad
- type SspController
- func (sspCtl *SspController) GetNodeInfo(closeTLS bool) (err error)
- func (sspCtl *SspController) GetNowInfo() (nodeInfo *structures.NodeInfo)
- func (sspCtl *SspController) GetUser() (userList *[]structures.UserInfo, err error)
- func (sspCtl *SspController) Init(cfg *structures.BaseConfig, idIndex uint32) (err error)
- func (sspCtl *SspController) PostAliveIP(baseCfg *structures.BaseConfig, userIP *[]structures.UserIP) (err error)
- func (sspCtl *SspController) PostSysLoad(load *structures.SysLoad) (err error)
- func (sspCtl *SspController) PostTraffic(trafficData *[]structures.UserTraffic) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func String2Uint32 ¶
Types ¶
type SspController ¶ added in v0.4.0
type SspController struct { URL string Key string NodeInfo *structures.NodeInfo }
func (*SspController) GetNodeInfo ¶ added in v0.4.0
func (sspCtl *SspController) GetNodeInfo(closeTLS bool) (err error)
func (*SspController) GetNowInfo ¶ added in v0.4.0
func (sspCtl *SspController) GetNowInfo() (nodeInfo *structures.NodeInfo)
func (*SspController) GetUser ¶ added in v0.4.0
func (sspCtl *SspController) GetUser() (userList *[]structures.UserInfo, err error)
func (*SspController) Init ¶ added in v0.4.0
func (sspCtl *SspController) Init(cfg *structures.BaseConfig, idIndex uint32) (err error)
func (*SspController) PostAliveIP ¶ added in v0.4.0
func (sspCtl *SspController) PostAliveIP(baseCfg *structures.BaseConfig, userIP *[]structures.UserIP) (err error)
func (*SspController) PostSysLoad ¶ added in v0.4.0
func (sspCtl *SspController) PostSysLoad(load *structures.SysLoad) (err error)
func (*SspController) PostTraffic ¶ added in v0.4.0
func (sspCtl *SspController) PostTraffic(trafficData *[]structures.UserTraffic) (err error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.