Documentation
¶
Index ¶
- type DirectMessage
- type Operator
- func (o *Operator) Delete(ctx context.Context, s cadata.Store, x State, name string) (*State, error)
- func (o *Operator) Exists(ctx context.Context, s cadata.Store, x State, name string) (bool, error)
- func (o *Operator) Get(ctx context.Context, s cadata.Store, x State, name string) (*Value, error)
- func (o *Operator) List(ctx context.Context, s cadata.Store, x State, span state.Span[string]) (ret []string, _ error)
- func (o *Operator) Merge(ctx context.Context, s cadata.Store, xs []State) (*State, error)
- func (o *Operator) New(ctx context.Context, s cadata.Store) (*State, error)
- func (o *Operator) Put(ctx context.Context, s cadata.Store, x State, name string, v Value) (*State, error)
- type Scheme
- func (p *Scheme) CanRead(ctx context.Context, s cadata.Getter, x State, peer owldag.PeerID) (bool, error)
- func (p *Scheme) ListPeers(ctx context.Context, s cadata.Getter, x State) ([]owldag.PeerID, error)
- func (p *Scheme) Merge(ctx context.Context, s cadata.Store, xs []State) (*State, error)
- func (p *Scheme) Sync(ctx context.Context, src cadata.Getter, dst cadata.Store, x State) error
- func (p *Scheme) Validate(ctx context.Context, s cadata.Getter, consult owldag.ConsultFunc, x State) error
- func (p *Scheme) ValidateStep(ctx context.Context, s cadata.Getter, consult owldag.ConsultFunc, ...) error
- type State
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectMessage ¶
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
type Scheme ¶
type Scheme struct {
// contains filtered or unexported fields
}
type Value ¶
type Value struct {
DirectMessage *DirectMessage `json:"direct_message"`
}
Click to show internal directories.
Click to hide internal directories.