Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher interface {
FetchWallet(path string) (types.Wallet, error)
FetchAccount(path string) (types.Account, error)
}
func NewMemFetcher ¶
NewMemFetcher creates a new in-memory fetcher.
type MemFetcher ¶
type MemFetcher struct {
// contains filtered or unexported fields
}
MemFetcher contains an in-memory cache of wallets and accounts.
func (*MemFetcher) FetchAccount ¶
func (f *MemFetcher) FetchAccount(path string) (types.Account, error)
FetchAccount fetches the account.
func (*MemFetcher) FetchWallet ¶
func (f *MemFetcher) FetchWallet(path string) (types.Wallet, error)
FetchWallet fetches the wallet.
type Ruler ¶
Ruler provides rules matching a path that must succeed before operations can proceed.
func NewStaticRuler ¶
NewStaticruler creates a new static ruler.
type StaticRuler ¶
type StaticRuler struct {
// contains filtered or unexported fields
}
StaticRuler contains a static list of rules.
Click to show internal directories.
Click to hide internal directories.