Documentation
¶
Index ¶
- type Context
- type Message
- type RPCInterface
- func (r RPCInterface) Clear(ctx context.Context, request *proto.ClearRequest) (*proto.ClearResponse, error)
- func (r RPCInterface) Get(ctx context.Context, request *proto.GetRequest) (*proto.GetResponse, error)
- func (r RPCInterface) List(ctx context.Context, request *proto.ListRequest) (*proto.ListResponse, error)
- func (r RPCInterface) Remove(ctx context.Context, request *proto.RemoveRequest) (*proto.RemoveResponse, error)
- func (r RPCInterface) Set(ctx context.Context, request *proto.SetRequest) (*proto.SetResponse, error)
- type Snapshot
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context is a cluster-wide shared, distributed context.
func NewContext ¶
type RPCInterface ¶
type RPCInterface struct { proto.UnimplementedContextServer // contains filtered or unexported fields }
func NewRPCInterface ¶
func (RPCInterface) Clear ¶
func (r RPCInterface) Clear(ctx context.Context, request *proto.ClearRequest) (*proto.ClearResponse, error)
func (RPCInterface) Get ¶
func (r RPCInterface) Get(ctx context.Context, request *proto.GetRequest) (*proto.GetResponse, error)
func (RPCInterface) List ¶
func (r RPCInterface) List(ctx context.Context, request *proto.ListRequest) (*proto.ListResponse, error)
func (RPCInterface) Remove ¶
func (r RPCInterface) Remove(ctx context.Context, request *proto.RemoveRequest) (*proto.RemoveResponse, error)
func (RPCInterface) Set ¶
func (r RPCInterface) Set(ctx context.Context, request *proto.SetRequest) (*proto.SetResponse, error)
Click to show internal directories.
Click to hide internal directories.