events

package
v3.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 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
}

func (AddressModeChanged) String

func (event AddressModeChanged) String() string

type AllUsersLoaded

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

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 UserChanged

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

func (UserChanged) String

func (event UserChanged) String() string

type UserDeauth

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

func (UserDeauth) String

func (event UserDeauth) String() string

type UserDeleted

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

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
	Name    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
}

func (UserLoadFail) String

func (event UserLoadFail) String() string

type UserLoadSuccess

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

func (UserLoadSuccess) String

func (event UserLoadSuccess) String() string

type UserLoading

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

func (UserLoading) String

func (event UserLoading) String() string

type UserLoggedIn

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

func (UserLoggedIn) String

func (event UserLoggedIn) String() string

type UserLoggedOut

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

func (UserLoggedOut) String

func (event UserLoggedOut) String() string

type UserRefreshed

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

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