Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckRoute ¶
type HealthCheckRoute struct { }
func NewHealthCheckRoute ¶
func NewHealthCheckRoute() HealthCheckRoute
func (HealthCheckRoute) GetHealthCheck ¶
func (hcr HealthCheckRoute) GetHealthCheck() mw.AppHandler
GetHealthCheck returns OK when is called
func (HealthCheckRoute) SetupRoutes ¶
func (hcr HealthCheckRoute) SetupRoutes(routePath string, router *mux.Router)
type UserRoute ¶
type UserRoute struct {
UserController controller.UserController
}
func NewUserRoute ¶
func NewUserRoute(userController controller.UserController) UserRoute
func (UserRoute) GetUserById ¶
func (ur UserRoute) GetUserById() middleware.AppHandler
GetUserById retrieves a user by it's Id
func (UserRoute) RegisterUser ¶
func (ur UserRoute) RegisterUser() middleware.AppHandler
RegisterUser registers a user
type UserRouteFactory ¶
type UserRouteFactory struct { }
func (UserRouteFactory) CreateUserRoute ¶
func (urf UserRouteFactory) CreateUserRoute() UserRoute
Click to show internal directories.
Click to hide internal directories.