topic

package
v0.0.0-...-32f8f0d Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogService

type LogService struct {
	topic.Service
	// contains filtered or unexported fields
}

LogService represents topic logging service

func New

func New(svc topic.Service, logger model.Logger) *LogService

New creates new topic logging service

func (*LogService) Create

func (ls *LogService) Create(c echo.Context, req model.Topic) (resp *model.Topic, err error)

Create logging

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

func (*LogService) Update

func (ls *LogService) Update(c echo.Context, req *topic.Update) (resp *model.Topic, err error)

Update logging

func (*LogService) View

func (ls *LogService) View(c echo.Context, req int) (resp *model.Topic, err error)

View logging

Jump to

Keyboard shortcuts

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