gocdb

package
v2.26.4 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsListener

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

AccountsListener is the GOCDB accounts listener.

func NewListener

func NewListener(conf *config.Configuration, log *zerolog.Logger) (*AccountsListener, error)

NewListener creates a new GOCDB accounts listener.

func (*AccountsListener) AccountCreated

func (listener *AccountsListener) AccountCreated(account *data.Account)

AccountCreated is called whenever an account was created.

func (*AccountsListener) AccountRemoved

func (listener *AccountsListener) AccountRemoved(account *data.Account)

AccountRemoved is called whenever an account was removed.

func (*AccountsListener) AccountUpdated

func (listener *AccountsListener) AccountUpdated(account *data.Account)

AccountUpdated is called whenever an account was updated.

Jump to

Keyboard shortcuts

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