Documentation ¶
Index ¶
- func Start()
- type GetItemResponse
- type SendResultReq
- type StrategyResponse
- type UsersResponse
- type Web
- func (this *Web) GetItem(hostname string, resp *GetItemResponse) error
- func (this *Web) GetStrategies(req interface{}, resp *StrategyResponse) error
- func (this *Web) GetUsersByTeam(req string, reply *UsersResponse) error
- func (this *Web) Ping(req interface{}, reply *string) error
- func (this *Web) SaveEvent(event *model.Event, reply *string) error
- func (this *Web) SendResult(req SendResultReq, reply *string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetItemResponse ¶
type GetItemResponse struct { Message string Data []*g.DetectedItem }
type SendResultReq ¶
type SendResultReq struct { Hostname string CheckResults []*g.CheckResult }
type StrategyResponse ¶
type UsersResponse ¶
type Web ¶
type Web int
func (*Web) GetStrategies ¶
func (this *Web) GetStrategies(req interface{}, resp *StrategyResponse) error
func (*Web) GetUsersByTeam ¶
func (this *Web) GetUsersByTeam(req string, reply *UsersResponse) error
func (*Web) SendResult ¶
func (this *Web) SendResult(req SendResultReq, reply *string) error
Click to show internal directories.
Click to hide internal directories.