menu

package
v0.0.0-...-9b07b7c Latest Latest
Warning

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

Go to latest
Published: Jun 3, 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 {
	menu.Service
	// contains filtered or unexported fields
}

LogService represents menu logging service

func New

func New(svc menu.Service, logger schemago.Logger) *LogService

New creates new menu logging service

func (*LogService) Create

func (ls *LogService) Create(c echo.Context, respMenu *schemago.RespMenu) (err error)

Create logging

func (*LogService) Delete

func (ls *LogService) Delete(c echo.Context, roleid string) (err error)

Delete logging

func (*LogService) Get

func (ls *LogService) Get(c echo.Context, menuid string) (resp *schemago.RespMenu, err error)

Get logging

func (*LogService) Query

func (ls *LogService) Query(c echo.Context, reqmenu *schemago.ReqMenu) (resp []schemago.RespMenu, count int, err error)

Query logging

func (*LogService) Update

func (ls *LogService) Update(c echo.Context, respMenu *schemago.RespMenu) (err error)

Update logging

Jump to

Keyboard shortcuts

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