Documentation
¶
Index ¶
- Variables
- type CmdMethod
- type CtlResult
- type DNPingRequest
- func (*DNPingRequest) Descriptor() ([]byte, []int)
- func (m *DNPingRequest) GetParameter() string
- func (m *DNPingRequest) Marshal() (dAtA []byte, err error)
- func (m *DNPingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DNPingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DNPingRequest) ProtoMessage()
- func (m *DNPingRequest) Reset()
- func (m *DNPingRequest) Size() (n int)
- func (m *DNPingRequest) String() string
- func (m *DNPingRequest) Unmarshal(dAtA []byte) error
- func (m *DNPingRequest) XXX_DiscardUnknown()
- func (m *DNPingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DNPingRequest) XXX_Merge(src proto.Message)
- func (m *DNPingRequest) XXX_Size() int
- func (m *DNPingRequest) XXX_Unmarshal(b []byte) error
- type DNPingResponse
- func (*DNPingResponse) Descriptor() ([]byte, []int)
- func (m *DNPingResponse) GetLogShardID() uint64
- func (m *DNPingResponse) GetReplicaID() uint64
- func (m *DNPingResponse) GetServiceAddress() string
- func (m *DNPingResponse) GetShardID() uint64
- func (m *DNPingResponse) GetStoreID() string
- func (m *DNPingResponse) Marshal() (dAtA []byte, err error)
- func (m *DNPingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DNPingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DNPingResponse) ProtoMessage()
- func (m *DNPingResponse) Reset()
- func (m *DNPingResponse) Size() (n int)
- func (m *DNPingResponse) String() string
- func (m *DNPingResponse) Unmarshal(dAtA []byte) error
- func (m *DNPingResponse) XXX_DiscardUnknown()
- func (m *DNPingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DNPingResponse) XXX_Merge(src proto.Message)
- func (m *DNPingResponse) XXX_Size() int
- func (m *DNPingResponse) XXX_Unmarshal(b []byte) error
- type DNStringResponse
- func (*DNStringResponse) Descriptor() ([]byte, []int)
- func (m *DNStringResponse) GetReturnStr() string
- func (m *DNStringResponse) Marshal() (dAtA []byte, err error)
- func (m *DNStringResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DNStringResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DNStringResponse) ProtoMessage()
- func (m *DNStringResponse) Reset()
- func (m *DNStringResponse) Size() (n int)
- func (m *DNStringResponse) String() string
- func (m *DNStringResponse) Unmarshal(dAtA []byte) error
- func (m *DNStringResponse) XXX_DiscardUnknown()
- func (m *DNStringResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DNStringResponse) XXX_Merge(src proto.Message)
- func (m *DNStringResponse) XXX_Size() int
- func (m *DNStringResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthCtl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCtl = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCtl = fmt.Errorf("proto: unexpected end of group") )
View Source
var CmdMethod_name = map[int32]string{
0: "Ping",
1: "Flush",
2: "Task",
}
View Source
var CmdMethod_value = map[string]int32{
"Ping": 0,
"Flush": 1,
"Task": 2,
}
Functions ¶
This section is empty.
Types ¶
type CmdMethod ¶
type CmdMethod int32
CmdMethod debug command method
func (CmdMethod) EnumDescriptor ¶
type CtlResult ¶
type CtlResult struct {
Method string `json:"method"`
Data interface{} `json:"result"`
}
CtlResult ctl result
type DNPingRequest ¶
type DNPingRequest struct {
Parameter string `protobuf:"bytes,1,opt,name=parameter,proto3" json:"parameter,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
DNPingRequest ping request
func (*DNPingRequest) Descriptor ¶
func (*DNPingRequest) Descriptor() ([]byte, []int)
func (*DNPingRequest) GetParameter ¶
func (m *DNPingRequest) GetParameter() string
func (*DNPingRequest) Marshal ¶
func (m *DNPingRequest) Marshal() (dAtA []byte, err error)
func (*DNPingRequest) MarshalToSizedBuffer ¶
func (m *DNPingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DNPingRequest) ProtoMessage ¶
func (*DNPingRequest) ProtoMessage()
func (*DNPingRequest) Reset ¶
func (m *DNPingRequest) Reset()
func (*DNPingRequest) Size ¶
func (m *DNPingRequest) Size() (n int)
func (*DNPingRequest) String ¶
func (m *DNPingRequest) String() string
func (*DNPingRequest) Unmarshal ¶
func (m *DNPingRequest) Unmarshal(dAtA []byte) error
func (*DNPingRequest) XXX_DiscardUnknown ¶
func (m *DNPingRequest) XXX_DiscardUnknown()
func (*DNPingRequest) XXX_Marshal ¶
func (m *DNPingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DNPingRequest) XXX_Merge ¶
func (m *DNPingRequest) XXX_Merge(src proto.Message)
func (*DNPingRequest) XXX_Size ¶
func (m *DNPingRequest) XXX_Size() int
func (*DNPingRequest) XXX_Unmarshal ¶
func (m *DNPingRequest) XXX_Unmarshal(b []byte) error
type DNPingResponse ¶
type DNPingResponse struct {
StoreID string `protobuf:"bytes,1,opt,name=storeID,proto3" json:"storeID,omitempty"`
ServiceAddress string `protobuf:"bytes,2,opt,name=serviceAddress,proto3" json:"serviceAddress,omitempty"`
ShardID uint64 `protobuf:"varint,3,opt,name=shardID,proto3" json:"shardID,omitempty"`
ReplicaID uint64 `protobuf:"varint,4,opt,name=replicaID,proto3" json:"replicaID,omitempty"`
LogShardID uint64 `protobuf:"varint,5,opt,name=logShardID,proto3" json:"logShardID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
DNPingResponse ping response
func (*DNPingResponse) Descriptor ¶
func (*DNPingResponse) Descriptor() ([]byte, []int)
func (*DNPingResponse) GetLogShardID ¶
func (m *DNPingResponse) GetLogShardID() uint64
func (*DNPingResponse) GetReplicaID ¶
func (m *DNPingResponse) GetReplicaID() uint64
func (*DNPingResponse) GetServiceAddress ¶
func (m *DNPingResponse) GetServiceAddress() string
func (*DNPingResponse) GetShardID ¶
func (m *DNPingResponse) GetShardID() uint64
func (*DNPingResponse) GetStoreID ¶
func (m *DNPingResponse) GetStoreID() string
func (*DNPingResponse) Marshal ¶
func (m *DNPingResponse) Marshal() (dAtA []byte, err error)
func (*DNPingResponse) MarshalToSizedBuffer ¶
func (m *DNPingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DNPingResponse) ProtoMessage ¶
func (*DNPingResponse) ProtoMessage()
func (*DNPingResponse) Reset ¶
func (m *DNPingResponse) Reset()
func (*DNPingResponse) Size ¶
func (m *DNPingResponse) Size() (n int)
func (*DNPingResponse) String ¶
func (m *DNPingResponse) String() string
func (*DNPingResponse) Unmarshal ¶
func (m *DNPingResponse) Unmarshal(dAtA []byte) error
func (*DNPingResponse) XXX_DiscardUnknown ¶
func (m *DNPingResponse) XXX_DiscardUnknown()
func (*DNPingResponse) XXX_Marshal ¶
func (m *DNPingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DNPingResponse) XXX_Merge ¶
func (m *DNPingResponse) XXX_Merge(src proto.Message)
func (*DNPingResponse) XXX_Size ¶
func (m *DNPingResponse) XXX_Size() int
func (*DNPingResponse) XXX_Unmarshal ¶
func (m *DNPingResponse) XXX_Unmarshal(b []byte) error
type DNStringResponse ¶
type DNStringResponse struct {
ReturnStr string `protobuf:"bytes,1,opt,name=returnStr,proto3" json:"returnStr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
DNStringResponse string type response
func (*DNStringResponse) Descriptor ¶
func (*DNStringResponse) Descriptor() ([]byte, []int)
func (*DNStringResponse) GetReturnStr ¶
func (m *DNStringResponse) GetReturnStr() string
func (*DNStringResponse) Marshal ¶
func (m *DNStringResponse) Marshal() (dAtA []byte, err error)
func (*DNStringResponse) MarshalToSizedBuffer ¶
func (m *DNStringResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DNStringResponse) ProtoMessage ¶
func (*DNStringResponse) ProtoMessage()
func (*DNStringResponse) Reset ¶
func (m *DNStringResponse) Reset()
func (*DNStringResponse) Size ¶
func (m *DNStringResponse) Size() (n int)
func (*DNStringResponse) String ¶
func (m *DNStringResponse) String() string
func (*DNStringResponse) Unmarshal ¶
func (m *DNStringResponse) Unmarshal(dAtA []byte) error
func (*DNStringResponse) XXX_DiscardUnknown ¶
func (m *DNStringResponse) XXX_DiscardUnknown()
func (*DNStringResponse) XXX_Marshal ¶
func (m *DNStringResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DNStringResponse) XXX_Merge ¶
func (m *DNStringResponse) XXX_Merge(src proto.Message)
func (*DNStringResponse) XXX_Size ¶
func (m *DNStringResponse) XXX_Size() int
func (*DNStringResponse) XXX_Unmarshal ¶
func (m *DNStringResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.