http

package
v0.0.0-...-6bf1803 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationAPI

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

AuthenticationAPI is used to authenticate users

func New

func New(users userAuthentication) *AuthenticationAPI

New creates a new AuthenticationApi

func (*AuthenticationAPI) RegisterToRouter

func (u *AuthenticationAPI) RegisterToRouter(router *mux.Router)

RegisterToRouter adds the API routes to the given router

Jump to

Keyboard shortcuts

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