Documentation ¶
Index ¶
- type Router
- func (router Router) AddGroupHandlerAddress(ah *handler.Address) func(r chi.Router)
- func (router Router) AddGroupHandlerCustomer(ah *handler.Customer) func(r chi.Router)
- func (router Router) AddGroupHandlerHealthCheck(ah *handler.Generic) func(r chi.Router)
- func (router Router) AddGroupHandlerPhone(ah *handler.Phone) func(r chi.Router)
- func (router Router) GetChiRouter() chi.Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct { ContextPath string LoggerSugar *zap.SugaredLogger // contains filtered or unexported fields }
func GetNewRouter ¶
func GetNewRouter(loggerSugar *zap.SugaredLogger) Router
func (Router) AddGroupHandlerAddress ¶
func (Router) AddGroupHandlerCustomer ¶
func (Router) AddGroupHandlerHealthCheck ¶
func (Router) AddGroupHandlerPhone ¶
func (Router) GetChiRouter ¶
Click to show internal directories.
Click to hide internal directories.