Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module( "handlers", fx.Decorate(func(log *zap.Logger) *zap.Logger { return log.Named("handlers") }), fx.Provide( http.AsRootHandler(newRootHandler), http.AsApiHandler(newThirdPartyHandler), http.AsApiHandler(newMobileHandler), ), )
Functions ¶
This section is empty.
Types ¶
type Handler ¶
func (*Handler) BodyParserValidator ¶
func (*Handler) ParamsParserValidator ¶
func (*Handler) QueryParserValidator ¶
type Validatable ¶ added in v1.5.3
type Validatable interface {
Validate() error
}
Click to show internal directories.
Click to hide internal directories.