handler

package
v0.0.0-...-ca87f71 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const HoursInDay = 24

Variables

This section is empty.

Functions

This section is empty.

Types

type Premium

type Premium struct {
	Store *sql.DB
}

func (Premium) Extend

func (p Premium) Extend(c echo.Context) error

nolint: wrapcheck

func (*Premium) Register

func (p *Premium) Register(g *echo.Group)

type Purchase

type Purchase struct {
	Store *sql.DB
}

func (Purchase) Buy

func (p Purchase) Buy(c echo.Context) error

nolint: wrapcheck

func (Purchase) Register

func (p Purchase) Register(g *echo.Group)

type SignUp

type SignUp struct {
	Store *sql.DB
}

func (*SignUp) Create

func (s *SignUp) Create(c echo.Context) error

nolint: wrapcheck, cyclop, funlen

func (*SignUp) Register

func (s *SignUp) Register(g *echo.Group)

func (*SignUp) Retrieve

func (s *SignUp) Retrieve(c echo.Context) error

Retrieve retrieves URL for given short URL and redirect to it. nolint: wrapcheck

func (*SignUp) Update

func (s *SignUp) Update(c echo.Context) error

nolint: wrapcheck

type Song

type Song struct {
	Store *sql.DB
}

func (Song) Assign

func (s Song) Assign(c echo.Context) error

nolint: wrapcheck

func (Song) Category

func (s Song) Category(c echo.Context) error

nolint: wrapcheck

func (Song) Like

func (s Song) Like(c echo.Context) error

nolint: wrapcheck

func (Song) New

func (s Song) New(c echo.Context) error

nolint: wrapcheck

func (Song) Play

func (s Song) Play(c echo.Context) error

nolint: wrapcheck

func (Song) Register

func (s Song) Register(g *echo.Group)

type Wallet

type Wallet struct {
	Store *sql.DB
}

func (*Wallet) Register

func (w *Wallet) Register(g *echo.Group)

func (*Wallet) Transfer

func (w *Wallet) Transfer(c echo.Context) error

nolint: wrapcheck, funlen, cyclop

func (*Wallet) Update

func (w *Wallet) Update(c echo.Context) error

nolint: wrapcheck

Jump to

Keyboard shortcuts

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