Documentation ¶ Index ¶ func NewValidator() *validator.Validate type API func NewAPI(user *User) *API func (api *API) Start(port int) error type User func NewUser(u *service.User) *User func (u *User) PostNewUser(c echo.Context) error func (u *User) PutReset(c echo.Context) error 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 Source Files ¶ View all Source files echo.go user.go validator.go Directories ¶ Show internal Expand all Path Synopsis middlewares Click to show internal directories. Click to hide internal directories.