Documentation ¶
Index ¶
- func RegisterCountDownServer(s *grpc.Server, srv CountDownServer)
- type CountDownClient
- type CountDownResponse
- func (*CountDownResponse) Descriptor() ([]byte, []int)
- func (m *CountDownResponse) GetCount() int32
- func (*CountDownResponse) ProtoMessage()
- func (m *CountDownResponse) Reset()
- func (m *CountDownResponse) String() string
- func (m *CountDownResponse) XXX_DiscardUnknown()
- func (m *CountDownResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CountDownResponse) XXX_Merge(src proto.Message)
- func (m *CountDownResponse) XXX_Size() int
- func (m *CountDownResponse) XXX_Unmarshal(b []byte) error
- type CountDownServer
- type CountDown_StartClient
- type CountDown_StartServer
- type CountdownRequest
- func (*CountdownRequest) Descriptor() ([]byte, []int)
- func (m *CountdownRequest) GetTimer() int32
- func (*CountdownRequest) ProtoMessage()
- func (m *CountdownRequest) Reset()
- func (m *CountdownRequest) String() string
- func (m *CountdownRequest) XXX_DiscardUnknown()
- func (m *CountdownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CountdownRequest) XXX_Merge(src proto.Message)
- func (m *CountdownRequest) XXX_Size() int
- func (m *CountdownRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedCountDownServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCountDownServer ¶
func RegisterCountDownServer(s *grpc.Server, srv CountDownServer)
Types ¶
type CountDownClient ¶
type CountDownClient interface { // streaming rpc Start(ctx context.Context, in *CountdownRequest, opts ...grpc.CallOption) (CountDown_StartClient, error) }
CountDownClient is the client API for CountDown service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCountDownClient ¶
func NewCountDownClient(cc grpc.ClientConnInterface) CountDownClient
type CountDownResponse ¶
type CountDownResponse struct { Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CountDownResponse) Descriptor ¶
func (*CountDownResponse) Descriptor() ([]byte, []int)
func (*CountDownResponse) GetCount ¶
func (m *CountDownResponse) GetCount() int32
func (*CountDownResponse) ProtoMessage ¶
func (*CountDownResponse) ProtoMessage()
func (*CountDownResponse) Reset ¶
func (m *CountDownResponse) Reset()
func (*CountDownResponse) String ¶
func (m *CountDownResponse) String() string
func (*CountDownResponse) XXX_DiscardUnknown ¶
func (m *CountDownResponse) XXX_DiscardUnknown()
func (*CountDownResponse) XXX_Marshal ¶
func (m *CountDownResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CountDownResponse) XXX_Merge ¶
func (m *CountDownResponse) XXX_Merge(src proto.Message)
func (*CountDownResponse) XXX_Size ¶
func (m *CountDownResponse) XXX_Size() int
func (*CountDownResponse) XXX_Unmarshal ¶
func (m *CountDownResponse) XXX_Unmarshal(b []byte) error
type CountDownServer ¶
type CountDownServer interface { // streaming rpc Start(*CountdownRequest, CountDown_StartServer) error }
CountDownServer is the server API for CountDown service.
type CountDown_StartClient ¶
type CountDown_StartClient interface { Recv() (*CountDownResponse, error) grpc.ClientStream }
type CountDown_StartServer ¶
type CountDown_StartServer interface { Send(*CountDownResponse) error grpc.ServerStream }
type CountdownRequest ¶
type CountdownRequest struct { Timer int32 `protobuf:"varint,1,opt,name=Timer,proto3" json:"Timer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CountdownRequest) Descriptor ¶
func (*CountdownRequest) Descriptor() ([]byte, []int)
func (*CountdownRequest) GetTimer ¶
func (m *CountdownRequest) GetTimer() int32
func (*CountdownRequest) ProtoMessage ¶
func (*CountdownRequest) ProtoMessage()
func (*CountdownRequest) Reset ¶
func (m *CountdownRequest) Reset()
func (*CountdownRequest) String ¶
func (m *CountdownRequest) String() string
func (*CountdownRequest) XXX_DiscardUnknown ¶
func (m *CountdownRequest) XXX_DiscardUnknown()
func (*CountdownRequest) XXX_Marshal ¶
func (m *CountdownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CountdownRequest) XXX_Merge ¶
func (m *CountdownRequest) XXX_Merge(src proto.Message)
func (*CountdownRequest) XXX_Size ¶
func (m *CountdownRequest) XXX_Size() int
func (*CountdownRequest) XXX_Unmarshal ¶
func (m *CountdownRequest) XXX_Unmarshal(b []byte) error
type UnimplementedCountDownServer ¶
type UnimplementedCountDownServer struct { }
UnimplementedCountDownServer can be embedded to have forward compatible implementations.
func (*UnimplementedCountDownServer) Start ¶
func (*UnimplementedCountDownServer) Start(req *CountdownRequest, srv CountDown_StartServer) error
Click to show internal directories.
Click to hide internal directories.