common

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CodeUpdateTemplates   response.Code = 10002
	CodeGetTemplateConfig response.Code = 10003
	CodeAppParams         response.Code = 10004
	CodeCreateApp         response.Code = 10005
)

response.Code

Variables

View Source
var (
	UpdateTemplatesError = func() response.Error {
		return response.Error{Code: CodeUpdateTemplates, Msg: "update templates error", Detail: ""}
	}

	GetTemplateConfigError = func() response.Error {
		return response.Error{Code: CodeGetTemplateConfig, Msg: "get template config error", Detail: ""}
	}

	AppParamsError = func() response.Error {
		return response.Error{Code: CodeAppParams, Msg: "application params error", Detail: ""}
	}

	CreateAppError = func() response.Error {
		return response.Error{Code: CodeCreateApp, Msg: "create application error", Detail: ""}
	}
)

System error

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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