api

package
v0.5.20 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewValidator

func NewValidator() *validator.Validate

Types

type API

type API struct {
	*User
}

func NewAPI

func NewAPI(user *User) *API

func (*API) Start

func (api *API) Start(port int) error

type User

type User struct {
	*service.User
	*validator.Validate
}

func NewUser

func NewUser(u *service.User) *User

func (*User) PostNewUser

func (u *User) PostNewUser(c echo.Context) error

func (*User) PutReset

func (u *User) PutReset(c echo.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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