Versions in this module Expand all Collapse all v1 v1.0.0 Jun 20, 2022 Changes in this version + var ErrMalformedRequest = errors.New("malformed request") + 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 struct + func (c *Context) BadRequest(err error) error + func (c *Context) Error(err error) error + func (c *Context) InternalServerError(err error) error + func (c *Context) NoContent() error + func (c *Context) NotFound(err error) error + func (c *Context) OK(v any) error + type Env struct + AlbumService *service.AlbumService + type HandlerFunc func(env *Env, c *Context) error