Documentation ¶
Index ¶
- Constants
- func BotCreateBatch(ctx echo.Context) error
- func BotList(ctx echo.Context) error
- func BotRun(ctx echo.Context) error
- func ConfigGetGlobalInfo(ctx echo.Context) error
- func ConfigGetSysInfo(ctx echo.Context) error
- func ConfigSetGlobalInfo(ctx echo.Context) error
- func ConfigSetSysInfo(ctx echo.Context) error
- func DebugCreate(ctx echo.Context) error
- func DebugStep(ctx echo.Context) error
- func FileBlobUpload(ctx echo.Context) error
- func FileGetBlob(ctx echo.Context) error
- func FileGetList(ctx echo.Context) error
- func FileRemove(ctx echo.Context) error
- func FileSetTags(ctx echo.Context) error
- func FileTextUpload(ctx echo.Context) error
- func GetReport(ctx echo.Context) error
- func PrefabGetInfo(ctx echo.Context) error
- func PrefabList(ctx echo.Context) error
- func PrefabRmv(ctx echo.Context) error
- func PrefabSetTags(ctx echo.Context) error
- func PrefabUpload(ctx echo.Context) error
- func ReqPrint() echo.MiddlewareFunc
- func Route(e *echo.Echo)
- func Start(port int) *echo.Echo
- type BotBatchCreateRequest
- type BotBatchCreateResponse
- type BotListResponse
- type BotRunRequest
- type BotRunResponse
- type ConfigGetSysInfoRes
- type ConfigRemoveReq
- type ConfigSetSysInfoReq
- type ConfigSetSysInfoRes
- type CreateDebugBotResponse
- type Err
- type FileListRes
- type FileRemoveReq
- type FileRemoveRes
- type FindBehaviorReq
- type PrefabListReq
- type PrefabListRes
- type PrefabRmvReq
- type PrefabSetTagsReq
- type ReportRes
- type SetBehaviorTagsReq
- type SetBehaviorTagsRes
- type StepRequest
- type StepResponse
Constants ¶
View Source
const ( Succ Err = 200 Fail Err = 1000 ErrContentRead = 1000 + iota ErrWrongInput ErrJsonUnmarshal ErrJsonInvalid ErrPluginLoad ErrEnd ErrBreak ErrCantFindBot ErrCreateBot ErrEmptyBatch ErrTagsFormat ErrRunningErr ErrUploadConfig ErrGetConfig )
Variables ¶
This section is empty.
Functions ¶
func BotCreateBatch ¶
func BotCreateBatch(ctx echo.Context) error
func ConfigGetGlobalInfo ¶
func ConfigGetGlobalInfo(ctx echo.Context) error
func ConfigGetSysInfo ¶
func ConfigGetSysInfo(ctx echo.Context) error
func ConfigSetGlobalInfo ¶
func ConfigSetGlobalInfo(ctx echo.Context) error
func ConfigSetSysInfo ¶
func ConfigSetSysInfo(ctx echo.Context) error
func DebugCreate ¶
func DebugCreate(ctx echo.Context) error
func FileBlobUpload ¶
func FileBlobUpload(ctx echo.Context) error
func FileGetBlob ¶
func FileGetBlob(ctx echo.Context) error
func FileGetList ¶
func FileGetList(ctx echo.Context) error
func FileRemove ¶
func FileRemove(ctx echo.Context) error
func FileSetTags ¶
func FileSetTags(ctx echo.Context) error
func FileTextUpload ¶
func FileTextUpload(ctx echo.Context) error
func PrefabGetInfo ¶
func PrefabGetInfo(ctx echo.Context) error
func PrefabList ¶
func PrefabList(ctx echo.Context) error
func PrefabSetTags ¶
func PrefabSetTags(ctx echo.Context) error
func PrefabUpload ¶
func PrefabUpload(ctx echo.Context) error
Types ¶
type BotBatchCreateResponse ¶
type BotBatchCreateResponse struct { }
type BotRunResponse ¶
type BotRunResponse struct { }
type ConfigGetSysInfoRes ¶
config.sys.info
type ConfigRemoveReq ¶
type ConfigRemoveReq struct {
Name string
}
type ConfigSetSysInfoReq ¶
config.sys.set
type ConfigSetSysInfoRes ¶
type CreateDebugBotResponse ¶
debug.create
type FileRemoveRes ¶
type FileRemoveRes struct {
Bots []behaviorInfo
}
type PrefabListRes ¶
type PrefabListRes struct {
Lst []prefabInfo
}
type PrefabSetTagsReq ¶
prefab.setTags
type ReportRes ¶
type ReportRes struct {
Info []database.ReportTable
}
type SetBehaviorTagsReq ¶
file.setTags
type SetBehaviorTagsRes ¶
type SetBehaviorTagsRes struct {
Bots []behaviorInfo
}
type StepResponse ¶
Click to show internal directories.
Click to hide internal directories.