feedpb

package
Version: v0.0.0-...-943c6e9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL