Documentation
¶
Overview ¶
Package engine implements the notesd API domains over the store and the vaults' actors (docs/design/overview.md).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine owns the domain services.
func New ¶
New returns an Engine over db, whose vaults the manager runs; it must have started. h serves the hub and log domains and s the sync domain (docs/specs/sync-protocol.md); either may be nil, and its domains then answer unavailable.
func (*Engine) Vaults ¶
func (e *Engine) Vaults() api.VaultService
Vaults implements the vault domain.