Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRouter ¶
func GetRouter(p *controllers.ControllerManager, b *controllers.BasicController, au *controllers.AuthController, ac *controllers.AccountController, ad *controllers.AdminController, t *controllers.TaskController) *httprouter.Router
GetRouter returns a new HTTP Router
Types ¶
type Server ¶
type Server struct { Router *httprouter.Router // contains filtered or unexported fields }
Server is a struct that stores the API Apps high level attributes such as the router, config, and services
func NewServer ¶
func NewServer(manager *controllers.ControllerManager, auth *services.AuthService, u *services.UserService, g *services.GroupService, t *services.TaskService) *Server
NewServer is a function used to initialize a new Server struct
Click to show internal directories.
Click to hide internal directories.