activitylog

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activity

type Activity struct {
	// contains filtered or unexported fields
}

func (*Activity) CauserUserId

func (a *Activity) CauserUserId() string

func (*Activity) ImpersonatorUserId

func (a *Activity) ImpersonatorUserId() *string

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func (*Builder) Build

func (b *Builder) Build() contracts.Activity

func (*Builder) Causer

func (b *Builder) Causer(user *models.User) contracts.ActivityLogBuilder

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(logger contracts.LoggingService) *Service

func (*Service) Builder

func (s *Service) Builder() contracts.ActivityLogBuilder

func (*Service) Log

func (s *Service) Log(ctx context.Context, activity contracts.Activity, action string) error

Jump to

Keyboard shortcuts

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