service

package
v0.0.0-...-d125d34 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// CreateEventIgnoreError creates an event and ignore the error
	CreateEventIgnoreError(ctx context.Context, resourceType string,
		resourceID uint, eventType string, extra *string) []*models.Event
	// CreateEventsIgnoreError creates events and ignore the error
	CreateEventsIgnoreError(ctx context.Context, events ...*models.Event) []*models.Event
	// RecordMemberCreatedEvent records members_created event for the given resource that is created
	RecordMemberCreatedEvent(ctx context.Context, resourceType string, resourceID uint) []*models.Event
}

func New

func New(manager *managerparam.Manager) Service

Jump to

Keyboard shortcuts

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