controller

package
v0.0.0-...-80bf6b7 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Healthcheck

type Healthcheck struct{}

func (Healthcheck) GetHealthcheck

func (ctrl Healthcheck) GetHealthcheck(c echo.Context) error

GetHealthcheck returns the current functional state of the application

type User

type User struct{}

func (User) GetUser

func (ctrl User) GetUser(c echo.Context) error

func (User) GetUserJSON

func (ctrl User) GetUserJSON(c echo.Context) error

type UserList

type UserList struct{}

func (UserList) GetUsers

func (ctrl UserList) GetUsers(c echo.Context) error

type UserListViewModel

type UserListViewModel struct {
	Users []UserViewModel
}

type UserViewModel

type UserViewModel struct {
	Name string
	ID   string
}

Jump to

Keyboard shortcuts

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