Documentation
¶
Index ¶
- Variables
- func BuildTime() time.Time
- func Description() string
- func Executable() string
- func Execute(appName, appVersion, appDescription string, appBuildTime time.Time, ...)
- func HandleGenerated(method string, pattern string, handler HandlerFunc)
- func Name() string
- func Version() string
- func WorkDIR() string
- type Context
- type HandlerFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var Cache = &cacheService{}
View Source
var ErrNotFound = errors.New("not found")
View Source
var Redis = &redisService{}
View Source
var SQL = &sqlService{}
Functions ¶
func Description ¶ added in v0.0.8
func Description() string
func Executable ¶ added in v0.0.6
func Executable() string
func HandleGenerated ¶
func HandleGenerated(method string, pattern string, handler HandlerFunc)
Types ¶
type HandlerFunc ¶
type HandlerFunc = func(ctx *Context)
Click to show internal directories.
Click to hide internal directories.