auth

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

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

Go to latest
Published: Jan 5, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(srv *server.Server, r chi.Router)

Types

type LoginRequest

type LoginRequest struct {
	Username string
	Password string
}

func (*LoginRequest) Bind

func (reg *LoginRequest) Bind(r *http.Request) error

type RegisterRequest

type RegisterRequest struct {
	Username string
	Email    string
	Password string
}

func (*RegisterRequest) Bind

func (reg *RegisterRequest) Bind(r *http.Request) error

type Server

type Server struct {
	*server.Server
}

Jump to

Keyboard shortcuts

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