Documentation ¶
Index ¶
- func RegisterCounterSomeServiceNameServer(s *grpc.Server, srv CounterSomeServiceNameServer)
- type CounterSomeServiceNameClient
- type CounterSomeServiceNameServer
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetCount() uint32
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type UnimplementedCounterSomeServiceNameServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCounterSomeServiceNameServer ¶
func RegisterCounterSomeServiceNameServer(s *grpc.Server, srv CounterSomeServiceNameServer)
Types ¶
type CounterSomeServiceNameClient ¶
type CounterSomeServiceNameClient interface {
CountSomeMethodName(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
}
CounterSomeServiceNameClient is the client API for CounterSomeServiceName service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCounterSomeServiceNameClient ¶
func NewCounterSomeServiceNameClient(cc grpc.ClientConnInterface) CounterSomeServiceNameClient
type CounterSomeServiceNameServer ¶
type CounterSomeServiceNameServer interface {
CountSomeMethodName(context.Context, *Empty) (*Response, error)
}
CounterSomeServiceNameServer is the server API for CounterSomeServiceName service.
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type Response ¶
type Response struct { Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type UnimplementedCounterSomeServiceNameServer ¶
type UnimplementedCounterSomeServiceNameServer struct { }
UnimplementedCounterSomeServiceNameServer can be embedded to have forward compatible implementations.
func (*UnimplementedCounterSomeServiceNameServer) CountSomeMethodName ¶
Click to show internal directories.
Click to hide internal directories.