handler

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

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

Go to latest
Published: Nov 21, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJWKs

func GetJWKs(c echo.Context) error

func PostLogin

func PostLogin(c echo.Context) error

func PostRegister

func PostRegister(c echo.Context) error

Types

type LoginError

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

type LoginRequest

type LoginRequest struct {
	Login    string `json:"login"`
	Password string `json:"password"`
}

type LoginResponse

type LoginResponse struct {
	Token string
}

type RegisterRequest

type RegisterRequest struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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