user

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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 schemago.Logger) *LogService

New creates new user logging service

func (*LogService) Create

func (ls *LogService) Create(c echo.Context, req *schemago.ReqCreateUser) (resp *schemago.SUser, err error)

Create logging

func (*LogService) Delete

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

Delete logging

func (*LogService) Disable

func (ls *LogService) Disable(c echo.Context, userid string, active bool) (err error)

Disable Disable

func (*LogService) Enable

func (ls *LogService) Enable(c echo.Context, userid string, active bool) (err error)

Enable Enable

func (*LogService) Get

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

Get logging

func (*LogService) Query

func (ls *LogService) Query(c echo.Context, req *schemago.ReqUser) (resp []schemago.RespUser, count int, err error)

Query logging

func (*LogService) Update

func (ls *LogService) Update(c echo.Context, req *schemago.ReqUpdateUser) (resp *schemago.SUser, err error)

Update logging

Jump to

Keyboard shortcuts

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