user

package
v0.0.0-...-e46c3b8 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Service   prime.Service
	ReqLogger reqlogger.Logger
}

Handler implements request handlers for the user.

func (Handler) ObtainAccess

func (h Handler) ObtainAccess(ctx *fiber.Ctx) error

ObtainAccess sends new access token.

func (Handler) SignIn

func (h Handler) SignIn(ctx *fiber.Ctx) error

SignIn signs user in.

func (Handler) SignOut

func (h Handler) SignOut(ctx *fiber.Ctx) error

SignOut signs user out.

func (Handler) SignUp

func (h Handler) SignUp(ctx *fiber.Ctx) error

SignUp signs user up.

Jump to

Keyboard shortcuts

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