request

package
v0.0.0-...-80f30d8 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FindUserById

type FindUserById struct {
	ID uuid.UUID `validate:"required,uuid" json:"id"`
}

type LoginRequest

type LoginRequest struct {
	Email    string `validate:"required,email" json:"email"`
	Password string `validate:"required"       json:"password"`
}

func (LoginRequest) MarshalJSON

func (l LoginRequest) MarshalJSON() ([]byte, error)

func (LoginRequest) MarshalZerologObject

func (l LoginRequest) MarshalZerologObject(e *zerolog.Event)

type Register

type Register struct {
	Username string `validate:"required"       json:"username"`
	Email    string `validate:"required,email" json:"email"`
	Password string `validate:"required"       json:"password"`
}

func (Register) MarshalJSON

func (r Register) MarshalJSON() ([]byte, error)

func (Register) MarshalZerologObject

func (l Register) MarshalZerologObject(e *zerolog.Event)

Jump to

Keyboard shortcuts

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