controller

package
v0.9.10 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SongCntrl

type SongCntrl struct {
	dig.In
	Cache *cachekit.Store
	Svc   service.SongSvc
}

SongCntrl is controller to book entity

func (*SongCntrl) Create

func (c *SongCntrl) Create(ec echo.Context) (err error)

Create book

func (*SongCntrl) Delete

func (c *SongCntrl) Delete(ec echo.Context) (err error)

Delete book

func (*SongCntrl) Find

func (c *SongCntrl) Find(ec echo.Context) (err error)

Find songs

func (*SongCntrl) FindOne

func (c *SongCntrl) FindOne(ec echo.Context) error

FindOne book

func (*SongCntrl) Patch

func (c *SongCntrl) Patch(ec echo.Context) (err error)

Patch book

func (*SongCntrl) SetRoute

func (c *SongCntrl) SetRoute(e echokit.Server)

SetRoute to define API Route

func (*SongCntrl) Update

func (c *SongCntrl) Update(ec echo.Context) (err error)

Update book

Jump to

Keyboard shortcuts

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