Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBookNotFound = errors.New("movie not found") ErrRefreshTokenExpired = errors.New("refresh token expired") ErrUserAlreadyExists = errors.New("user with this email already exists") )
View Source
var ErrUserNotFound = errors.New("user with such credentials not found")
Functions ¶
This section is empty.
Types ¶
type MovieMainInfo ¶
type RefreshSession ¶
type SignInInput ¶
type SignInInput struct { Email string `json:"email" validate:"required,email"` Password string `json:"password" validate:"required,gte=6"` }
func (SignInInput) Validate ¶
func (i SignInInput) Validate() error
type SignUpInput ¶
type SignUpInput struct { Name string `json:"name" validate:"required,gte=2"` Email string `json:"email" validate:"required,email"` Password string `json:"password" validate:"required,gte=6"` }
func (SignUpInput) Validate ¶
func (i SignUpInput) Validate() error
Click to show internal directories.
Click to hide internal directories.