session

package
v0.0.0-...-5e2de36 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHandler

func CreateHandler(cfg CreateConfig, userDB database.User, loginService login.API) func(echo.Context) error

func NewHandler

func NewHandler(c echo.Context) error

Types

type CreateConfig

type CreateConfig interface {
	JWTSecret() string
	RootPath() string
}

type CreateRequest

type CreateRequest struct {
	Username string `form:"username"`
	Password string `form:"password"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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