controller

package
v0.0.0-...-2d9c1c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

type AuthController struct {
	// contains filtered or unexported fields
}

AuthController struct

func NewAuthController

func NewAuthController(userStorage storage.UserStorage, authProvider *authenticate.JWTProvider) *AuthController

NewAuthController constructor

func (AuthController) Mount

func (c AuthController) Mount(r *server.Router)

Mount endpoints

type UserController

type UserController struct {
	// contains filtered or unexported fields
}

UserController struct

func NewUserController

func NewUserController(userStorage storage.UserStorage, authMiddleware func(http.Handler) http.Handler) *UserController

NewUserController constructor

func (UserController) Mount

func (c UserController) Mount(r *server.Router)

Mount endpoints

Source Files

  • auth_controller.go
  • user_controller.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL