Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimeZone = "Asia/Shanghai" TimeFormat = "2006-01-02 15:04:05" )
Variables ¶
View Source
var ( ControllerFuncSuffix = "Action" ControllerPreExecute = "PreExecute" ControllerSetContext = "SetContext" )
View Source
var DefaultLogStore = LogStoreLoki
Functions ¶
Types ¶
type LogStoreEnd ¶
type LogStoreEnd string
var ( LogStoreLoki LogStoreEnd = "loki" LogStoreES LogStoreEnd = "es" )
type RestAPIMeta ¶
type RestAPIMeta struct { ApiGroup ApiGroup Handler string Method string Act string Path string GroupVersion schema.GroupVersion HandlerFunc func(e echo.Context) error }
func (RestAPIMeta) Gen ¶
func (r RestAPIMeta) Gen(gv schema.GroupVersion, apiGroup ApiGroup, mod, m, a, p string) RestAPIMeta
Click to show internal directories.
Click to hide internal directories.