events

package
v3.0.15 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressModeChanged

type AddressModeChanged struct {
	UserID string

	AddressMode vault.AddressMode
	// contains filtered or unexported fields
}

AddressModeChanged is emitted when a user's address mode has changed.

func (AddressModeChanged) String

func (event AddressModeChanged) String() string

type AllUsersLoaded

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

AllUsersLoaded is emitted when all users have been loaded.

func (AllUsersLoaded) String

func (event AllUsersLoaded) String() string

type ConnStatusDown

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

func (ConnStatusDown) String

func (event ConnStatusDown) String() string

type ConnStatusUp

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

func (ConnStatusUp) String

func (event ConnStatusUp) String() string

type Error

type Error struct {
	Error error
	// contains filtered or unexported fields
}

func (Error) String

func (event Error) String() string

type Event

type Event interface {
	fmt.Stringer
	// contains filtered or unexported methods
}

type Raise

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

func (Raise) String

func (event Raise) String() string

type SyncFailed

type SyncFailed struct {
	UserID string
	Error  error
	// contains filtered or unexported fields
}

func (SyncFailed) String

func (event SyncFailed) String() string

type SyncFinished

type SyncFinished struct {
	UserID string
	// contains filtered or unexported fields
}

func (SyncFinished) String

func (event SyncFinished) String() string

type SyncProgress

type SyncProgress struct {
	UserID    string
	Progress  float64
	Elapsed   time.Duration
	Remaining time.Duration
	// contains filtered or unexported fields
}

func (SyncProgress) String

func (event SyncProgress) String() string

type SyncStarted

type SyncStarted struct {
	UserID string
	// contains filtered or unexported fields
}

func (SyncStarted) String

func (event SyncStarted) String() string

type TLSIssue

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

func (TLSIssue) String

func (event TLSIssue) String() string

type UpdateAvailable

type UpdateAvailable struct {
	Version updater.VersionInfo

	// Compatible is true if the update can be installed automatically.
	Compatible bool

	// Silent is true if the update will be installed silently.
	Silent bool
	// contains filtered or unexported fields
}

UpdateAvailable is published when an update is available. If the update is compatible (can be installed automatically), Compatible is true. If the update will be installed silently (without user interaction), Silent is true.

func (UpdateAvailable) String

func (event UpdateAvailable) String() string

type UpdateCheckFailed

type UpdateCheckFailed struct {
	Error error
	// contains filtered or unexported fields
}

UpdateCheckFailed is published when the update check fails.

func (UpdateCheckFailed) String

func (event UpdateCheckFailed) String() string

type UpdateFailed

type UpdateFailed struct {
	Version updater.VersionInfo

	Silent bool

	Error error
	// contains filtered or unexported fields
}

UpdateFailed is published when an update fails to be installed.

func (UpdateFailed) String

func (event UpdateFailed) String() string

type UpdateForced

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

UpdateForced is published when the bridge version is too old and must be updated.

func (UpdateForced) String

func (event UpdateForced) String() string

type UpdateInstalled

type UpdateInstalled struct {
	Version updater.VersionInfo

	Silent bool
	// contains filtered or unexported fields
}

UpdateInstalled is published when an update has been installed.

func (UpdateInstalled) String

func (event UpdateInstalled) String() string

type UpdateInstalling

type UpdateInstalling struct {
	Version updater.VersionInfo

	Silent bool
	// contains filtered or unexported fields
}

UpdateInstalling is published when bridge begins installing an update.

func (UpdateInstalling) String

func (event UpdateInstalling) String() string

type UpdateLatest

type UpdateLatest struct {
	Version updater.VersionInfo
	// contains filtered or unexported fields
}

UpdateLatest is published when the latest version of bridge is known.

func (UpdateLatest) String

func (event UpdateLatest) String() string

type UpdateNotAvailable

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

UpdateNotAvailable is published when no update is available.

func (UpdateNotAvailable) String

func (event UpdateNotAvailable) String() string

type UserAddressCreated

type UserAddressCreated struct {
	UserID    string
	AddressID string
	Email     string
	// contains filtered or unexported fields
}

func (UserAddressCreated) String

func (event UserAddressCreated) String() string

type UserAddressDeleted

type UserAddressDeleted struct {
	UserID    string
	AddressID string
	Email     string
	// contains filtered or unexported fields
}

func (UserAddressDeleted) String

func (event UserAddressDeleted) String() string

type UserAddressUpdated

type UserAddressUpdated struct {
	UserID    string
	AddressID string
	Email     string
	// contains filtered or unexported fields
}

func (UserAddressUpdated) String

func (event UserAddressUpdated) String() string

type UserBadEvent added in v3.0.12

type UserBadEvent struct {
	UserID string
	Error  error
	// contains filtered or unexported fields
}

UserBadEvent is emitted when a user cannot apply an event.

func (UserBadEvent) String added in v3.0.12

func (event UserBadEvent) String() string

type UserChanged

type UserChanged struct {
	UserID string
	// contains filtered or unexported fields
}

UserChanged is emitted when a user's data has changed (name, email, etc.).

func (UserChanged) String

func (event UserChanged) String() string

type UserDeauth

type UserDeauth struct {
	UserID string
	// contains filtered or unexported fields
}

UserDeauth is emitted when a user has lost its API authentication.

func (UserDeauth) String

func (event UserDeauth) String() string

type UserDeleted

type UserDeleted struct {
	UserID string
	// contains filtered or unexported fields
}

UserDeleted is emitted when a user has been deleted.

func (UserDeleted) String

func (event UserDeleted) String() string

type UserLabelCreated

type UserLabelCreated struct {
	UserID  string
	LabelID string
	Name    string
	// contains filtered or unexported fields
}

func (UserLabelCreated) String

func (event UserLabelCreated) String() string

type UserLabelDeleted

type UserLabelDeleted struct {
	UserID  string
	LabelID string
	// contains filtered or unexported fields
}

func (UserLabelDeleted) String

func (event UserLabelDeleted) String() string

type UserLabelUpdated

type UserLabelUpdated struct {
	UserID  string
	LabelID string
	Name    string
	// contains filtered or unexported fields
}

func (UserLabelUpdated) String

func (event UserLabelUpdated) String() string

type UserLoadFail

type UserLoadFail struct {
	UserID string
	Error  error
	// contains filtered or unexported fields
}

UserLoadFail is emitted when a user has failed to load.

func (UserLoadFail) String

func (event UserLoadFail) String() string

type UserLoadSuccess

type UserLoadSuccess struct {
	UserID string
	// contains filtered or unexported fields
}

UserLoadSuccess is emitted when a user has been loaded successfully.

func (UserLoadSuccess) String

func (event UserLoadSuccess) String() string

type UserLoading

type UserLoading struct {
	UserID string
	// contains filtered or unexported fields
}

UserLoading is emitted when a user is being loaded.

func (UserLoading) String

func (event UserLoading) String() string

type UserLoggedIn

type UserLoggedIn struct {
	UserID string
	// contains filtered or unexported fields
}

UserLoggedIn is emitted when a user has logged in.

func (UserLoggedIn) String

func (event UserLoggedIn) String() string

type UserLoggedOut

type UserLoggedOut struct {
	UserID string
	// contains filtered or unexported fields
}

UserLoggedOut is emitted when a user has logged out.

func (UserLoggedOut) String

func (event UserLoggedOut) String() string

type UserRefreshed

type UserRefreshed struct {
	UserID string
	// contains filtered or unexported fields
}

UserRefreshed is emitted when an API refresh was issued for a user.

func (UserRefreshed) String

func (event UserRefreshed) String() string

Jump to

Keyboard shortcuts

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