handler

package
v0.0.0-...-6ebe9bd Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	// contains filtered or unexported fields
}

func NewItem

func NewItem(items usecase.Item) *Item

func (*Item) CreateItem

func (h *Item) CreateItem(ctx echo.Context) error

func (*Item) FindAll

func (h *Item) FindAll(ctx echo.Context) error

type Status

type Status struct {
	// contains filtered or unexported fields
}

Status manages status related endpoints.

func NewStatus

func NewStatus(version, buildDate, description, commitHash string) *Status

NewStatus creates a new status handler.

func (*Status) Version

func (h *Status) Version(ctx echo.Context) error

Version provides the application version information.

type User

type User struct {
	// contains filtered or unexported fields
}

func NewUser

func NewUser(users usecase.User) *User

func (*User) FindAll

func (h *User) FindAll(ctx echo.Context) error

func (*User) RegisterUser

func (h *User) RegisterUser(ctx echo.Context) error

Jump to

Keyboard shortcuts

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