Versions in this module Expand all Collapse all v1 v1.0.1 Dec 8, 2016 Changes in this version + func RegisterFeedServer(s *grpc.Server, srv FeedServer) + type FeedClient interface + CreateFeed func(ctx context.Context, in *FeedRecord, opts ...grpc.CallOption) (*OkResponse, error) + GetFeeds func(ctx context.Context, in *GetFeedsRequest, opts ...grpc.CallOption) (*GetFeedsResponse, error) + func NewFeedClient(cc *grpc.ClientConn) FeedClient + type FeedRecord struct + Content string + Id int64 + UserId int64 + func (*FeedRecord) Descriptor() ([]byte, []int) + func (*FeedRecord) ProtoMessage() + func (m *FeedRecord) GetContent() string + func (m *FeedRecord) GetId() int64 + func (m *FeedRecord) GetUserId() int64 + func (m *FeedRecord) Reset() + func (m *FeedRecord) String() string + type FeedServer interface + CreateFeed func(context.Context, *FeedRecord) (*OkResponse, error) + GetFeeds func(context.Context, *GetFeedsRequest) (*GetFeedsResponse, error) + type GetFeedsRequest struct + Size int64 + UserId int64 + func (*GetFeedsRequest) Descriptor() ([]byte, []int) + func (*GetFeedsRequest) ProtoMessage() + func (m *GetFeedsRequest) GetSize() int64 + func (m *GetFeedsRequest) GetUserId() int64 + func (m *GetFeedsRequest) Reset() + func (m *GetFeedsRequest) String() string + type GetFeedsResponse struct + Feeds []*FeedRecord + func (*GetFeedsResponse) Descriptor() ([]byte, []int) + func (*GetFeedsResponse) ProtoMessage() + func (m *GetFeedsResponse) GetFeeds() []*FeedRecord + func (m *GetFeedsResponse) Reset() + func (m *GetFeedsResponse) String() string + type OkResponse struct + func (*OkResponse) Descriptor() ([]byte, []int) + func (*OkResponse) ProtoMessage() + func (m *OkResponse) Reset() + func (m *OkResponse) String() string