users

package
v0.0.0-...-37d38c9 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: AGPL-3.0 Imports: 7 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 {
	Config *config.Config
}

Handler contains all the handlers in the users package

func (*Handler) Init

func (h *Handler) Init(cfg *config.Config)

Init initializes the Handler struct

func (*Handler) RefreshHandler

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

RefreshHandler is used to refresh the access tokens

func (*Handler) SignInHandler

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

SignInHandler is the handler used to sign into box

func (*Handler) SignUpHandler

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

SignUpHandler is the handler used for signing up on the box

Jump to

Keyboard shortcuts

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