logging

package
v0.0.0-...-57b518e Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: MIT Imports: 5 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 password logging service

func New

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

New creates new password logging service

func (*LogService) FetchByEmail

func (ls *LogService) FetchByEmail(c echo.Context, email string) (u *authapi.User, err error)

func (*LogService) FetchByExternalID

func (ls *LogService) FetchByExternalID(c echo.Context, s string) (us *authapi.User, err error)

Change logging

func (*LogService) FetchUserByID

func (ls *LogService) FetchUserByID(c echo.Context, userID int) (u *authapi.User, err error)

func (*LogService) FetchUserByUUID

func (ls *LogService) FetchUserByUUID(c echo.Context, userUUID uuid.UUID, orgID int) (u *authapi.User, err error)

Jump to

Keyboard shortcuts

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