delivery

package
v0.0.0-...-2fe0e47 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

func GetApi

func GetApi(c *usecase.Core, l *slog.Logger, cfg *configs.DbDsnCfg) *API

func (*API) Actor

func (a *API) Actor(w http.ResponseWriter, r *http.Request)

func (*API) AddFilm

func (a *API) AddFilm(w http.ResponseWriter, r *http.Request)

func (*API) AddRating

func (a *API) AddRating(w http.ResponseWriter, r *http.Request)

func (*API) Calendar

func (a *API) Calendar(w http.ResponseWriter, r *http.Request)

func (*API) DeleteRating

func (a *API) DeleteRating(w http.ResponseWriter, r *http.Request)

func (*API) FavoriteActors

func (a *API) FavoriteActors(w http.ResponseWriter, r *http.Request)

func (*API) FavoriteActorsAdd

func (a *API) FavoriteActorsAdd(w http.ResponseWriter, r *http.Request)

func (*API) FavoriteActorsRemove

func (a *API) FavoriteActorsRemove(w http.ResponseWriter, r *http.Request)

func (*API) FavoriteFilms

func (a *API) FavoriteFilms(w http.ResponseWriter, r *http.Request)

func (*API) FavoriteFilmsAdd

func (a *API) FavoriteFilmsAdd(w http.ResponseWriter, r *http.Request)

func (*API) FavoriteFilmsRemove

func (a *API) FavoriteFilmsRemove(w http.ResponseWriter, r *http.Request)

func (*API) Film

func (a *API) Film(w http.ResponseWriter, r *http.Request)

func (*API) Films

func (a *API) Films(w http.ResponseWriter, r *http.Request)

func (*API) FindActor

func (a *API) FindActor(w http.ResponseWriter, r *http.Request)

func (*API) FindFilm

func (a *API) FindFilm(w http.ResponseWriter, r *http.Request)

func (*API) LastSeen

func (a *API) LastSeen(w http.ResponseWriter, r *http.Request)

func (*API) ListenAndServe

func (a *API) ListenAndServe()

func (*API) Trends

func (a *API) Trends(w http.ResponseWriter, r *http.Request)

func (*API) UsersStatistics

func (a *API) UsersStatistics(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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