agent

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2019 License: MIT Imports: 19 Imported by: 1

README

Agent API

  • GET /api/agent - 获取Agent配置
  • GET /api/agent/pull - 拉取Agent事件(长连接)
  • PUT /api/agent/push - 推送Agent事件

认证

Tea-Agent-Id: KwOe0dkxtyKHzMRC
Tea-Agent-Key: ZtJUYdjO6enUwHwx9TyczhrqAHoO2FBv

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
}

func (*Helper) BeforeAction

func (this *Helper) BeforeAction(action actions.ActionObject) bool

type IndexAction

type IndexAction actions.Action

func (*IndexAction) Run

func (this *IndexAction) Run(params struct{})

Agent配置

type PullAction

type PullAction actions.Action

func (*PullAction) Run

func (this *PullAction) Run(params struct{})

拉取事件

type PushAction

type PushAction actions.Action

func (*PushAction) Run

func (this *PushAction) Run(params struct{})

接收推送的数据

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL