user

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2018 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 {
	user.Service
	// contains filtered or unexported fields
}

LogService represents user logging service

func New

func New(svc user.Service, logger gorsk.Logger) *LogService

New creates new user logging service

func (*LogService) Create

func (ls *LogService) Create(c echo.Context, req gorsk.User) (resp *gorsk.User, 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 *gorsk.Pagination) (resp []gorsk.User, err error)

List logging

func (*LogService) Update

func (ls *LogService) Update(c echo.Context, req *user.Update) (resp *gorsk.User, err error)

Update logging

func (*LogService) View

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

View logging

Jump to

Keyboard shortcuts

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