v1

package
v0.0.0-...-f2344d4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(s *app.Services) http.Handler

NewRouter creates an http router for the API and mounts its routes

Types

type AuthHandler

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

AuthHandler is a struct that contains all the functions for handling requests to the authentication endpoints

func NewAuthHandler

func NewAuthHandler(s app.AuthService) *AuthHandler

NewAuthHandler creates a handler for the authentication endpoints

type UserHandler

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

UserHandler is a struct that contains all the functions for handling requests to the user endpoints

func NewUserHandler

func NewUserHandler(s app.UserService) *UserHandler

NewUserHandler creates a handler for the user endpoints and sets the necessary values for it to operate

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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