Documentation ¶
Index ¶
- type LogService
- func (ls *LogService) Create(c echo.Context, req model.Topic) (resp *model.Topic, err error)
- func (ls *LogService) Delete(c echo.Context, req int) (err error)
- func (ls *LogService) List(c echo.Context, req *model.Pagination) (resp []model.Topic, err error)
- func (ls *LogService) Update(c echo.Context, req *topic.Update) (resp *model.Topic, err error)
- func (ls *LogService) View(c echo.Context, req int) (resp *model.Topic, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogService ¶
LogService represents topic logging service
func New ¶
func New(svc topic.Service, logger model.Logger) *LogService
New creates new topic logging service
func (*LogService) Delete ¶
func (ls *LogService) Delete(c echo.Context, req int) (err error)
Delete logging
func (*LogService) List ¶
func (ls *LogService) List(c echo.Context, req *model.Pagination) (resp []model.Topic, err error)
List logging
Click to show internal directories.
Click to hide internal directories.