Documentation
¶
Index ¶
- Variables
- func Run(route ...string)
- type Apis
- func (req *Apis) ChkToken() error
- func (this *Apis) ServeHTTP(w http.ResponseWriter, req *http.Request)
- func (req *Apis) ToBool(val interface{}, def ...bool) (rval bool, err error)
- func (req *Apis) ToInt(val interface{}, def ...int) (rval int, err error)
- func (req *Apis) ToInt32(val interface{}, def ...int32) (rval int32, err error)
- func (req *Apis) ToString(val interface{}, def ...string) (str string)
- type AppName
- func (this *AppName) AddAppName(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *AppName) AppNameList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *AppName) DelAppName(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *AppName) EditAppName(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *AppName) InfoAppName(r *http.Request, args *map[string]interface{}, response *Response) error
- type Device
- func (this *Device) AutoDiscoveryDevice(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Device) DelIdsDevice(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Device) DeviceList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Device) DeviceNativeGroupList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Device) RestoreIdsDevice(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Device) SaveOneDevice(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Device) SynchroDeviceids(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Device) UpDevice(r *http.Request, args *map[string]interface{}, response *Response) error
- type DeviceGroup
- func (this *DeviceGroup) AddDeviceGroup(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroup) AddDeviceOnGroup(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroup) DelDeviceGroup(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroup) DelTrueDeviceGroup(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroup) EditDeviceGroup(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroup) GetDeviceGroupTypeList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroup) GetGroupGroupList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroup) GetGroupTypeList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroup) GroupList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroup) RemoveDeviceOnGroup(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroup) RestoreDeviceGroup(r *http.Request, args *map[string]interface{}, response *Response) error
- type DeviceGroupGroup
- func (this *DeviceGroupGroup) AddGroupTypes(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroupGroup) DelGroupTypes(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroupGroup) EditGroupTypes(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *DeviceGroupGroup) GetGroupTypes(r *http.Request, args *map[string]interface{}, response *Response) error
- type EventDevice
- func (this *EventDevice) AddEventDevice(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventDevice) DelEventDevice(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventDevice) EventDeviceList(r *http.Request, args *map[string]interface{}, response *Response) error
- type EventLevel
- func (this *EventLevel) AddEventLevel(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventLevel) DelEventLevel(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventLevel) EditEventLevel(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventLevel) EventLevelList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventLevel) InfoEventLevel(r *http.Request, args *map[string]interface{}, response *Response) error
- type EventPush
- func (this *EventPush) AddEventPush(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventPush) DelEventPush(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventPush) EventPushList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventPush) UpEventPush(r *http.Request, args *map[string]interface{}, response *Response) error
- type EventRule
- func (this *EventRule) AddOneEventRule(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventRule) DelEventRule(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventRule) EventRuleChageSort(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventRule) InfoEventRule(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventRule) RuleList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *EventRule) UpEventRuleInfo(r *http.Request, args *map[string]interface{}, response *Response) error
- type Public
- func (this *Public) LeftNavTree(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Public) LogOut(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Public) Login(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Public) RpcServerList(r *http.Request, args *map[string]interface{}, response *Response) error
- type Response
- type Search
- func (this *Search) AddAutocomplete(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Search) Autocomplete(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Search) DataSource(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Search) IncrementAutocomplete(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Search) ZqlQueryV1(r *http.Request, args *map[string]interface{}, response *Response) error
- type Setings
- func (this *Setings) AddSetingEvent(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Setings) ChangeEnable(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Setings) DelSetingsEvent(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Setings) EventList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Setings) InfoSetingsEvent(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Setings) SynchroConfigure(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Setings) UpSetingEvent(r *http.Request, args *map[string]interface{}, response *Response) error
- type SetingsTemplate
- func (this *SetingsTemplate) AddSetingsTemplate(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *SetingsTemplate) GetAllSetingsTemplate(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *SetingsTemplate) InfoTemplate(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *SetingsTemplate) UpSetingsTemplate(r *http.Request, args *map[string]interface{}, response *Response) error
- type System
- func (this *System) AddSystemUnitConversion(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *System) DelSystemUnitConversion(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *System) EditSystemUnitConversion(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *System) SystemUnitConversionList(r *http.Request, args *map[string]interface{}, response *Response) error
- type Topics
- func (this *Topics) AddTopics(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Topics) ChangeEnable(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Topics) DelTopics(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Topics) InfoTopics(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Topics) NsqTopics(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Topics) RestartServerd(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Topics) TopicsList(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *Topics) UpTopics(r *http.Request, args *map[string]interface{}, response *Response) error
- type TopicsRule
- func (this *TopicsRule) AddTopicsRule(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *TopicsRule) ChangeEnable(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *TopicsRule) DelTopicsRule(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *TopicsRule) EditTopicsRuleInfo(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *TopicsRule) IdTopicsRules(r *http.Request, args *map[string]interface{}, response *Response) error
- func (this *TopicsRule) UpTopicsRule(r *http.Request, args *map[string]interface{}, response *Response) error
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var RpcServer *rpc.Server
Functions ¶
Types ¶
type Apis ¶
type Apis struct {
// contains filtered or unexported fields
}
type AppName ¶
type AppName struct {
Apis
}
func (*AppName) AddAppName ¶
func (this *AppName) AddAppName(r *http.Request, args *map[string]interface{}, response *Response) error
添加appname字段配置
func (*AppName) AppNameList ¶
func (this *AppName) AppNameList(r *http.Request, args *map[string]interface{}, response *Response) error
appname 列表
func (*AppName) DelAppName ¶
func (this *AppName) DelAppName(r *http.Request, args *map[string]interface{}, response *Response) error
删除
type Device ¶
type Device struct {
Apis
}
func (*Device) AutoDiscoveryDevice ¶
func (this *Device) AutoDiscoveryDevice(r *http.Request, args *map[string]interface{}, response *Response) error
AutoDiscoveryDevice 设备发现页面
func (*Device) DelIdsDevice ¶
func (this *Device) DelIdsDevice(r *http.Request, args *map[string]interface{}, response *Response) error
删除设备
func (*Device) DeviceList ¶
func (this *Device) DeviceList(r *http.Request, args *map[string]interface{}, response *Response) error
ajax获取设备列表
func (*Device) DeviceNativeGroupList ¶
func (this *Device) DeviceNativeGroupList(r *http.Request, args *map[string]interface{}, response *Response) error
数据上传分组列表
func (*Device) RestoreIdsDevice ¶
func (this *Device) RestoreIdsDevice(r *http.Request, args *map[string]interface{}, response *Response) error
还原删除的设备
func (*Device) SaveOneDevice ¶
type DeviceGroup ¶
type DeviceGroup struct {
Apis
}
func (*DeviceGroup) AddDeviceGroup ¶
func (this *DeviceGroup) AddDeviceGroup(r *http.Request, args *map[string]interface{}, response *Response) error
添加
func (*DeviceGroup) AddDeviceOnGroup ¶
func (this *DeviceGroup) AddDeviceOnGroup(r *http.Request, args *map[string]interface{}, response *Response) error
添加设备到分组
func (*DeviceGroup) DelDeviceGroup ¶
func (this *DeviceGroup) DelDeviceGroup(r *http.Request, args *map[string]interface{}, response *Response) error
删除
func (*DeviceGroup) DelTrueDeviceGroup ¶
func (this *DeviceGroup) DelTrueDeviceGroup(r *http.Request, args *map[string]interface{}, response *Response) error
真实删除
func (*DeviceGroup) EditDeviceGroup ¶
func (this *DeviceGroup) EditDeviceGroup(r *http.Request, args *map[string]interface{}, response *Response) error
编辑
func (*DeviceGroup) GetDeviceGroupTypeList ¶
func (this *DeviceGroup) GetDeviceGroupTypeList(r *http.Request, args *map[string]interface{}, response *Response) error
设备设备分组
func (*DeviceGroup) GetGroupGroupList ¶
func (this *DeviceGroup) GetGroupGroupList(r *http.Request, args *map[string]interface{}, response *Response) error
获取分组的分组
func (*DeviceGroup) GetGroupTypeList ¶
func (this *DeviceGroup) GetGroupTypeList(r *http.Request, args *map[string]interface{}, response *Response) error
根据type查询父id列表
func (*DeviceGroup) GroupList ¶
func (this *DeviceGroup) GroupList(r *http.Request, args *map[string]interface{}, response *Response) error
ajax获取设备分组列表
func (*DeviceGroup) RemoveDeviceOnGroup ¶
func (this *DeviceGroup) RemoveDeviceOnGroup(r *http.Request, args *map[string]interface{}, response *Response) error
移除设备在某个分组
func (*DeviceGroup) RestoreDeviceGroup ¶
func (this *DeviceGroup) RestoreDeviceGroup(r *http.Request, args *map[string]interface{}, response *Response) error
还原删除
type DeviceGroupGroup ¶
type DeviceGroupGroup struct {
Apis
}
func (*DeviceGroupGroup) AddGroupTypes ¶
func (this *DeviceGroupGroup) AddGroupTypes(r *http.Request, args *map[string]interface{}, response *Response) error
添加
func (*DeviceGroupGroup) DelGroupTypes ¶
func (this *DeviceGroupGroup) DelGroupTypes(r *http.Request, args *map[string]interface{}, response *Response) error
删除
func (*DeviceGroupGroup) EditGroupTypes ¶
func (this *DeviceGroupGroup) EditGroupTypes(r *http.Request, args *map[string]interface{}, response *Response) error
编辑
func (*DeviceGroupGroup) GetGroupTypes ¶
type EventDevice ¶
type EventDevice struct {
Apis
}
func (*EventDevice) AddEventDevice ¶
func (this *EventDevice) AddEventDevice(r *http.Request, args *map[string]interface{}, response *Response) error
添加设备到告警
func (*EventDevice) DelEventDevice ¶
func (this *EventDevice) DelEventDevice(r *http.Request, args *map[string]interface{}, response *Response) error
删除
func (*EventDevice) EventDeviceList ¶
func (this *EventDevice) EventDeviceList(r *http.Request, args *map[string]interface{}, response *Response) error
告警设备列表
type EventLevel ¶
type EventLevel struct {
Apis
}
func (*EventLevel) AddEventLevel ¶
func (this *EventLevel) AddEventLevel(r *http.Request, args *map[string]interface{}, response *Response) error
添加
func (*EventLevel) DelEventLevel ¶
func (this *EventLevel) DelEventLevel(r *http.Request, args *map[string]interface{}, response *Response) error
删除
func (*EventLevel) EditEventLevel ¶
func (this *EventLevel) EditEventLevel(r *http.Request, args *map[string]interface{}, response *Response) error
编辑
func (*EventLevel) EventLevelList ¶
func (this *EventLevel) EventLevelList(r *http.Request, args *map[string]interface{}, response *Response) error
级别列表
func (*EventLevel) InfoEventLevel ¶
func (this *EventLevel) InfoEventLevel(r *http.Request, args *map[string]interface{}, response *Response) error
获取信息
type EventPush ¶
type EventPush struct {
Apis
}
func (*EventPush) AddEventPush ¶
func (this *EventPush) AddEventPush(r *http.Request, args *map[string]interface{}, response *Response) error
AjaxAddEventPush 添加
func (*EventPush) DelEventPush ¶
func (this *EventPush) DelEventPush(r *http.Request, args *map[string]interface{}, response *Response) error
删除
type EventRule ¶
type EventRule struct {
Apis
}
func (*EventRule) AddOneEventRule ¶
func (this *EventRule) AddOneEventRule(r *http.Request, args *map[string]interface{}, response *Response) error
添加告警规则
func (*EventRule) DelEventRule ¶
func (this *EventRule) DelEventRule(r *http.Request, args *map[string]interface{}, response *Response) error
删除
func (*EventRule) EventRuleChageSort ¶
func (this *EventRule) EventRuleChageSort(r *http.Request, args *map[string]interface{}, response *Response) error
调整排序
func (*EventRule) InfoEventRule ¶
func (this *EventRule) InfoEventRule(r *http.Request, args *map[string]interface{}, response *Response) error
获取信息
type Public ¶
type Public struct {
Apis
}
func (*Public) LeftNavTree ¶
func (this *Public) LeftNavTree(r *http.Request, args *map[string]interface{}, response *Response) error
递归菜单
type Search ¶
type Search struct {
Apis
}
func (*Search) AddAutocomplete ¶
func (this *Search) AddAutocomplete(r *http.Request, args *map[string]interface{}, response *Response) error
添加搜索zql
func (*Search) Autocomplete ¶
func (this *Search) Autocomplete(r *http.Request, args *map[string]interface{}, response *Response) error
当前可用数据源
func (*Search) DataSource ¶
func (this *Search) DataSource(r *http.Request, args *map[string]interface{}, response *Response) error
当前可用数据源
type Setings ¶
type Setings struct {
Apis
}
func (*Setings) AddSetingEvent ¶
func (this *Setings) AddSetingEvent(r *http.Request, args *map[string]interface{}, response *Response) error
添加告警配置
func (*Setings) ChangeEnable ¶
func (this *Setings) ChangeEnable(r *http.Request, args *map[string]interface{}, response *Response) error
修改启用状态
func (*Setings) DelSetingsEvent ¶
func (this *Setings) DelSetingsEvent(r *http.Request, args *map[string]interface{}, response *Response) error
删除告警设置
func (*Setings) EventList ¶
func (this *Setings) EventList(r *http.Request, args *map[string]interface{}, response *Response) error
告警列表
func (*Setings) InfoSetingsEvent ¶
func (this *Setings) InfoSetingsEvent(r *http.Request, args *map[string]interface{}, response *Response) error
获取单条消息
type SetingsTemplate ¶
type SetingsTemplate struct {
Apis
}
func (*SetingsTemplate) AddSetingsTemplate ¶
func (this *SetingsTemplate) AddSetingsTemplate(r *http.Request, args *map[string]interface{}, response *Response) error
添加
func (*SetingsTemplate) GetAllSetingsTemplate ¶
func (this *SetingsTemplate) GetAllSetingsTemplate(r *http.Request, args *map[string]interface{}, response *Response) error
获取模版列表-全部
func (*SetingsTemplate) InfoTemplate ¶
func (this *SetingsTemplate) InfoTemplate(r *http.Request, args *map[string]interface{}, response *Response) error
获取模板信息
func (*SetingsTemplate) UpSetingsTemplate ¶
func (this *SetingsTemplate) UpSetingsTemplate(r *http.Request, args *map[string]interface{}, response *Response) error
编辑
type System ¶
type System struct {
Apis
}
func (*System) AddSystemUnitConversion ¶
func (this *System) AddSystemUnitConversion(r *http.Request, args *map[string]interface{}, response *Response) error
添加
func (*System) DelSystemUnitConversion ¶
func (this *System) DelSystemUnitConversion(r *http.Request, args *map[string]interface{}, response *Response) error
删除
type Topics ¶
type Topics struct {
Apis
}
话题设置
func (*Topics) AddTopics ¶
func (this *Topics) AddTopics(r *http.Request, args *map[string]interface{}, response *Response) error
新增话题
func (*Topics) ChangeEnable ¶
func (this *Topics) ChangeEnable(r *http.Request, args *map[string]interface{}, response *Response) error
修改话题状态
func (*Topics) DelTopics ¶
func (this *Topics) DelTopics(r *http.Request, args *map[string]interface{}, response *Response) error
删除
func (*Topics) InfoTopics ¶
func (this *Topics) InfoTopics(r *http.Request, args *map[string]interface{}, response *Response) error
获取单挑消息
func (*Topics) NsqTopics ¶
func (this *Topics) NsqTopics(r *http.Request, args *map[string]interface{}, response *Response) error
nsq所有话题列表(调用nsq接口)
func (*Topics) RestartServerd ¶
func (this *Topics) RestartServerd(r *http.Request, args *map[string]interface{}, response *Response) error
重启serverd服务
type TopicsRule ¶
type TopicsRule struct {
Apis
}
话题设置
func (*TopicsRule) AddTopicsRule ¶
func (this *TopicsRule) AddTopicsRule(r *http.Request, args *map[string]interface{}, response *Response) error
添加解析规则
func (*TopicsRule) ChangeEnable ¶
func (this *TopicsRule) ChangeEnable(r *http.Request, args *map[string]interface{}, response *Response) error
修改状态
func (*TopicsRule) DelTopicsRule ¶
func (this *TopicsRule) DelTopicsRule(r *http.Request, args *map[string]interface{}, response *Response) error
删除
func (*TopicsRule) EditTopicsRuleInfo ¶
func (this *TopicsRule) EditTopicsRuleInfo(r *http.Request, args *map[string]interface{}, response *Response) error
编辑
func (*TopicsRule) IdTopicsRules ¶
func (this *TopicsRule) IdTopicsRules(r *http.Request, args *map[string]interface{}, response *Response) error
获取规则列表
func (*TopicsRule) UpTopicsRule ¶
func (this *TopicsRule) UpTopicsRule(r *http.Request, args *map[string]interface{}, response *Response) error
保存修改
Click to show internal directories.
Click to hide internal directories.