Documentation ¶
Index ¶
- type DjSspController
- func (sspCtl *DjSspController) GetNodeInfo(closeTLS bool) (err error)
- func (sspCtl *DjSspController) GetNowInfo() (nodeInfo *structures.NodeInfo)
- func (sspCtl *DjSspController) GetUser() (userList *[]structures.UserInfo, err error)
- func (djsspCtl *DjSspController) Init(cfg *structures.BaseConfig, idIndex uint32) (err error)
- func (sspCtl *DjSspController) PostAliveIP(baseCfg *structures.BaseConfig, userIP *[]structures.UserIP) (err error)
- func (sspCtl *DjSspController) PostSysLoad(load *structures.SysLoad) (err error)
- func (sspCtl *DjSspController) PostTraffic(trafficData *[]structures.UserTraffic) (err error)
- type SSUserTraffic
- type SSsyncReq
- type UserTraffic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DjSspController ¶
type DjSspController struct { URL string Key string NodeInfo *structures.NodeInfo }
func (*DjSspController) GetNodeInfo ¶
func (sspCtl *DjSspController) GetNodeInfo(closeTLS bool) (err error)
func (*DjSspController) GetNowInfo ¶
func (sspCtl *DjSspController) GetNowInfo() (nodeInfo *structures.NodeInfo)
func (*DjSspController) GetUser ¶
func (sspCtl *DjSspController) GetUser() (userList *[]structures.UserInfo, err error)
func (*DjSspController) Init ¶
func (djsspCtl *DjSspController) Init(cfg *structures.BaseConfig, idIndex uint32) (err error)
func (*DjSspController) PostAliveIP ¶
func (sspCtl *DjSspController) PostAliveIP(baseCfg *structures.BaseConfig, userIP *[]structures.UserIP) (err error)
func (*DjSspController) PostSysLoad ¶
func (sspCtl *DjSspController) PostSysLoad(load *structures.SysLoad) (err error)
func (*DjSspController) PostTraffic ¶
func (sspCtl *DjSspController) PostTraffic(trafficData *[]structures.UserTraffic) (err error)
type SSUserTraffic ¶
type SSsyncReq ¶
type SSsyncReq struct {
UserTraffics *[]SSUserTraffic `json:"data"`
}
type UserTraffic ¶
Click to show internal directories.
Click to hide internal directories.