Documentation ¶
Index ¶
- Variables
- func HandleError(err error) error
- type DeleteValueInnerRequest
- func (*DeleteValueInnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteValueInnerRequest) GetKey() string
- func (*DeleteValueInnerRequest) ProtoMessage()
- func (x *DeleteValueInnerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteValueInnerRequest) Reset()
- func (x *DeleteValueInnerRequest) String() string
- type DeleteValueInnerResponse
- func (*DeleteValueInnerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteValueInnerResponse) GetSuccess() bool
- func (*DeleteValueInnerResponse) ProtoMessage()
- func (x *DeleteValueInnerResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteValueInnerResponse) Reset()
- func (x *DeleteValueInnerResponse) String() string
- type DeleteValueRequest
- type DeleteValueResponse
- func (*DeleteValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteValueResponse) GetSuccess() bool
- func (*DeleteValueResponse) ProtoMessage()
- func (x *DeleteValueResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteValueResponse) Reset()
- func (x *DeleteValueResponse) String() string
- type FindHostRequest
- type FindRequest
- type GetValueInnerRequest
- func (*GetValueInnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetValueInnerRequest) GetKey() string
- func (*GetValueInnerRequest) ProtoMessage()
- func (x *GetValueInnerRequest) ProtoReflect() protoreflect.Message
- func (x *GetValueInnerRequest) Reset()
- func (x *GetValueInnerRequest) String() string
- type GetValueInnerResponse
- func (*GetValueInnerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetValueInnerResponse) GetSuccess() bool
- func (x *GetValueInnerResponse) GetValue() string
- func (*GetValueInnerResponse) ProtoMessage()
- func (x *GetValueInnerResponse) ProtoReflect() protoreflect.Message
- func (x *GetValueInnerResponse) Reset()
- func (x *GetValueInnerResponse) String() string
- type GetValueRequest
- type GetValueResponse
- func (*GetValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetValueResponse) GetSuccess() bool
- func (x *GetValueResponse) GetValue() string
- func (*GetValueResponse) ProtoMessage()
- func (x *GetValueResponse) ProtoReflect() protoreflect.Message
- func (x *GetValueResponse) Reset()
- func (x *GetValueResponse) String() string
- type Node
- type Nodes
- type PutValueInnerRequest
- func (*PutValueInnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutValueInnerRequest) GetKey() string
- func (x *PutValueInnerRequest) GetValue() string
- func (*PutValueInnerRequest) ProtoMessage()
- func (x *PutValueInnerRequest) ProtoReflect() protoreflect.Message
- func (x *PutValueInnerRequest) Reset()
- func (x *PutValueInnerRequest) String() string
- type PutValueInnerResponse
- func (*PutValueInnerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutValueInnerResponse) GetSuccess() bool
- func (*PutValueInnerResponse) ProtoMessage()
- func (x *PutValueInnerResponse) ProtoReflect() protoreflect.Message
- func (x *PutValueInnerResponse) Reset()
- func (x *PutValueInnerResponse) String() string
- type PutValueRequest
- func (*PutValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutValueRequest) GetKey() string
- func (x *PutValueRequest) GetValue() string
- func (*PutValueRequest) ProtoMessage()
- func (x *PutValueRequest) ProtoReflect() protoreflect.Message
- func (x *PutValueRequest) Reset()
- func (x *PutValueRequest) String() string
- type PutValueResponse
Constants ¶
This section is empty.
Variables ¶
var File_server_node_proto protoreflect.FileDescriptor
var File_server_private_proto protoreflect.FileDescriptor
var File_server_public_proto protoreflect.FileDescriptor
Functions ¶
func HandleError ¶
Types ¶
type DeleteValueInnerRequest ¶
type DeleteValueInnerRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DeleteValueInnerRequest) Descriptor
deprecated
func (*DeleteValueInnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteValueInnerRequest.ProtoReflect.Descriptor instead.
func (*DeleteValueInnerRequest) GetKey ¶
func (x *DeleteValueInnerRequest) GetKey() string
func (*DeleteValueInnerRequest) ProtoMessage ¶
func (*DeleteValueInnerRequest) ProtoMessage()
func (*DeleteValueInnerRequest) ProtoReflect ¶
func (x *DeleteValueInnerRequest) ProtoReflect() protoreflect.Message
func (*DeleteValueInnerRequest) Reset ¶
func (x *DeleteValueInnerRequest) Reset()
func (*DeleteValueInnerRequest) String ¶
func (x *DeleteValueInnerRequest) String() string
type DeleteValueInnerResponse ¶
type DeleteValueInnerResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*DeleteValueInnerResponse) Descriptor
deprecated
func (*DeleteValueInnerResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteValueInnerResponse.ProtoReflect.Descriptor instead.
func (*DeleteValueInnerResponse) GetSuccess ¶
func (x *DeleteValueInnerResponse) GetSuccess() bool
func (*DeleteValueInnerResponse) ProtoMessage ¶
func (*DeleteValueInnerResponse) ProtoMessage()
func (*DeleteValueInnerResponse) ProtoReflect ¶
func (x *DeleteValueInnerResponse) ProtoReflect() protoreflect.Message
func (*DeleteValueInnerResponse) Reset ¶
func (x *DeleteValueInnerResponse) Reset()
func (*DeleteValueInnerResponse) String ¶
func (x *DeleteValueInnerResponse) String() string
type DeleteValueRequest ¶
type DeleteValueRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DeleteValueRequest) Descriptor
deprecated
func (*DeleteValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteValueRequest.ProtoReflect.Descriptor instead.
func (*DeleteValueRequest) GetKey ¶
func (x *DeleteValueRequest) GetKey() string
func (*DeleteValueRequest) ProtoMessage ¶
func (*DeleteValueRequest) ProtoMessage()
func (*DeleteValueRequest) ProtoReflect ¶
func (x *DeleteValueRequest) ProtoReflect() protoreflect.Message
func (*DeleteValueRequest) Reset ¶
func (x *DeleteValueRequest) Reset()
func (*DeleteValueRequest) String ¶
func (x *DeleteValueRequest) String() string
type DeleteValueResponse ¶
type DeleteValueResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*DeleteValueResponse) Descriptor
deprecated
func (*DeleteValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteValueResponse.ProtoReflect.Descriptor instead.
func (*DeleteValueResponse) GetSuccess ¶
func (x *DeleteValueResponse) GetSuccess() bool
func (*DeleteValueResponse) ProtoMessage ¶
func (*DeleteValueResponse) ProtoMessage()
func (*DeleteValueResponse) ProtoReflect ¶
func (x *DeleteValueResponse) ProtoReflect() protoreflect.Message
func (*DeleteValueResponse) Reset ¶
func (x *DeleteValueResponse) Reset()
func (*DeleteValueResponse) String ¶
func (x *DeleteValueResponse) String() string
type FindHostRequest ¶
type FindHostRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*FindHostRequest) Descriptor
deprecated
func (*FindHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindHostRequest.ProtoReflect.Descriptor instead.
func (*FindHostRequest) GetKey ¶
func (x *FindHostRequest) GetKey() string
func (*FindHostRequest) ProtoMessage ¶
func (*FindHostRequest) ProtoMessage()
func (*FindHostRequest) ProtoReflect ¶
func (x *FindHostRequest) ProtoReflect() protoreflect.Message
func (*FindHostRequest) Reset ¶
func (x *FindHostRequest) Reset()
func (*FindHostRequest) String ¶
func (x *FindHostRequest) String() string
type FindRequest ¶
type FindRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FindRequest) Descriptor
deprecated
func (*FindRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindRequest.ProtoReflect.Descriptor instead.
func (*FindRequest) GetId ¶
func (x *FindRequest) GetId() []byte
func (*FindRequest) ProtoMessage ¶
func (*FindRequest) ProtoMessage()
func (*FindRequest) ProtoReflect ¶
func (x *FindRequest) ProtoReflect() protoreflect.Message
func (*FindRequest) Reset ¶
func (x *FindRequest) Reset()
func (*FindRequest) String ¶
func (x *FindRequest) String() string
type GetValueInnerRequest ¶
type GetValueInnerRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*GetValueInnerRequest) Descriptor
deprecated
func (*GetValueInnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetValueInnerRequest.ProtoReflect.Descriptor instead.
func (*GetValueInnerRequest) GetKey ¶
func (x *GetValueInnerRequest) GetKey() string
func (*GetValueInnerRequest) ProtoMessage ¶
func (*GetValueInnerRequest) ProtoMessage()
func (*GetValueInnerRequest) ProtoReflect ¶
func (x *GetValueInnerRequest) ProtoReflect() protoreflect.Message
func (*GetValueInnerRequest) Reset ¶
func (x *GetValueInnerRequest) Reset()
func (*GetValueInnerRequest) String ¶
func (x *GetValueInnerRequest) String() string
type GetValueInnerResponse ¶
type GetValueInnerResponse struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*GetValueInnerResponse) Descriptor
deprecated
func (*GetValueInnerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetValueInnerResponse.ProtoReflect.Descriptor instead.
func (*GetValueInnerResponse) GetSuccess ¶
func (x *GetValueInnerResponse) GetSuccess() bool
func (*GetValueInnerResponse) GetValue ¶
func (x *GetValueInnerResponse) GetValue() string
func (*GetValueInnerResponse) ProtoMessage ¶
func (*GetValueInnerResponse) ProtoMessage()
func (*GetValueInnerResponse) ProtoReflect ¶
func (x *GetValueInnerResponse) ProtoReflect() protoreflect.Message
func (*GetValueInnerResponse) Reset ¶
func (x *GetValueInnerResponse) Reset()
func (*GetValueInnerResponse) String ¶
func (x *GetValueInnerResponse) String() string
type GetValueRequest ¶
type GetValueRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*GetValueRequest) Descriptor
deprecated
func (*GetValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetValueRequest.ProtoReflect.Descriptor instead.
func (*GetValueRequest) GetKey ¶
func (x *GetValueRequest) GetKey() string
func (*GetValueRequest) ProtoMessage ¶
func (*GetValueRequest) ProtoMessage()
func (*GetValueRequest) ProtoReflect ¶
func (x *GetValueRequest) ProtoReflect() protoreflect.Message
func (*GetValueRequest) Reset ¶
func (x *GetValueRequest) Reset()
func (*GetValueRequest) String ¶
func (x *GetValueRequest) String() string
type GetValueResponse ¶
type GetValueResponse struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*GetValueResponse) Descriptor
deprecated
func (*GetValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetValueResponse.ProtoReflect.Descriptor instead.
func (*GetValueResponse) GetSuccess ¶
func (x *GetValueResponse) GetSuccess() bool
func (*GetValueResponse) GetValue ¶
func (x *GetValueResponse) GetValue() string
func (*GetValueResponse) ProtoMessage ¶
func (*GetValueResponse) ProtoMessage()
func (*GetValueResponse) ProtoReflect ¶
func (x *GetValueResponse) ProtoReflect() protoreflect.Message
func (*GetValueResponse) Reset ¶
func (x *GetValueResponse) Reset()
func (*GetValueResponse) String ¶
func (x *GetValueResponse) String() string
type Node ¶
type Node struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type Nodes ¶
type Nodes struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*Nodes) Descriptor
deprecated
func (*Nodes) ProtoMessage ¶
func (*Nodes) ProtoMessage()
func (*Nodes) ProtoReflect ¶
func (x *Nodes) ProtoReflect() protoreflect.Message
type PutValueInnerRequest ¶
type PutValueInnerRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*PutValueInnerRequest) Descriptor
deprecated
func (*PutValueInnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutValueInnerRequest.ProtoReflect.Descriptor instead.
func (*PutValueInnerRequest) GetKey ¶
func (x *PutValueInnerRequest) GetKey() string
func (*PutValueInnerRequest) GetValue ¶
func (x *PutValueInnerRequest) GetValue() string
func (*PutValueInnerRequest) ProtoMessage ¶
func (*PutValueInnerRequest) ProtoMessage()
func (*PutValueInnerRequest) ProtoReflect ¶
func (x *PutValueInnerRequest) ProtoReflect() protoreflect.Message
func (*PutValueInnerRequest) Reset ¶
func (x *PutValueInnerRequest) Reset()
func (*PutValueInnerRequest) String ¶
func (x *PutValueInnerRequest) String() string
type PutValueInnerResponse ¶
type PutValueInnerResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*PutValueInnerResponse) Descriptor
deprecated
func (*PutValueInnerResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutValueInnerResponse.ProtoReflect.Descriptor instead.
func (*PutValueInnerResponse) GetSuccess ¶
func (x *PutValueInnerResponse) GetSuccess() bool
func (*PutValueInnerResponse) ProtoMessage ¶
func (*PutValueInnerResponse) ProtoMessage()
func (*PutValueInnerResponse) ProtoReflect ¶
func (x *PutValueInnerResponse) ProtoReflect() protoreflect.Message
func (*PutValueInnerResponse) Reset ¶
func (x *PutValueInnerResponse) Reset()
func (*PutValueInnerResponse) String ¶
func (x *PutValueInnerResponse) String() string
type PutValueRequest ¶
type PutValueRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*PutValueRequest) Descriptor
deprecated
func (*PutValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutValueRequest.ProtoReflect.Descriptor instead.
func (*PutValueRequest) GetKey ¶
func (x *PutValueRequest) GetKey() string
func (*PutValueRequest) GetValue ¶
func (x *PutValueRequest) GetValue() string
func (*PutValueRequest) ProtoMessage ¶
func (*PutValueRequest) ProtoMessage()
func (*PutValueRequest) ProtoReflect ¶
func (x *PutValueRequest) ProtoReflect() protoreflect.Message
func (*PutValueRequest) Reset ¶
func (x *PutValueRequest) Reset()
func (*PutValueRequest) String ¶
func (x *PutValueRequest) String() string
type PutValueResponse ¶
type PutValueResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*PutValueResponse) Descriptor
deprecated
func (*PutValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutValueResponse.ProtoReflect.Descriptor instead.
func (*PutValueResponse) GetSuccess ¶
func (x *PutValueResponse) GetSuccess() bool
func (*PutValueResponse) ProtoMessage ¶
func (*PutValueResponse) ProtoMessage()
func (*PutValueResponse) ProtoReflect ¶
func (x *PutValueResponse) ProtoReflect() protoreflect.Message
func (*PutValueResponse) Reset ¶
func (x *PutValueResponse) Reset()
func (*PutValueResponse) String ¶
func (x *PutValueResponse) String() string