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.
Click to show internal directories.
Click to hide internal directories.