Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPrometheus ¶
Types ¶
type Router ¶
Router is a wrapper for HTTP router
func NewRouter ¶
func NewRouter( log logger.Logger, conf config.Config, trans translation.Translator, healthHandler handler.HealthHandler, ) (*Router, error)
NewRouter creates a new HTTP router
func (*Router) NewAuthRouter ¶
func (r *Router) NewAuthRouter( authHandler handler.AuthHandler, roleHandler handler.RoleHandler, permissionHandler handler.PermissionHandler, authCache port.AuthCache, ) *Router
NewAuthRouter creates a new HTTP router
func (*Router) NewUserRouter ¶
func (r *Router) NewUserRouter(userHandler handler.UserHandler) *Router
NewUserRouter creates a new HTTP router
Click to show internal directories.
Click to hide internal directories.