Documentation ¶
Index ¶
- type MethodCall
- type Option
- func Close(f closeFunc) Option
- func FetchKeyrings(f fetchKeyringsFunc) Option
- func FetchKeys(f fetchKeysFunc) Option
- func Insert(f insertFunc) Option
- func MatchKeyword(f resolverFunc) Option
- func MatchMD5(f resolverFunc) Option
- func ModifiedSince(f modifiedSinceFunc) Option
- func RenotifyAll(f renotifyAllFunc) Option
- func Resolve(f resolverFunc) Option
- func Update(f updateFunc) Option
- type Recorder
- type Storage
- func (m *Storage) Close() error
- func (m *Storage) FetchKeyrings(s []string) ([]*storage.Keyring, error)
- func (m *Storage) FetchKeys(s []string) ([]*openpgp.PrimaryKey, error)
- func (m *Storage) Insert(keys []*openpgp.PrimaryKey) (int, error)
- func (m *Storage) MatchKeyword(s []string) ([]string, error)
- func (m *Storage) MatchMD5(s []string) ([]string, error)
- func (m *Storage) ModifiedSince(t time.Time) ([]string, error)
- func (m *Storage) Notify(change storage.KeyChange) error
- func (m *Storage) RenotifyAll() error
- func (m *Storage) Resolve(s []string) ([]string, error)
- func (m *Storage) Subscribe(f func(storage.KeyChange) error)
- func (m *Storage) Update(key *openpgp.PrimaryKey, lastMD5 string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MethodCall ¶
type MethodCall struct { Name string Args []interface{} }
type Option ¶
type Option func(*Storage)
func FetchKeyrings ¶
func FetchKeyrings(f fetchKeyringsFunc) Option
func MatchKeyword ¶
func MatchKeyword(f resolverFunc) Option
func ModifiedSince ¶
func ModifiedSince(f modifiedSinceFunc) Option
func RenotifyAll ¶
func RenotifyAll(f renotifyAllFunc) Option
type Storage ¶
type Storage struct { Recorder // contains filtered or unexported fields }
func NewStorage ¶
func (*Storage) FetchKeyrings ¶
func (*Storage) RenotifyAll ¶
Click to show internal directories.
Click to hide internal directories.