Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUpdatingWrongAccount raised if caller tries to update any other account except one used for login. ErrUpdatingWrongAccount = errors.New("failed to update wrong account. Please login with that account first") )
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API is class with methods available over RPC.
func (*API) DeleteAccount ¶ added in v0.38.1
func (*API) GetAccounts ¶
type MultiAccountsAPI ¶
type MultiAccountsAPI struct {
// contains filtered or unexported fields
}
MultiAccountsAPI is class with methods available over RPC.
func NewMultiAccountsAPI ¶
func NewMultiAccountsAPI(db *multiaccounts.Database, manager *account.Manager) *MultiAccountsAPI
func (*MultiAccountsAPI) UpdateAccount ¶
func (api *MultiAccountsAPI) UpdateAccount(account multiaccounts.Account) error
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a browsers service.
func NewService ¶
func NewService(db *accounts.Database, mdb *multiaccounts.Database, manager *account.Manager, feed *event.Feed) *Service
NewService initializes service instance.
type SettingsAPI ¶
type SettingsAPI struct {
// contains filtered or unexported fields
}
SettingsAPI is class with methods available over RPC.
func NewSettingsAPI ¶
func NewSettingsAPI(db *accounts.Database) *SettingsAPI
func (*SettingsAPI) GetSettings ¶ added in v0.38.4
func (*SettingsAPI) SaveSetting ¶ added in v0.38.4
func (api *SettingsAPI) SaveSetting(ctx context.Context, typ string, val interface{}) error
Click to show internal directories.
Click to hide internal directories.