Documentation ¶
Index ¶
- func RegisterFeedsServer(s *grpc.Server, srv FeedsServer)
- type FeedRequest
- func (*FeedRequest) Descriptor() ([]byte, []int)
- func (m *FeedRequest) GetFeed() string
- func (*FeedRequest) ProtoMessage()
- func (m *FeedRequest) Reset()
- func (m *FeedRequest) String() string
- func (m *FeedRequest) XXX_DiscardUnknown()
- func (m *FeedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeedRequest) XXX_Merge(src proto.Message)
- func (m *FeedRequest) XXX_Size() int
- func (m *FeedRequest) XXX_Unmarshal(b []byte) error
- type FeedResponse
- func (*FeedResponse) Descriptor() ([]byte, []int)
- func (m *FeedResponse) GetFeed() string
- func (*FeedResponse) ProtoMessage()
- func (m *FeedResponse) Reset()
- func (m *FeedResponse) String() string
- func (m *FeedResponse) XXX_DiscardUnknown()
- func (m *FeedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeedResponse) XXX_Merge(src proto.Message)
- func (m *FeedResponse) XXX_Size() int
- func (m *FeedResponse) XXX_Unmarshal(b []byte) error
- type FeedsClient
- type FeedsServer
- type Feeds_BroadcastClient
- type Feeds_BroadcastServer
- type UnimplementedFeedsServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFeedsServer ¶
func RegisterFeedsServer(s *grpc.Server, srv FeedsServer)
Types ¶
type FeedRequest ¶
type FeedRequest struct { Feed string `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FeedRequest) Descriptor ¶
func (*FeedRequest) Descriptor() ([]byte, []int)
func (*FeedRequest) GetFeed ¶
func (m *FeedRequest) GetFeed() string
func (*FeedRequest) ProtoMessage ¶
func (*FeedRequest) ProtoMessage()
func (*FeedRequest) Reset ¶
func (m *FeedRequest) Reset()
func (*FeedRequest) String ¶
func (m *FeedRequest) String() string
func (*FeedRequest) XXX_DiscardUnknown ¶
func (m *FeedRequest) XXX_DiscardUnknown()
func (*FeedRequest) XXX_Marshal ¶
func (m *FeedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeedRequest) XXX_Merge ¶
func (m *FeedRequest) XXX_Merge(src proto.Message)
func (*FeedRequest) XXX_Size ¶
func (m *FeedRequest) XXX_Size() int
func (*FeedRequest) XXX_Unmarshal ¶
func (m *FeedRequest) XXX_Unmarshal(b []byte) error
type FeedResponse ¶
type FeedResponse struct { Feed string `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FeedResponse) Descriptor ¶
func (*FeedResponse) Descriptor() ([]byte, []int)
func (*FeedResponse) GetFeed ¶
func (m *FeedResponse) GetFeed() string
func (*FeedResponse) ProtoMessage ¶
func (*FeedResponse) ProtoMessage()
func (*FeedResponse) Reset ¶
func (m *FeedResponse) Reset()
func (*FeedResponse) String ¶
func (m *FeedResponse) String() string
func (*FeedResponse) XXX_DiscardUnknown ¶
func (m *FeedResponse) XXX_DiscardUnknown()
func (*FeedResponse) XXX_Marshal ¶
func (m *FeedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeedResponse) XXX_Merge ¶
func (m *FeedResponse) XXX_Merge(src proto.Message)
func (*FeedResponse) XXX_Size ¶
func (m *FeedResponse) XXX_Size() int
func (*FeedResponse) XXX_Unmarshal ¶
func (m *FeedResponse) XXX_Unmarshal(b []byte) error
type FeedsClient ¶
type FeedsClient interface { // bi-directional rpc Broadcast(ctx context.Context, opts ...grpc.CallOption) (Feeds_BroadcastClient, error) }
FeedsClient is the client API for Feeds service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFeedsClient ¶
func NewFeedsClient(cc grpc.ClientConnInterface) FeedsClient
type FeedsServer ¶
type FeedsServer interface { // bi-directional rpc Broadcast(Feeds_BroadcastServer) error }
FeedsServer is the server API for Feeds service.
type Feeds_BroadcastClient ¶
type Feeds_BroadcastClient interface { Send(*FeedRequest) error Recv() (*FeedResponse, error) grpc.ClientStream }
type Feeds_BroadcastServer ¶
type Feeds_BroadcastServer interface { Send(*FeedResponse) error Recv() (*FeedRequest, error) grpc.ServerStream }
type UnimplementedFeedsServer ¶
type UnimplementedFeedsServer struct { }
UnimplementedFeedsServer can be embedded to have forward compatible implementations.
func (*UnimplementedFeedsServer) Broadcast ¶
func (*UnimplementedFeedsServer) Broadcast(srv Feeds_BroadcastServer) error
Click to show internal directories.
Click to hide internal directories.