users

package
v0.0.0-...-dee3174 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeletePayload

type DeletePayload struct {
	ID int
}

DeletePayload ...

type ErrorNotFound

type ErrorNotFound struct{}

ErrorNotFound ...

func (ErrorNotFound) Error

func (e ErrorNotFound) Error() string

type ListPayload

type ListPayload struct {
	ID int
}

ListPayload ...

type Service

Service ...

func NewUsersSvc

func NewUsersSvc(logger *zerolog.Logger, db *models.UserStorage) (Service, error)

NewUsersSvc ...

type ShowPayload

type ShowPayload struct {
	ID int
}

ShowPayload ...

type UpdatePayload

type UpdatePayload struct {
	User models.User
}

UpdatePayload ...

Jump to

Keyboard shortcuts

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