Documentation
¶
Index ¶
- Variables
- func DeleteAlbum(env *Env, c *Context) error
- func GetAlbum(env *Env, c *Context) error
- func GetAlbums(env *Env, c *Context) error
- func PatchAlbum(env *Env, c *Context) error
- func Ping(env *Env, c *Context) error
- func PostAlbum(env *Env, c *Context) error
- type Context
- type Env
- type HandlerFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMalformedRequest = errors.New("malformed request")
)
Functions ¶
func DeleteAlbum ¶
func PatchAlbum ¶
Types ¶
type Context ¶
type Context struct {
echo.Context
}
func (*Context) BadRequest ¶
func (*Context) InternalServerError ¶
type Env ¶
type Env struct {
AlbumService *service.AlbumService
}
type HandlerFunc ¶
Click to show internal directories.
Click to hide internal directories.