user

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

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	Log *log.Logger
	DB  *sql.DB
}

func (*Base) GetAll

func (b *Base) GetAll(w http.ResponseWriter, r *http.Request)

func (*Base) Login

func (b *Base) Login(w http.ResponseWriter, r *http.Request)

func (*Base) Ping

func (b *Base) Ping(w http.ResponseWriter, r *http.Request)

func (*Base) Register

func (b *Base) Register(w http.ResponseWriter, r *http.Request)

type TokenRequest

type TokenRequest 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