Versions in this module Expand all Collapse all v0 v0.1.0 Jan 22, 2021 Changes in this version + var Campus_ServiceDesc = grpc.ServiceDesc + var File_CampusService_proto protoreflect.FileDescriptor + func RegisterCampusServer(s grpc.ServiceRegistrar, srv CampusServer) + type CampusClient interface + GetTopNews func(ctx context.Context, in *GetTopNewsRequest, opts ...grpc.CallOption) (*GetTopNewsReply, error) + func NewCampusClient(cc grpc.ClientConnInterface) CampusClient + type CampusServer interface + GetTopNews func(context.Context, *GetTopNewsRequest) (*GetTopNewsReply, error) + type GetTopNewsReply struct + Created *timestamp.Timestamp + From *timestamp.Timestamp + Link string + Name string + To *timestamp.Timestamp + func (*GetTopNewsReply) Descriptor() ([]byte, []int) + func (*GetTopNewsReply) ProtoMessage() + func (x *GetTopNewsReply) GetCreated() *timestamp.Timestamp + func (x *GetTopNewsReply) GetFrom() *timestamp.Timestamp + func (x *GetTopNewsReply) GetLink() string + func (x *GetTopNewsReply) GetName() string + func (x *GetTopNewsReply) GetTo() *timestamp.Timestamp + func (x *GetTopNewsReply) ProtoReflect() protoreflect.Message + func (x *GetTopNewsReply) Reset() + func (x *GetTopNewsReply) String() string + type GetTopNewsRequest struct + func (*GetTopNewsRequest) Descriptor() ([]byte, []int) + func (*GetTopNewsRequest) ProtoMessage() + func (x *GetTopNewsRequest) ProtoReflect() protoreflect.Message + func (x *GetTopNewsRequest) Reset() + func (x *GetTopNewsRequest) String() string + type UnimplementedCampusServer struct + func (UnimplementedCampusServer) GetTopNews(context.Context, *GetTopNewsRequest) (*GetTopNewsReply, error) + type UnsafeCampusServer interface