handlers

package
v0.0.0-...-cd796bd Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Health

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

func NewHealth

func NewHealth(logger *log.Logger, statsd *statsd.Client) *Health

func (*Health) Handle

func (h *Health) Handle(rw http.ResponseWriter, r *http.Request)

type JWT

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

func NewJWT

func NewJWT(logger *log.Logger, statsd *statsd.Client) *JWT

func (*JWT) Handle

func (j *JWT) Handle(rw http.ResponseWriter, r *http.Request)

type LoginRequest

type LoginRequest struct {
	Username string `json:"username" validate:"email"`
	Password string `json:"password" validate:"max=36,min=8"`
}

Jump to

Keyboard shortcuts

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