bindings

package
v0.0.0-...-b1f2603 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUsernameEmpty = errors.New("username cannot be empty")
	ErrPasswordEmpty = errors.New("password cannot be empty")
)

Functions

This section is empty.

Types

type LoginRequest

type LoginRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

func (LoginRequest) Validate

func (lr LoginRequest) Validate(c echo.Context) error

type RequestErrors

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

func (*RequestErrors) Append

func (re *RequestErrors) Append(err error)

func (*RequestErrors) Error

func (re *RequestErrors) Error() string

func (*RequestErrors) Len

func (re *RequestErrors) Len() int

Jump to

Keyboard shortcuts

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