Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { Init() error Type() Type WithLogFunc(logFunc func(level, message string, err error)) Store // trust grant tokens PutTrustGrantToken(token *types.StoredData) (string, error) DeleteTrustGrantTokens(ids []string) error GetTrustGrantTokens(ids []string) ([]*types.StoredData, error) // keypairs PutKeyPair(pair *types.StoredData) (string, error) DeleteKeyPairs(id []string) error GetKeyPairs(ids []string) ([]*types.StoredData, error) // trusts PutTrust(trust *types.StoredData) (string, error) DeleteTrusts(ids []string) error GetTrusts(ids []string) ([]*types.StoredData, error) }
Store interface to a store
Click to show internal directories.
Click to hide internal directories.