Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindUserById ¶
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 (Register) MarshalZerologObject ¶
Click to show internal directories.
Click to hide internal directories.