Documentation ¶
Index ¶
- type LogService
- func (ls *LogService) Create(c echo.Context, req *schemago.ReqCreateUser) (resp *schemago.SUser, err error)
- func (ls *LogService) Delete(c echo.Context, userid string) (err error)
- func (ls *LogService) Disable(c echo.Context, userid string, active bool) (err error)
- func (ls *LogService) Enable(c echo.Context, userid string, active bool) (err error)
- func (ls *LogService) Get(c echo.Context, userid string) (resp *schemago.RespUser, err error)
- func (ls *LogService) Query(c echo.Context, req *schemago.ReqUser) (resp []schemago.RespUser, count int, err error)
- func (ls *LogService) Update(c echo.Context, req *schemago.ReqUpdateUser) (resp *schemago.SUser, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogService ¶
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) 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
Click to show internal directories.
Click to hide internal directories.