Documentation ¶
Index ¶
Constants ¶
View Source
const ( PthSep = string(os.PathSeparator) UploadDir = "down" + PthSep + "upload" UploadFileMaxSize = 1000 << 20 LanguageEN = "en" LanguageZH = "zh" LanguageDefault = LanguageEN UserTokenExpireTime = 365 * 24 * 60 * 60 * 1000 Authorization = "Authorization" Bearer = "Bearer" )
Variables ¶
View Source
var (
IsRelease = false
)
Functions ¶
This section is empty.
Types ¶
type HttpMethod ¶
type HttpMethod string
const ( Get HttpMethod = "GET" Post HttpMethod = "POST" Put HttpMethod = "PUT" Delete HttpMethod = "DELETE" )
func (HttpMethod) ToString ¶
func (e HttpMethod) ToString() string
type ValidMethod ¶
type ValidMethod string
const ( ValidProjectPath ValidMethod = "validProjectPath" ValidDictName ValidMethod = "validDictName" )
func (ValidMethod) ToString ¶
func (e ValidMethod) ToString() string
Click to show internal directories.
Click to hide internal directories.