user

package
v0.0.0-...-62a6041 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateUserDTO

type CreateUserDTO struct {
	Username             string
	InputPassword        string
	InputPasswordConfirm string
}

func (*CreateUserDTO) Validate

func (a *CreateUserDTO) Validate() bool

type IndexUserDTO

type IndexUserDTO struct {
	ID        int64
	Username  string
	CreatedAt int64
}

type UserController

type UserController struct {
}

func New

func New() *UserController

func (UserController) CreateUser

func (UserController) DeleteUser

func (UserController) GetUsers

func (UserController) RegisterRoutes

func (uc UserController) RegisterRoutes(r *httprouter.Router)

Jump to

Keyboard shortcuts

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