Documentation ¶
Index ¶
- type LogService
- func (ls *LogService) Create(c echo.Context, req homeschooling.User) (resp homeschooling.User, err error)
- func (ls *LogService) Delete(c echo.Context, req int) (err error)
- func (ls *LogService) List(c echo.Context, req homeschooling.Pagination) (resp []homeschooling.User, err error)
- func (ls *LogService) Update(c echo.Context, req user.Update) (resp homeschooling.User, err error)
- func (ls *LogService) View(c echo.Context, req int) (resp homeschooling.User, 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 homeschooling.Logger) *LogService
New creates new user logging service
func (*LogService) Create ¶
func (ls *LogService) Create(c echo.Context, req homeschooling.User) (resp homeschooling.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 homeschooling.Pagination) (resp []homeschooling.User, err error)
List logging
func (*LogService) Update ¶
func (ls *LogService) Update(c echo.Context, req user.Update) (resp homeschooling.User, err error)
Update logging
func (*LogService) View ¶
func (ls *LogService) View(c echo.Context, req int) (resp homeschooling.User, err error)
View logging
Click to show internal directories.
Click to hide internal directories.