services

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddChannel

func AddChannel(req entity.ChannelResponseData) (resp entity.Response)

func AddHost

func AddHost(req entity.HostRequest) (resp entity.Response)

func AddKeyword

func AddKeyword(req entity.KeywordRequest) (resp entity.Response)

func AddScript

func AddScript(req entity.ScriptRequest) (resp entity.Response)

func AddTask

func AddTask(req entity.AddTaskRequest) (resp entity.Response)

func AddUser

func AddUser(req entity.UserRequest) (resp entity.Response)

func DeleteHostByID

func DeleteHostByID(id uint) (resp entity.Response)

func DeleteHostByIds

func DeleteHostByIds(ids []uint) (resp entity.Response)

func DeleteKeywordByID

func DeleteKeywordByID(id uint) (resp entity.Response)

func DeleteKeywordByIds

func DeleteKeywordByIds(ids []uint) (resp entity.Response)

func DeleteScriptByID

func DeleteScriptByID(id uint) (resp entity.Response)

func DeleteScriptByIds

func DeleteScriptByIds(ids []uint) (resp entity.Response)

func DeleteTaskByID

func DeleteTaskByID(id uint) (resp entity.Response)

func DeleteTaskByIds

func DeleteTaskByIds(ids []uint) (resp entity.Response)

func DeleteUserByID

func DeleteUserByID(id uint) (resp entity.Response)

func DeleteUserByIds

func DeleteUserByIds(ids []uint) (resp entity.Response)

func EditChannel

func EditChannel(req entity.ChannelResponseData) (resp entity.Response)

func EditHost

func EditHost(id uint, req entity.HostRequest) (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 EditTask

func EditTask(id uint, req entity.AddTaskRequest) (resp entity.Response)

func EditTaskStatusDisabled

func EditTaskStatusDisabled(id uint) (resp entity.Response)

func EditTaskStatusEnabled

func EditTaskStatusEnabled(id uint) (resp entity.Response)

func EditUser

func EditUser(id uint, req entity.UserRequest) (resp entity.Response)

func EditUserStatusDisabled

func EditUserStatusDisabled(id uint) (resp entity.Response)

func EditUserStatusEnabled

func EditUserStatusEnabled(id uint) (resp entity.Response)

func GetChannels

func GetChannels() (resp entity.Response)

func GetHost

func GetHost(id uint) (resp entity.Response)

func GetHosts

func GetHosts(pageSize, page int, name string) (resp entity.ResponseData)

func GetKeyword

func GetKeyword(id uint) (resp entity.Response)

func GetKeywords

func GetKeywords(pageSize, page, track_code int, description string) (resp entity.ResponseData)

func GetScript

func GetScript(id uint) (resp entity.Response)

func GetScripts

func GetScripts(name string, pageSize, page int) (resp entity.ResponseData)

func GetTask

func GetTask(id uint) (resp entity.Response)

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 GetUser

func GetUser(id uint) (resp entity.Response)

func GetUsers

func GetUsers(pageSize, page int, username string) (resp entity.ResponseData)

func Login

func Login(req entity.LoginRequst) (resp entity.Response)

登录

func QueryAllScriptIDAndName

func QueryAllScriptIDAndName() (resp entity.Response)

Types

This section is empty.

Jump to

Keyboard shortcuts

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