Documentation ¶
Index ¶
- Variables
- func EnableComponents(srv *server.Server, components ...server.Component) (err error)
- func EnableMonitors(srv *server.Server) (err error)
- func EnableStatic(srv *server.Server, assetFile func() http.FileSystem) (err error)
- func Healthy(ctx iris.Context)
- func JwtTokenVerify(ctx iris.Context)
- func Ready(ctx iris.Context)
- func Router(app *iris.Application)
- func Server(conf server.Config) (srv *server.Server, err error)
- func Start(ctx context.Context, srv *server.Server) (err error)
- type LogLevelReq
- type Resp
Constants ¶
This section is empty.
Variables ¶
View Source
var LivenessHandler func() int
View Source
var MonitorPrefix = "/m"
View Source
var ReadinessHandler func() int
Functions ¶
func EnableComponents ¶
func EnableMonitors ¶
func EnableStatic ¶
func EnableStatic(srv *server.Server, assetFile func() http.FileSystem) (err error)
func JwtTokenVerify ¶
func JwtTokenVerify(ctx iris.Context)
Types ¶
type LogLevelReq ¶
type LogLevelReq struct {
Level string `json:"level,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.