Documentation ¶
Index ¶
- func AgentRegister(req request.AgentRegisterReq) (AgentId int, err error)
- func GET(url string, body interface{}) *gorequest.SuperAgent
- func GetLocalIps() string
- func NewRequest() *gorequest.SuperAgent
- func POST(url string, body interface{}) *gorequest.SuperAgent
- func Profiles(req request.HookRuleReq)
- func ReportUpload(req request.UploadReq)
- func SecPointGet(url string, body interface{}) *gorequest.SuperAgent
- func SecPointPost(url string, body interface{}) *gorequest.SuperAgent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentRegister ¶
func AgentRegister(req request.AgentRegisterReq) (AgentId int, err error)
AgentRegister Agent 启动时,向 Server 端注册的接口 req: api.AgentRegisterReq
func GET ¶
func GET(url string, body interface{}) *gorequest.SuperAgent
GET 统一的GET前置处理 url 请求api token 身份标识
func POST ¶
func POST(url string, body interface{}) *gorequest.SuperAgent
POST 统一的POST前置处理 url 请求api token 身份标识
func ReportUpload ¶
func SecPointGet ¶
func SecPointGet(url string, body interface{}) *gorequest.SuperAgent
func SecPointPost ¶
func SecPointPost(url string, body interface{}) *gorequest.SuperAgent
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.