Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationRouter ¶
type AuthenticationRouter struct {
WebServiceRouter
// contains filtered or unexported fields
}
func (*AuthenticationRouter) RegisterRoutes ¶
func (authenticationRouter *AuthenticationRouter) RegisterRoutes(router *mux.Router, baseURI string) []string
Registers all of the authentication endpoints at the root of the webservice (/api/v1)
type SystemRouter ¶
type SystemRouter struct {
WebServiceRouter
// contains filtered or unexported fields
}
func (*SystemRouter) RegisterRoutes ¶
func (systemRouter *SystemRouter) RegisterRoutes(router *mux.Router, baseURI string) []string
Registers all of the system endpoints at the root of the webservice (/api/v1)
type WebServiceRouter ¶
func NewAuthenticationRouter ¶
func NewAuthenticationRouter( app *app.App, middleware middleware.AuthMiddleware) WebServiceRouter
Creates a new web service authentication router
func NewSystemRouter ¶
func NewSystemRouter( app *app.App, middleware middleware.JsonWebTokenMiddleware, router *mux.Router, jsonWriter response.HttpWriter, endpointList *[]string) WebServiceRouter
Creates a new web service system router
Click to show internal directories.
Click to hide internal directories.