Documentation
¶
Index ¶
- Variables
- func RegisterTimerServer(s *grpc.Server, srv TimerServer)
- type GetAllTimerReq
- func (*GetAllTimerReq) Descriptor() ([]byte, []int)
- func (m *GetAllTimerReq) Marshal() (dAtA []byte, err error)
- func (m *GetAllTimerReq) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAllTimerReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAllTimerReq) ProtoMessage()
- func (m *GetAllTimerReq) Reset()
- func (m *GetAllTimerReq) Size() (n int)
- func (m *GetAllTimerReq) String() string
- func (m *GetAllTimerReq) Unmarshal(dAtA []byte) error
- func (m *GetAllTimerReq) XXX_DiscardUnknown()
- func (m *GetAllTimerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAllTimerReq) XXX_Merge(src proto.Message)
- func (m *GetAllTimerReq) XXX_Size() int
- func (m *GetAllTimerReq) XXX_Unmarshal(b []byte) error
- type GetAllTimerRsp
- func (*GetAllTimerRsp) Descriptor() ([]byte, []int)
- func (m *GetAllTimerRsp) Marshal() (dAtA []byte, err error)
- func (m *GetAllTimerRsp) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAllTimerRsp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAllTimerRsp) ProtoMessage()
- func (m *GetAllTimerRsp) Reset()
- func (m *GetAllTimerRsp) Size() (n int)
- func (m *GetAllTimerRsp) String() string
- func (m *GetAllTimerRsp) Unmarshal(dAtA []byte) error
- func (m *GetAllTimerRsp) XXX_DiscardUnknown()
- func (m *GetAllTimerRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAllTimerRsp) XXX_Merge(src proto.Message)
- func (m *GetAllTimerRsp) XXX_Size() int
- func (m *GetAllTimerRsp) XXX_Unmarshal(b []byte) error
- type TimerClient
- type TimerServer
- type UnimplementedTimerServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterTimerServer ¶
func RegisterTimerServer(s *grpc.Server, srv TimerServer)
Types ¶
type GetAllTimerReq ¶
type GetAllTimerReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAllTimerReq) Descriptor ¶
func (*GetAllTimerReq) Descriptor() ([]byte, []int)
func (*GetAllTimerReq) Marshal ¶
func (m *GetAllTimerReq) Marshal() (dAtA []byte, err error)
func (*GetAllTimerReq) MarshalToSizedBuffer ¶
func (m *GetAllTimerReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAllTimerReq) ProtoMessage ¶
func (*GetAllTimerReq) ProtoMessage()
func (*GetAllTimerReq) Reset ¶
func (m *GetAllTimerReq) Reset()
func (*GetAllTimerReq) Size ¶
func (m *GetAllTimerReq) Size() (n int)
func (*GetAllTimerReq) String ¶
func (m *GetAllTimerReq) String() string
func (*GetAllTimerReq) Unmarshal ¶
func (m *GetAllTimerReq) Unmarshal(dAtA []byte) error
func (*GetAllTimerReq) XXX_DiscardUnknown ¶
func (m *GetAllTimerReq) XXX_DiscardUnknown()
func (*GetAllTimerReq) XXX_Marshal ¶
func (m *GetAllTimerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAllTimerReq) XXX_Merge ¶
func (m *GetAllTimerReq) XXX_Merge(src proto.Message)
func (*GetAllTimerReq) XXX_Size ¶
func (m *GetAllTimerReq) XXX_Size() int
func (*GetAllTimerReq) XXX_Unmarshal ¶
func (m *GetAllTimerReq) XXX_Unmarshal(b []byte) error
type GetAllTimerRsp ¶
type GetAllTimerRsp struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAllTimerRsp) Descriptor ¶
func (*GetAllTimerRsp) Descriptor() ([]byte, []int)
func (*GetAllTimerRsp) Marshal ¶
func (m *GetAllTimerRsp) Marshal() (dAtA []byte, err error)
func (*GetAllTimerRsp) MarshalToSizedBuffer ¶
func (m *GetAllTimerRsp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAllTimerRsp) ProtoMessage ¶
func (*GetAllTimerRsp) ProtoMessage()
func (*GetAllTimerRsp) Reset ¶
func (m *GetAllTimerRsp) Reset()
func (*GetAllTimerRsp) Size ¶
func (m *GetAllTimerRsp) Size() (n int)
func (*GetAllTimerRsp) String ¶
func (m *GetAllTimerRsp) String() string
func (*GetAllTimerRsp) Unmarshal ¶
func (m *GetAllTimerRsp) Unmarshal(dAtA []byte) error
func (*GetAllTimerRsp) XXX_DiscardUnknown ¶
func (m *GetAllTimerRsp) XXX_DiscardUnknown()
func (*GetAllTimerRsp) XXX_Marshal ¶
func (m *GetAllTimerRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAllTimerRsp) XXX_Merge ¶
func (m *GetAllTimerRsp) XXX_Merge(src proto.Message)
func (*GetAllTimerRsp) XXX_Size ¶
func (m *GetAllTimerRsp) XXX_Size() int
func (*GetAllTimerRsp) XXX_Unmarshal ¶
func (m *GetAllTimerRsp) XXX_Unmarshal(b []byte) error
type TimerClient ¶
type TimerClient interface { // 获取所有定时器 GetAllTimer(ctx context.Context, in *GetAllTimerReq, opts ...grpc.CallOption) (*GetAllTimerRsp, error) }
TimerClient is the client API for Timer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTimerClient ¶
func NewTimerClient(cc *grpc.ClientConn) TimerClient
type TimerServer ¶
type TimerServer interface { // 获取所有定时器 GetAllTimer(context.Context, *GetAllTimerReq) (*GetAllTimerRsp, error) }
TimerServer is the server API for Timer service.
type UnimplementedTimerServer ¶
type UnimplementedTimerServer struct { }
UnimplementedTimerServer can be embedded to have forward compatible implementations.
func (*UnimplementedTimerServer) GetAllTimer ¶
func (*UnimplementedTimerServer) GetAllTimer(ctx context.Context, req *GetAllTimerReq) (*GetAllTimerRsp, error)
Click to show internal directories.
Click to hide internal directories.