Documentation ¶
Index ¶
- func AddChannel(req entity.ChannelResponseData) (resp entity.Response)
- func AddHost(req entity.HostRequest) (resp entity.Response)
- func AddKeyword(req entity.KeywordRequest) (resp entity.Response)
- func AddScript(req entity.ScriptRequest) (resp entity.Response)
- func AddTask(req entity.AddTaskRequest) (resp entity.Response)
- func AddUser(req entity.UserRequest) (resp entity.Response)
- func DeleteHostByID(id uint) (resp entity.Response)
- func DeleteHostByIds(ids []uint) (resp entity.Response)
- func DeleteKeywordByID(id uint) (resp entity.Response)
- func DeleteKeywordByIds(ids []uint) (resp entity.Response)
- func DeleteScriptByID(id uint) (resp entity.Response)
- func DeleteScriptByIds(ids []uint) (resp entity.Response)
- func DeleteTaskByID(id uint) (resp entity.Response)
- func DeleteTaskByIds(ids []uint) (resp entity.Response)
- func DeleteUserByID(id uint) (resp entity.Response)
- func DeleteUserByIds(ids []uint) (resp entity.Response)
- func EditChannel(req entity.ChannelResponseData) (resp entity.Response)
- func EditHost(id uint, req entity.HostRequest) (resp entity.Response)
- func EditKeyword(id uint, req entity.KeywordRequest) (resp entity.Response)
- func EditScript(id uint, req entity.ScriptRequest) (resp entity.Response)
- func EditTask(id uint, req entity.AddTaskRequest) (resp entity.Response)
- func EditTaskStatusDisabled(id uint) (resp entity.Response)
- func EditTaskStatusEnabled(id uint) (resp entity.Response)
- func EditUser(id uint, req entity.UserRequest) (resp entity.Response)
- func EditUserStatusDisabled(id uint) (resp entity.Response)
- func EditUserStatusEnabled(id uint) (resp entity.Response)
- func GetChannels() (resp entity.Response)
- func GetHost(id uint) (resp entity.Response)
- func GetHosts(pageSize, page int, name string) (resp entity.ResponseData)
- func GetKeyword(id uint) (resp entity.Response)
- func GetKeywords(pageSize, page, track_code int, description string) (resp entity.ResponseData)
- func GetScript(id uint) (resp entity.Response)
- func GetScripts(name string, pageSize, page int) (resp entity.ResponseData)
- func GetTask(id uint) (resp entity.Response)
- func GetTasks(pageSize, page, task_type, task_status int, task_name string) (resp entity.ResponseData)
- func GetTracking(req []entity.TrackRequest) interface{}
- func GetUser(id uint) (resp entity.Response)
- func GetUsers(pageSize, page int, username string) (resp entity.ResponseData)
- func Login(req entity.LoginRequst) (resp entity.Response)
- func QueryAllScriptIDAndName() (resp entity.Response)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddChannel ¶
func AddChannel(req entity.ChannelResponseData) (resp entity.Response)
func AddKeyword ¶
func AddKeyword(req entity.KeywordRequest) (resp entity.Response)
func DeleteHostByID ¶
func DeleteHostByIds ¶
func DeleteKeywordByID ¶
func DeleteKeywordByIds ¶
func DeleteScriptByID ¶
func DeleteScriptByIds ¶
func DeleteTaskByID ¶
func DeleteTaskByIds ¶
func DeleteUserByID ¶
func DeleteUserByIds ¶
func EditChannel ¶
func EditChannel(req entity.ChannelResponseData) (resp entity.Response)
func EditKeyword ¶
func EditKeyword(id uint, req entity.KeywordRequest) (resp entity.Response)
func EditScript ¶
func EditScript(id uint, req entity.ScriptRequest) (resp entity.Response)
func EditTaskStatusDisabled ¶
func EditTaskStatusEnabled ¶
func EditUserStatusDisabled ¶
func EditUserStatusEnabled ¶
func GetChannels ¶
func GetKeyword ¶
func GetKeywords ¶
func GetKeywords(pageSize, page, track_code int, description string) (resp entity.ResponseData)
func GetScripts ¶
func GetScripts(name string, pageSize, page int) (resp entity.ResponseData)
func GetTasks ¶
func GetTasks(pageSize, page, task_type, task_status int, task_name string) (resp entity.ResponseData)
func GetTracking ¶
func GetTracking(req []entity.TrackRequest) interface{}
func QueryAllScriptIDAndName ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.