eventiface

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Servicer

type Servicer interface {
	// AccountCreate publish events
	AccountCreate(data *account.Account) error
	// AccountDelete publish events
	AccountDelete(data *account.Account) error
	// AccountUpdate publish events
	AccountUpdate(old *account.Account, new *account.Account) error
	// AccountReset publish events
	AccountReset(data *account.Account) error
	// LeaseCreate publish events
	LeaseCreate(data *lease.Lease) error
	// LeaseEnd publish events
	LeaseEnd(data *lease.Lease) error
	// LeaseUpdate publish events
	LeaseUpdate(old *lease.Lease, new *lease.Lease) error
}

Servicer makes work with the event Hub easier

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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