Documentation
¶
Index ¶
- type Operator
- func (o *Operator) AddPeers(ctx context.Context, s cadata.Store, x State, peers []Peer, nonce owldag.Ref) (*State, error)
- func (o *Operator) Exists(ctx context.Context, s cadata.Store, x State, peer PeerID) (bool, error)
- func (o *Operator) Get(ctx context.Context, s cadata.Getter, x State, id PeerID) (*Peer, error)
- func (o *Operator) List(ctx context.Context, s cadata.Store, x State, peer PeerID) ([]PeerID, error)
- func (o *Operator) Merge(ctx context.Context, s cadata.Store, xs []State) (*State, error)
- func (o *Operator) NewEmpty(ctx context.Context, s cadata.Store, peers []PeerID) (*State, error)
- func (o *Operator) RemovePeers(ctx context.Context, s cadata.Store, x State, peers []PeerID) (*State, error)
- func (o *Operator) Validate(ctx context.Context, s cadata.Getter, authorID PeerID, prev, next State) error
- type Peer
- type PeerID
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.