Documentation ¶
Index ¶
- Variables
- func RegisterCuttlefishServer(s grpc.ServiceRegistrar, srv CuttlefishServer)
- type BatchDelTentacleReq
- func (*BatchDelTentacleReq) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDelTentacleReq) GetInfoList() map[uint32]*TentacleInfo
- func (*BatchDelTentacleReq) ProtoMessage()
- func (x *BatchDelTentacleReq) ProtoReflect() protoreflect.Message
- func (x *BatchDelTentacleReq) Reset()
- func (x *BatchDelTentacleReq) String() string
- type BatchDelTentacleResp
- func (*BatchDelTentacleResp) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDelTentacleResp) GetResult() map[uint32]bool
- func (*BatchDelTentacleResp) ProtoMessage()
- func (x *BatchDelTentacleResp) ProtoReflect() protoreflect.Message
- func (x *BatchDelTentacleResp) Reset()
- func (x *BatchDelTentacleResp) String() string
- type BatchGetTentacleReq
- func (*BatchGetTentacleReq) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetTentacleReq) GetUidList() []uint32
- func (*BatchGetTentacleReq) ProtoMessage()
- func (x *BatchGetTentacleReq) ProtoReflect() protoreflect.Message
- func (x *BatchGetTentacleReq) Reset()
- func (x *BatchGetTentacleReq) String() string
- type BatchGetTentacleResp
- func (*BatchGetTentacleResp) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetTentacleResp) GetInfoList() map[uint32]*TentacleInfo
- func (*BatchGetTentacleResp) ProtoMessage()
- func (x *BatchGetTentacleResp) ProtoReflect() protoreflect.Message
- func (x *BatchGetTentacleResp) Reset()
- func (x *BatchGetTentacleResp) String() string
- type BatchPeekTentacleReq
- func (*BatchPeekTentacleReq) Descriptor() ([]byte, []int)deprecated
- func (x *BatchPeekTentacleReq) GetUidList() []uint32
- func (*BatchPeekTentacleReq) ProtoMessage()
- func (x *BatchPeekTentacleReq) ProtoReflect() protoreflect.Message
- func (x *BatchPeekTentacleReq) Reset()
- func (x *BatchPeekTentacleReq) String() string
- type BatchPeekTentacleResp
- func (*BatchPeekTentacleResp) Descriptor() ([]byte, []int)deprecated
- func (x *BatchPeekTentacleResp) GetResult() map[uint32]bool
- func (*BatchPeekTentacleResp) ProtoMessage()
- func (x *BatchPeekTentacleResp) ProtoReflect() protoreflect.Message
- func (x *BatchPeekTentacleResp) Reset()
- func (x *BatchPeekTentacleResp) String() string
- type BatchSetTentacleReq
- func (*BatchSetTentacleReq) Descriptor() ([]byte, []int)deprecated
- func (x *BatchSetTentacleReq) GetInfoList() map[uint32]*TentacleInfo
- func (*BatchSetTentacleReq) ProtoMessage()
- func (x *BatchSetTentacleReq) ProtoReflect() protoreflect.Message
- func (x *BatchSetTentacleReq) Reset()
- func (x *BatchSetTentacleReq) String() string
- type BatchSetTentacleResp
- func (*BatchSetTentacleResp) Descriptor() ([]byte, []int)deprecated
- func (x *BatchSetTentacleResp) GetResult() map[uint32]bool
- func (*BatchSetTentacleResp) ProtoMessage()
- func (x *BatchSetTentacleResp) ProtoReflect() protoreflect.Message
- func (x *BatchSetTentacleResp) Reset()
- func (x *BatchSetTentacleResp) String() string
- type CuttlefishClient
- type CuttlefishServer
- type DelTentacleReq
- func (*DelTentacleReq) Descriptor() ([]byte, []int)deprecated
- func (x *DelTentacleReq) GetId() uint32
- func (x *DelTentacleReq) GetTentacleList() []*Tentacle
- func (*DelTentacleReq) ProtoMessage()
- func (x *DelTentacleReq) ProtoReflect() protoreflect.Message
- func (x *DelTentacleReq) Reset()
- func (x *DelTentacleReq) String() string
- type DelTentacleResp
- type EgK
- type EgV
- type GetTentacleHistoryReq
- func (*GetTentacleHistoryReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetTentacleHistoryReq) GetFrom() int64
- func (x *GetTentacleHistoryReq) GetId() uint32
- func (x *GetTentacleHistoryReq) GetTo() int64
- func (*GetTentacleHistoryReq) ProtoMessage()
- func (x *GetTentacleHistoryReq) ProtoReflect() protoreflect.Message
- func (x *GetTentacleHistoryReq) Reset()
- func (x *GetTentacleHistoryReq) String() string
- type GetTentacleHistoryResp
- func (*GetTentacleHistoryResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetTentacleHistoryResp) GetInfoList() []*HistoryInfo
- func (*GetTentacleHistoryResp) ProtoMessage()
- func (x *GetTentacleHistoryResp) ProtoReflect() protoreflect.Message
- func (x *GetTentacleHistoryResp) Reset()
- func (x *GetTentacleHistoryResp) String() string
- type GetTentacleReq
- type GetTentacleResp
- type HistoryInfo
- type PeekTentacleReq
- type PeekTentacleResp
- type SetTentacleReq
- func (*SetTentacleReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetTentacleReq) GetId() uint32
- func (x *SetTentacleReq) GetTentacleList() []*Tentacle
- func (*SetTentacleReq) ProtoMessage()
- func (x *SetTentacleReq) ProtoReflect() protoreflect.Message
- func (x *SetTentacleReq) Reset()
- func (x *SetTentacleReq) String() string
- type SetTentacleResp
- type Tentacle
- type TentacleInfo
- type UnimplementedCuttlefishServer
- func (UnimplementedCuttlefishServer) BatchDelTentacle(context.Context, *BatchDelTentacleReq) (*BatchDelTentacleResp, error)
- func (UnimplementedCuttlefishServer) BatchGetTentacle(context.Context, *BatchGetTentacleReq) (*BatchGetTentacleResp, error)
- func (UnimplementedCuttlefishServer) BatchPeekTentacle(context.Context, *BatchPeekTentacleReq) (*BatchPeekTentacleResp, error)
- func (UnimplementedCuttlefishServer) BatchSetTentacle(context.Context, *BatchSetTentacleReq) (*BatchSetTentacleResp, error)
- func (UnimplementedCuttlefishServer) DelTentacle(context.Context, *DelTentacleReq) (*DelTentacleResp, error)
- func (UnimplementedCuttlefishServer) GetTentacle(context.Context, *GetTentacleReq) (*GetTentacleResp, error)
- func (UnimplementedCuttlefishServer) GetTentacleHistory(context.Context, *GetTentacleHistoryReq) (*GetTentacleHistoryResp, error)
- func (UnimplementedCuttlefishServer) PeekTentacle(context.Context, *PeekTentacleReq) (*PeekTentacleResp, error)
- func (UnimplementedCuttlefishServer) SetTentacle(context.Context, *SetTentacleReq) (*SetTentacleResp, error)
- type UnsafeCuttlefishServer
Constants ¶
This section is empty.
Variables ¶
var Cuttlefish_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Cuttlefish.cuttlefish", HandlerType: (*CuttlefishServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTentacle", Handler: _Cuttlefish_GetTentacle_Handler, }, { MethodName: "BatchGetTentacle", Handler: _Cuttlefish_BatchGetTentacle_Handler, }, { MethodName: "PeekTentacle", Handler: _Cuttlefish_PeekTentacle_Handler, }, { MethodName: "BatchPeekTentacle", Handler: _Cuttlefish_BatchPeekTentacle_Handler, }, { MethodName: "SetTentacle", Handler: _Cuttlefish_SetTentacle_Handler, }, { MethodName: "BatchSetTentacle", Handler: _Cuttlefish_BatchSetTentacle_Handler, }, { MethodName: "DelTentacle", Handler: _Cuttlefish_DelTentacle_Handler, }, { MethodName: "BatchDelTentacle", Handler: _Cuttlefish_BatchDelTentacle_Handler, }, { MethodName: "GetTentacleHistory", Handler: _Cuttlefish_GetTentacleHistory_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/cuttlefish.proto", }
Cuttlefish_ServiceDesc is the grpc.ServiceDesc for Cuttlefish service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_cuttlefish_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCuttlefishServer ¶
func RegisterCuttlefishServer(s grpc.ServiceRegistrar, srv CuttlefishServer)
Types ¶
type BatchDelTentacleReq ¶
type BatchDelTentacleReq struct { InfoList map[uint32]*TentacleInfo `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BatchDelTentacleReq) Descriptor
deprecated
func (*BatchDelTentacleReq) Descriptor() ([]byte, []int)
Deprecated: Use BatchDelTentacleReq.ProtoReflect.Descriptor instead.
func (*BatchDelTentacleReq) GetInfoList ¶
func (x *BatchDelTentacleReq) GetInfoList() map[uint32]*TentacleInfo
func (*BatchDelTentacleReq) ProtoMessage ¶
func (*BatchDelTentacleReq) ProtoMessage()
func (*BatchDelTentacleReq) ProtoReflect ¶
func (x *BatchDelTentacleReq) ProtoReflect() protoreflect.Message
func (*BatchDelTentacleReq) Reset ¶
func (x *BatchDelTentacleReq) Reset()
func (*BatchDelTentacleReq) String ¶
func (x *BatchDelTentacleReq) String() string
type BatchDelTentacleResp ¶
type BatchDelTentacleResp struct { Result map[uint32]bool `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BatchDelTentacleResp) Descriptor
deprecated
func (*BatchDelTentacleResp) Descriptor() ([]byte, []int)
Deprecated: Use BatchDelTentacleResp.ProtoReflect.Descriptor instead.
func (*BatchDelTentacleResp) GetResult ¶
func (x *BatchDelTentacleResp) GetResult() map[uint32]bool
func (*BatchDelTentacleResp) ProtoMessage ¶
func (*BatchDelTentacleResp) ProtoMessage()
func (*BatchDelTentacleResp) ProtoReflect ¶
func (x *BatchDelTentacleResp) ProtoReflect() protoreflect.Message
func (*BatchDelTentacleResp) Reset ¶
func (x *BatchDelTentacleResp) Reset()
func (*BatchDelTentacleResp) String ¶
func (x *BatchDelTentacleResp) String() string
type BatchGetTentacleReq ¶
type BatchGetTentacleReq struct { UidList []uint32 `protobuf:"varint,1,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"` // contains filtered or unexported fields }
func (*BatchGetTentacleReq) Descriptor
deprecated
func (*BatchGetTentacleReq) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetTentacleReq.ProtoReflect.Descriptor instead.
func (*BatchGetTentacleReq) GetUidList ¶
func (x *BatchGetTentacleReq) GetUidList() []uint32
func (*BatchGetTentacleReq) ProtoMessage ¶
func (*BatchGetTentacleReq) ProtoMessage()
func (*BatchGetTentacleReq) ProtoReflect ¶
func (x *BatchGetTentacleReq) ProtoReflect() protoreflect.Message
func (*BatchGetTentacleReq) Reset ¶
func (x *BatchGetTentacleReq) Reset()
func (*BatchGetTentacleReq) String ¶
func (x *BatchGetTentacleReq) String() string
type BatchGetTentacleResp ¶
type BatchGetTentacleResp struct { InfoList map[uint32]*TentacleInfo `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BatchGetTentacleResp) Descriptor
deprecated
func (*BatchGetTentacleResp) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetTentacleResp.ProtoReflect.Descriptor instead.
func (*BatchGetTentacleResp) GetInfoList ¶
func (x *BatchGetTentacleResp) GetInfoList() map[uint32]*TentacleInfo
func (*BatchGetTentacleResp) ProtoMessage ¶
func (*BatchGetTentacleResp) ProtoMessage()
func (*BatchGetTentacleResp) ProtoReflect ¶
func (x *BatchGetTentacleResp) ProtoReflect() protoreflect.Message
func (*BatchGetTentacleResp) Reset ¶
func (x *BatchGetTentacleResp) Reset()
func (*BatchGetTentacleResp) String ¶
func (x *BatchGetTentacleResp) String() string
type BatchPeekTentacleReq ¶
type BatchPeekTentacleReq struct { UidList []uint32 `protobuf:"varint,1,rep,packed,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"` // contains filtered or unexported fields }
func (*BatchPeekTentacleReq) Descriptor
deprecated
func (*BatchPeekTentacleReq) Descriptor() ([]byte, []int)
Deprecated: Use BatchPeekTentacleReq.ProtoReflect.Descriptor instead.
func (*BatchPeekTentacleReq) GetUidList ¶
func (x *BatchPeekTentacleReq) GetUidList() []uint32
func (*BatchPeekTentacleReq) ProtoMessage ¶
func (*BatchPeekTentacleReq) ProtoMessage()
func (*BatchPeekTentacleReq) ProtoReflect ¶
func (x *BatchPeekTentacleReq) ProtoReflect() protoreflect.Message
func (*BatchPeekTentacleReq) Reset ¶
func (x *BatchPeekTentacleReq) Reset()
func (*BatchPeekTentacleReq) String ¶
func (x *BatchPeekTentacleReq) String() string
type BatchPeekTentacleResp ¶
type BatchPeekTentacleResp struct { Result map[uint32]bool `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BatchPeekTentacleResp) Descriptor
deprecated
func (*BatchPeekTentacleResp) Descriptor() ([]byte, []int)
Deprecated: Use BatchPeekTentacleResp.ProtoReflect.Descriptor instead.
func (*BatchPeekTentacleResp) GetResult ¶
func (x *BatchPeekTentacleResp) GetResult() map[uint32]bool
func (*BatchPeekTentacleResp) ProtoMessage ¶
func (*BatchPeekTentacleResp) ProtoMessage()
func (*BatchPeekTentacleResp) ProtoReflect ¶
func (x *BatchPeekTentacleResp) ProtoReflect() protoreflect.Message
func (*BatchPeekTentacleResp) Reset ¶
func (x *BatchPeekTentacleResp) Reset()
func (*BatchPeekTentacleResp) String ¶
func (x *BatchPeekTentacleResp) String() string
type BatchSetTentacleReq ¶
type BatchSetTentacleReq struct { InfoList map[uint32]*TentacleInfo `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BatchSetTentacleReq) Descriptor
deprecated
func (*BatchSetTentacleReq) Descriptor() ([]byte, []int)
Deprecated: Use BatchSetTentacleReq.ProtoReflect.Descriptor instead.
func (*BatchSetTentacleReq) GetInfoList ¶
func (x *BatchSetTentacleReq) GetInfoList() map[uint32]*TentacleInfo
func (*BatchSetTentacleReq) ProtoMessage ¶
func (*BatchSetTentacleReq) ProtoMessage()
func (*BatchSetTentacleReq) ProtoReflect ¶
func (x *BatchSetTentacleReq) ProtoReflect() protoreflect.Message
func (*BatchSetTentacleReq) Reset ¶
func (x *BatchSetTentacleReq) Reset()
func (*BatchSetTentacleReq) String ¶
func (x *BatchSetTentacleReq) String() string
type BatchSetTentacleResp ¶
type BatchSetTentacleResp struct { Result map[uint32]bool `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BatchSetTentacleResp) Descriptor
deprecated
func (*BatchSetTentacleResp) Descriptor() ([]byte, []int)
Deprecated: Use BatchSetTentacleResp.ProtoReflect.Descriptor instead.
func (*BatchSetTentacleResp) GetResult ¶
func (x *BatchSetTentacleResp) GetResult() map[uint32]bool
func (*BatchSetTentacleResp) ProtoMessage ¶
func (*BatchSetTentacleResp) ProtoMessage()
func (*BatchSetTentacleResp) ProtoReflect ¶
func (x *BatchSetTentacleResp) ProtoReflect() protoreflect.Message
func (*BatchSetTentacleResp) Reset ¶
func (x *BatchSetTentacleResp) Reset()
func (*BatchSetTentacleResp) String ¶
func (x *BatchSetTentacleResp) String() string
type CuttlefishClient ¶
type CuttlefishClient interface { GetTentacle(ctx context.Context, in *GetTentacleReq, opts ...grpc.CallOption) (*GetTentacleResp, error) BatchGetTentacle(ctx context.Context, in *BatchGetTentacleReq, opts ...grpc.CallOption) (*BatchGetTentacleResp, error) PeekTentacle(ctx context.Context, in *PeekTentacleReq, opts ...grpc.CallOption) (*PeekTentacleResp, error) BatchPeekTentacle(ctx context.Context, in *BatchPeekTentacleReq, opts ...grpc.CallOption) (*BatchPeekTentacleResp, error) SetTentacle(ctx context.Context, in *SetTentacleReq, opts ...grpc.CallOption) (*SetTentacleResp, error) BatchSetTentacle(ctx context.Context, in *BatchSetTentacleReq, opts ...grpc.CallOption) (*BatchSetTentacleResp, error) DelTentacle(ctx context.Context, in *DelTentacleReq, opts ...grpc.CallOption) (*DelTentacleResp, error) BatchDelTentacle(ctx context.Context, in *BatchDelTentacleReq, opts ...grpc.CallOption) (*BatchDelTentacleResp, error) GetTentacleHistory(ctx context.Context, in *GetTentacleHistoryReq, opts ...grpc.CallOption) (*GetTentacleHistoryResp, error) }
CuttlefishClient is the client API for Cuttlefish service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCuttlefishClient ¶
func NewCuttlefishClient(cc grpc.ClientConnInterface) CuttlefishClient
type CuttlefishServer ¶
type CuttlefishServer interface { GetTentacle(context.Context, *GetTentacleReq) (*GetTentacleResp, error) BatchGetTentacle(context.Context, *BatchGetTentacleReq) (*BatchGetTentacleResp, error) PeekTentacle(context.Context, *PeekTentacleReq) (*PeekTentacleResp, error) BatchPeekTentacle(context.Context, *BatchPeekTentacleReq) (*BatchPeekTentacleResp, error) SetTentacle(context.Context, *SetTentacleReq) (*SetTentacleResp, error) BatchSetTentacle(context.Context, *BatchSetTentacleReq) (*BatchSetTentacleResp, error) DelTentacle(context.Context, *DelTentacleReq) (*DelTentacleResp, error) BatchDelTentacle(context.Context, *BatchDelTentacleReq) (*BatchDelTentacleResp, error) GetTentacleHistory(context.Context, *GetTentacleHistoryReq) (*GetTentacleHistoryResp, error) // contains filtered or unexported methods }
CuttlefishServer is the server API for Cuttlefish service. All implementations must embed UnimplementedCuttlefishServer for forward compatibility
type DelTentacleReq ¶
type DelTentacleReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` TentacleList []*Tentacle `protobuf:"bytes,2,rep,name=tentacle_list,json=tentacleList,proto3" json:"tentacle_list,omitempty"` // contains filtered or unexported fields }
func (*DelTentacleReq) Descriptor
deprecated
func (*DelTentacleReq) Descriptor() ([]byte, []int)
Deprecated: Use DelTentacleReq.ProtoReflect.Descriptor instead.
func (*DelTentacleReq) GetId ¶
func (x *DelTentacleReq) GetId() uint32
func (*DelTentacleReq) GetTentacleList ¶
func (x *DelTentacleReq) GetTentacleList() []*Tentacle
func (*DelTentacleReq) ProtoMessage ¶
func (*DelTentacleReq) ProtoMessage()
func (*DelTentacleReq) ProtoReflect ¶
func (x *DelTentacleReq) ProtoReflect() protoreflect.Message
func (*DelTentacleReq) Reset ¶
func (x *DelTentacleReq) Reset()
func (*DelTentacleReq) String ¶
func (x *DelTentacleReq) String() string
type DelTentacleResp ¶
type DelTentacleResp struct { Offline bool `protobuf:"varint,1,opt,name=offline,proto3" json:"offline,omitempty"` // contains filtered or unexported fields }
func (*DelTentacleResp) Descriptor
deprecated
func (*DelTentacleResp) Descriptor() ([]byte, []int)
Deprecated: Use DelTentacleResp.ProtoReflect.Descriptor instead.
func (*DelTentacleResp) GetOffline ¶
func (x *DelTentacleResp) GetOffline() bool
func (*DelTentacleResp) ProtoMessage ¶
func (*DelTentacleResp) ProtoMessage()
func (*DelTentacleResp) ProtoReflect ¶
func (x *DelTentacleResp) ProtoReflect() protoreflect.Message
func (*DelTentacleResp) Reset ¶
func (x *DelTentacleResp) Reset()
func (*DelTentacleResp) String ¶
func (x *DelTentacleResp) String() string
type EgK ¶
type EgK struct { Proxy string `protobuf:"bytes,1,opt,name=proxy,proto3" json:"proxy,omitempty"` SeqId string `protobuf:"bytes,2,opt,name=seqId,proto3" json:"seqId,omitempty"` // contains filtered or unexported fields }
func (*EgK) Descriptor
deprecated
func (*EgK) ProtoMessage ¶
func (*EgK) ProtoMessage()
func (*EgK) ProtoReflect ¶
func (x *EgK) ProtoReflect() protoreflect.Message
type EgV ¶
type EgV struct { Ts int64 `protobuf:"varint,1,opt,name=ts,proto3" json:"ts,omitempty"` Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"` // contains filtered or unexported fields }
func (*EgV) Descriptor
deprecated
func (*EgV) ProtoMessage ¶
func (*EgV) ProtoMessage()
func (*EgV) ProtoReflect ¶
func (x *EgV) ProtoReflect() protoreflect.Message
type GetTentacleHistoryReq ¶
type GetTentacleHistoryReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` From int64 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"` To int64 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*GetTentacleHistoryReq) Descriptor
deprecated
func (*GetTentacleHistoryReq) Descriptor() ([]byte, []int)
Deprecated: Use GetTentacleHistoryReq.ProtoReflect.Descriptor instead.
func (*GetTentacleHistoryReq) GetFrom ¶
func (x *GetTentacleHistoryReq) GetFrom() int64
func (*GetTentacleHistoryReq) GetId ¶
func (x *GetTentacleHistoryReq) GetId() uint32
func (*GetTentacleHistoryReq) GetTo ¶
func (x *GetTentacleHistoryReq) GetTo() int64
func (*GetTentacleHistoryReq) ProtoMessage ¶
func (*GetTentacleHistoryReq) ProtoMessage()
func (*GetTentacleHistoryReq) ProtoReflect ¶
func (x *GetTentacleHistoryReq) ProtoReflect() protoreflect.Message
func (*GetTentacleHistoryReq) Reset ¶
func (x *GetTentacleHistoryReq) Reset()
func (*GetTentacleHistoryReq) String ¶
func (x *GetTentacleHistoryReq) String() string
type GetTentacleHistoryResp ¶
type GetTentacleHistoryResp struct { InfoList []*HistoryInfo `protobuf:"bytes,1,rep,name=info_list,json=infoList,proto3" json:"info_list,omitempty"` // contains filtered or unexported fields }
func (*GetTentacleHistoryResp) Descriptor
deprecated
func (*GetTentacleHistoryResp) Descriptor() ([]byte, []int)
Deprecated: Use GetTentacleHistoryResp.ProtoReflect.Descriptor instead.
func (*GetTentacleHistoryResp) GetInfoList ¶
func (x *GetTentacleHistoryResp) GetInfoList() []*HistoryInfo
func (*GetTentacleHistoryResp) ProtoMessage ¶
func (*GetTentacleHistoryResp) ProtoMessage()
func (*GetTentacleHistoryResp) ProtoReflect ¶
func (x *GetTentacleHistoryResp) ProtoReflect() protoreflect.Message
func (*GetTentacleHistoryResp) Reset ¶
func (x *GetTentacleHistoryResp) Reset()
func (*GetTentacleHistoryResp) String ¶
func (x *GetTentacleHistoryResp) String() string
type GetTentacleReq ¶
type GetTentacleReq struct { Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*GetTentacleReq) Descriptor
deprecated
func (*GetTentacleReq) Descriptor() ([]byte, []int)
Deprecated: Use GetTentacleReq.ProtoReflect.Descriptor instead.
func (*GetTentacleReq) GetUid ¶
func (x *GetTentacleReq) GetUid() uint32
func (*GetTentacleReq) ProtoMessage ¶
func (*GetTentacleReq) ProtoMessage()
func (*GetTentacleReq) ProtoReflect ¶
func (x *GetTentacleReq) ProtoReflect() protoreflect.Message
func (*GetTentacleReq) Reset ¶
func (x *GetTentacleReq) Reset()
func (*GetTentacleReq) String ¶
func (x *GetTentacleReq) String() string
type GetTentacleResp ¶
type GetTentacleResp struct { TentacleList []*Tentacle `protobuf:"bytes,1,rep,name=tentacle_list,json=tentacleList,proto3" json:"tentacle_list,omitempty"` // contains filtered or unexported fields }
func (*GetTentacleResp) Descriptor
deprecated
func (*GetTentacleResp) Descriptor() ([]byte, []int)
Deprecated: Use GetTentacleResp.ProtoReflect.Descriptor instead.
func (*GetTentacleResp) GetTentacleList ¶
func (x *GetTentacleResp) GetTentacleList() []*Tentacle
func (*GetTentacleResp) ProtoMessage ¶
func (*GetTentacleResp) ProtoMessage()
func (*GetTentacleResp) ProtoReflect ¶
func (x *GetTentacleResp) ProtoReflect() protoreflect.Message
func (*GetTentacleResp) Reset ¶
func (x *GetTentacleResp) Reset()
func (*GetTentacleResp) String ¶
func (x *GetTentacleResp) String() string
type HistoryInfo ¶
type HistoryInfo struct { St bool `protobuf:"varint,1,opt,name=st,proto3" json:"st,omitempty"` // online - true; offline - false Ts int64 `protobuf:"varint,2,opt,name=ts,proto3" json:"ts,omitempty"` // contains filtered or unexported fields }
func (*HistoryInfo) Descriptor
deprecated
func (*HistoryInfo) Descriptor() ([]byte, []int)
Deprecated: Use HistoryInfo.ProtoReflect.Descriptor instead.
func (*HistoryInfo) GetSt ¶
func (x *HistoryInfo) GetSt() bool
func (*HistoryInfo) GetTs ¶
func (x *HistoryInfo) GetTs() int64
func (*HistoryInfo) ProtoMessage ¶
func (*HistoryInfo) ProtoMessage()
func (*HistoryInfo) ProtoReflect ¶
func (x *HistoryInfo) ProtoReflect() protoreflect.Message
func (*HistoryInfo) Reset ¶
func (x *HistoryInfo) Reset()
func (*HistoryInfo) String ¶
func (x *HistoryInfo) String() string
type PeekTentacleReq ¶
type PeekTentacleReq struct { Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*PeekTentacleReq) Descriptor
deprecated
func (*PeekTentacleReq) Descriptor() ([]byte, []int)
Deprecated: Use PeekTentacleReq.ProtoReflect.Descriptor instead.
func (*PeekTentacleReq) GetUid ¶
func (x *PeekTentacleReq) GetUid() uint32
func (*PeekTentacleReq) ProtoMessage ¶
func (*PeekTentacleReq) ProtoMessage()
func (*PeekTentacleReq) ProtoReflect ¶
func (x *PeekTentacleReq) ProtoReflect() protoreflect.Message
func (*PeekTentacleReq) Reset ¶
func (x *PeekTentacleReq) Reset()
func (*PeekTentacleReq) String ¶
func (x *PeekTentacleReq) String() string
type PeekTentacleResp ¶
type PeekTentacleResp struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*PeekTentacleResp) Descriptor
deprecated
func (*PeekTentacleResp) Descriptor() ([]byte, []int)
Deprecated: Use PeekTentacleResp.ProtoReflect.Descriptor instead.
func (*PeekTentacleResp) GetExists ¶
func (x *PeekTentacleResp) GetExists() bool
func (*PeekTentacleResp) ProtoMessage ¶
func (*PeekTentacleResp) ProtoMessage()
func (*PeekTentacleResp) ProtoReflect ¶
func (x *PeekTentacleResp) ProtoReflect() protoreflect.Message
func (*PeekTentacleResp) Reset ¶
func (x *PeekTentacleResp) Reset()
func (*PeekTentacleResp) String ¶
func (x *PeekTentacleResp) String() string
type SetTentacleReq ¶
type SetTentacleReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` TentacleList []*Tentacle `protobuf:"bytes,2,rep,name=tentacle_list,json=tentacleList,proto3" json:"tentacle_list,omitempty"` // contains filtered or unexported fields }
func (*SetTentacleReq) Descriptor
deprecated
func (*SetTentacleReq) Descriptor() ([]byte, []int)
Deprecated: Use SetTentacleReq.ProtoReflect.Descriptor instead.
func (*SetTentacleReq) GetId ¶
func (x *SetTentacleReq) GetId() uint32
func (*SetTentacleReq) GetTentacleList ¶
func (x *SetTentacleReq) GetTentacleList() []*Tentacle
func (*SetTentacleReq) ProtoMessage ¶
func (*SetTentacleReq) ProtoMessage()
func (*SetTentacleReq) ProtoReflect ¶
func (x *SetTentacleReq) ProtoReflect() protoreflect.Message
func (*SetTentacleReq) Reset ¶
func (x *SetTentacleReq) Reset()
func (*SetTentacleReq) String ¶
func (x *SetTentacleReq) String() string
type SetTentacleResp ¶
type SetTentacleResp struct { Online bool `protobuf:"varint,1,opt,name=online,proto3" json:"online,omitempty"` // contains filtered or unexported fields }
func (*SetTentacleResp) Descriptor
deprecated
func (*SetTentacleResp) Descriptor() ([]byte, []int)
Deprecated: Use SetTentacleResp.ProtoReflect.Descriptor instead.
func (*SetTentacleResp) GetOnline ¶
func (x *SetTentacleResp) GetOnline() bool
func (*SetTentacleResp) ProtoMessage ¶
func (*SetTentacleResp) ProtoMessage()
func (*SetTentacleResp) ProtoReflect ¶
func (x *SetTentacleResp) ProtoReflect() protoreflect.Message
func (*SetTentacleResp) Reset ¶
func (x *SetTentacleResp) Reset()
func (*SetTentacleResp) String ¶
func (x *SetTentacleResp) String() string
type Tentacle ¶
type Tentacle struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // eg: serialized EgK Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"` // eg: serialized EgV // contains filtered or unexported fields }
func (*Tentacle) Descriptor
deprecated
func (*Tentacle) ProtoMessage ¶
func (*Tentacle) ProtoMessage()
func (*Tentacle) ProtoReflect ¶
func (x *Tentacle) ProtoReflect() protoreflect.Message
type TentacleInfo ¶
type TentacleInfo struct { TentacleList []*Tentacle `protobuf:"bytes,1,rep,name=tentacle_list,json=tentacleList,proto3" json:"tentacle_list,omitempty"` // contains filtered or unexported fields }
func (*TentacleInfo) Descriptor
deprecated
func (*TentacleInfo) Descriptor() ([]byte, []int)
Deprecated: Use TentacleInfo.ProtoReflect.Descriptor instead.
func (*TentacleInfo) GetTentacleList ¶
func (x *TentacleInfo) GetTentacleList() []*Tentacle
func (*TentacleInfo) ProtoMessage ¶
func (*TentacleInfo) ProtoMessage()
func (*TentacleInfo) ProtoReflect ¶
func (x *TentacleInfo) ProtoReflect() protoreflect.Message
func (*TentacleInfo) Reset ¶
func (x *TentacleInfo) Reset()
func (*TentacleInfo) String ¶
func (x *TentacleInfo) String() string
type UnimplementedCuttlefishServer ¶
type UnimplementedCuttlefishServer struct { }
UnimplementedCuttlefishServer must be embedded to have forward compatible implementations.
func (UnimplementedCuttlefishServer) BatchDelTentacle ¶
func (UnimplementedCuttlefishServer) BatchDelTentacle(context.Context, *BatchDelTentacleReq) (*BatchDelTentacleResp, error)
func (UnimplementedCuttlefishServer) BatchGetTentacle ¶
func (UnimplementedCuttlefishServer) BatchGetTentacle(context.Context, *BatchGetTentacleReq) (*BatchGetTentacleResp, error)
func (UnimplementedCuttlefishServer) BatchPeekTentacle ¶
func (UnimplementedCuttlefishServer) BatchPeekTentacle(context.Context, *BatchPeekTentacleReq) (*BatchPeekTentacleResp, error)
func (UnimplementedCuttlefishServer) BatchSetTentacle ¶
func (UnimplementedCuttlefishServer) BatchSetTentacle(context.Context, *BatchSetTentacleReq) (*BatchSetTentacleResp, error)
func (UnimplementedCuttlefishServer) DelTentacle ¶
func (UnimplementedCuttlefishServer) DelTentacle(context.Context, *DelTentacleReq) (*DelTentacleResp, error)
func (UnimplementedCuttlefishServer) GetTentacle ¶
func (UnimplementedCuttlefishServer) GetTentacle(context.Context, *GetTentacleReq) (*GetTentacleResp, error)
func (UnimplementedCuttlefishServer) GetTentacleHistory ¶
func (UnimplementedCuttlefishServer) GetTentacleHistory(context.Context, *GetTentacleHistoryReq) (*GetTentacleHistoryResp, error)
func (UnimplementedCuttlefishServer) PeekTentacle ¶
func (UnimplementedCuttlefishServer) PeekTentacle(context.Context, *PeekTentacleReq) (*PeekTentacleResp, error)
func (UnimplementedCuttlefishServer) SetTentacle ¶
func (UnimplementedCuttlefishServer) SetTentacle(context.Context, *SetTentacleReq) (*SetTentacleResp, error)
type UnsafeCuttlefishServer ¶
type UnsafeCuttlefishServer interface {
// contains filtered or unexported methods
}
UnsafeCuttlefishServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CuttlefishServer will result in compilation errors.