Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNonceReused = errors.New("nonce reused")
ErrNonceReused may be returned by [NonceChecker.CheckNonce].
Functions ¶
This section is empty.
Types ¶
type Inventory ¶
type Inventory interface { GetModule(ctx Context, pri principal.ID, key string, buf proto.Message) (found bool, err error) PutModule(ctx Context, pri principal.ID, key string, buf proto.Message) error UpdateModule(ctx Context, pri principal.ID, key string, buf proto.Message) error RemoveModule(ctx Context, pri principal.ID, key string) error GetInstance(ctx Context, pri principal.ID, key string, buf proto.Message) (found bool, err error) PutInstance(ctx Context, pri principal.ID, key string, buf proto.Message) error UpdateInstance(ctx Context, pri principal.ID, key string, buf proto.Message) error RemoveInstance(ctx Context, pri principal.ID, key string) error }
type NonceChecker ¶
Click to show internal directories.
Click to hide internal directories.