Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Provider = wire.NewSet( cache.NewRedisCaptchaCache, wire.Bind(new(cache.CaptchaCache), new(*cache.RedisCaptchaCache)), wire.Struct(new(repo.UserRepo), "*"), handler.NewEmailHandler, wire.Struct(new(handler.AuthHandler), "*"), wire.Struct(new(handler.CaptchaHandler), "*"), wire.Struct(new(handler.UserHandler), "*"), wire.Struct(new(handler.HealthHandler), "*"), wire.Struct(new(api.AuthAPI), "*"), wire.Struct(new(api.UserAPI), "*"), wire.Struct(new(api.HealthAPI), "*"), wire.Struct(new(Module), "*"), )
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// api
AuthAPI api.AuthAPI
UserAPI api.UserAPI
HealthAPI api.HealthAPI
// handler
AuthHandler handler.AuthHandler
CodeHandler handler.CaptchaHandler
EmailHandler handler.EmailHandler
UserHandler handler.UserHandler
HealthHandler handler.HealthHandler
// repo
UserRepo repo.UserRepo
}
Module is representation of system
func (Module) RegisterRouter ¶
Click to show internal directories.
Click to hide internal directories.