activitylog

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 2 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(activity contracts.Activity, action string)

Jump to

Keyboard shortcuts

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