Documentation
¶
Index ¶
- type Router
- func (router Router) AddGroupHandlerCourse(ah *handler.Course) func(r chi.Router)
- func (router Router) AddGroupHandlerHealthCheck(ah *handler.Generic) func(r chi.Router)
- func (router Router) AddGroupHandlerStudent(ah *handler.Student) 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) AddGroupHandlerCourse ¶
func (Router) AddGroupHandlerHealthCheck ¶
func (Router) AddGroupHandlerStudent ¶
func (Router) GetChiRouter ¶
Click to show internal directories.
Click to hide internal directories.