logging

package
v0.0.0-...-cfbb22e Latest Latest
Warning

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

Go to latest
Published: Mar 9, 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) FetchByExternalID

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

Change logging

func (*LogService) FetchProfile

func (ls *LogService) FetchProfile(c echo.Context, userID int, orgID int) (p authapi.Profile, err error)

func (*LogService) FetchUserByUUID

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

func (*LogService) List

func (ls *LogService) List(c echo.Context, orgID int) (users []authapi.User, err error)

func (*LogService) ListRoles

func (ls *LogService) ListRoles(c echo.Context) (roles []authapi.Role, err error)

func (*LogService) UpdateRole

func (ls *LogService) UpdateRole(c echo.Context, level int, profileID int) (err error)

Jump to

Keyboard shortcuts

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