Documentation ¶
Index ¶
- type CRDT
- func (c *CRDT) BulkDelete(req []state.DeleteRequest) error
- func (c *CRDT) BulkGet(req []state.GetRequest) (bool, []state.BulkGetResponse, error)
- func (c *CRDT) BulkSet(req []state.SetRequest) error
- func (c *CRDT) Delete(req *state.DeleteRequest) error
- func (c *CRDT) Discover(ctx context.Context, in *pb.ProxyInfo) (*pb.EntitySpec, error)
- func (c *CRDT) Features() []state.Feature
- func (c *CRDT) Get(req *state.GetRequest) (*state.GetResponse, error)
- func (c *CRDT) Handle(srv pb.Crdt_HandleServer) error
- func (c *CRDT) Init(metadata state.Metadata) error
- func (c *CRDT) Ping() error
- func (c *CRDT) ReportError(ctx context.Context, in *pb.UserFunctionError) (*empty.Empty, error)
- func (c *CRDT) Set(req *state.SetRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRDT ¶
type CRDT struct {
// contains filtered or unexported fields
}
func (*CRDT) BulkDelete ¶
func (c *CRDT) BulkDelete(req []state.DeleteRequest) error
BulkDelete performs a bulk delete operation
func (*CRDT) BulkGet ¶ added in v1.0.0
func (c *CRDT) BulkGet(req []state.GetRequest) (bool, []state.BulkGetResponse, error)
BulkGet performs a bulks get operations
func (*CRDT) BulkSet ¶
func (c *CRDT) BulkSet(req []state.SetRequest) error
BulkSet performs a bulks save operation
func (*CRDT) Delete ¶
func (c *CRDT) Delete(req *state.DeleteRequest) error
Delete performs a delete operation
func (*CRDT) Get ¶
func (c *CRDT) Get(req *state.GetRequest) (*state.GetResponse, error)
Get retrieves state from CloudState with a key
func (*CRDT) ReportError ¶
Click to show internal directories.
Click to hide internal directories.