Documentation ¶
Index ¶
- Constants
- Variables
- func Proto() []byte
- func RegisterNeonServer(s grpc.ServiceRegistrar, srv NeonServer)
- type AddFeedRequest
- func (*AddFeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddFeedRequest) GetDescription() string
- func (x *AddFeedRequest) GetIsStarred() bool
- func (x *AddFeedRequest) GetTags() []string
- func (x *AddFeedRequest) GetTitle() string
- func (x *AddFeedRequest) GetUrl() string
- func (*AddFeedRequest) ProtoMessage()
- func (x *AddFeedRequest) ProtoReflect() protoreflect.Message
- func (x *AddFeedRequest) Reset()
- func (x *AddFeedRequest) String() string
- type AddFeedResponse
- func (*AddFeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddFeedResponse) GetFeed() *Feed
- func (x *AddFeedResponse) GetIsAdded() bool
- func (*AddFeedResponse) ProtoMessage()
- func (x *AddFeedResponse) ProtoReflect() protoreflect.Message
- func (x *AddFeedResponse) Reset()
- func (x *AddFeedResponse) String() string
- type DeleteFeedsRequest
- func (*DeleteFeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFeedsRequest) GetFeedIds() []uint32
- func (*DeleteFeedsRequest) ProtoMessage()
- func (x *DeleteFeedsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFeedsRequest) Reset()
- func (x *DeleteFeedsRequest) String() string
- type DeleteFeedsResponse
- type EditEntriesRequest
- func (*EditEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditEntriesRequest) GetOps() []*EditEntriesRequest_Op
- func (*EditEntriesRequest) ProtoMessage()
- func (x *EditEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *EditEntriesRequest) Reset()
- func (x *EditEntriesRequest) String() string
- type EditEntriesRequest_Op
- func (*EditEntriesRequest_Op) Descriptor() ([]byte, []int)deprecated
- func (x *EditEntriesRequest_Op) GetFields() *EditEntriesRequest_Op_Fields
- func (x *EditEntriesRequest_Op) GetId() uint32
- func (*EditEntriesRequest_Op) ProtoMessage()
- func (x *EditEntriesRequest_Op) ProtoReflect() protoreflect.Message
- func (x *EditEntriesRequest_Op) Reset()
- func (x *EditEntriesRequest_Op) String() string
- type EditEntriesRequest_Op_Fields
- func (*EditEntriesRequest_Op_Fields) Descriptor() ([]byte, []int)deprecated
- func (x *EditEntriesRequest_Op_Fields) GetIsBookmarked() bool
- func (x *EditEntriesRequest_Op_Fields) GetIsRead() bool
- func (*EditEntriesRequest_Op_Fields) ProtoMessage()
- func (x *EditEntriesRequest_Op_Fields) ProtoReflect() protoreflect.Message
- func (x *EditEntriesRequest_Op_Fields) Reset()
- func (x *EditEntriesRequest_Op_Fields) String() string
- type EditEntriesResponse
- func (*EditEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EditEntriesResponse) GetEntries() []*Entry
- func (*EditEntriesResponse) ProtoMessage()
- func (x *EditEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *EditEntriesResponse) Reset()
- func (x *EditEntriesResponse) String() string
- type EditFeedsRequest
- func (*EditFeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditFeedsRequest) GetOps() []*EditFeedsRequest_Op
- func (*EditFeedsRequest) ProtoMessage()
- func (x *EditFeedsRequest) ProtoReflect() protoreflect.Message
- func (x *EditFeedsRequest) Reset()
- func (x *EditFeedsRequest) String() string
- type EditFeedsRequest_Op
- func (*EditFeedsRequest_Op) Descriptor() ([]byte, []int)deprecated
- func (x *EditFeedsRequest_Op) GetFields() *EditFeedsRequest_Op_Fields
- func (x *EditFeedsRequest_Op) GetId() uint32
- func (*EditFeedsRequest_Op) ProtoMessage()
- func (x *EditFeedsRequest_Op) ProtoReflect() protoreflect.Message
- func (x *EditFeedsRequest_Op) Reset()
- func (x *EditFeedsRequest_Op) String() string
- type EditFeedsRequest_Op_Fields
- func (*EditFeedsRequest_Op_Fields) Descriptor() ([]byte, []int)deprecated
- func (x *EditFeedsRequest_Op_Fields) GetDescription() string
- func (x *EditFeedsRequest_Op_Fields) GetIsStarred() bool
- func (x *EditFeedsRequest_Op_Fields) GetTags() []string
- func (x *EditFeedsRequest_Op_Fields) GetTitle() string
- func (*EditFeedsRequest_Op_Fields) ProtoMessage()
- func (x *EditFeedsRequest_Op_Fields) ProtoReflect() protoreflect.Message
- func (x *EditFeedsRequest_Op_Fields) Reset()
- func (x *EditFeedsRequest_Op_Fields) String() string
- type EditFeedsResponse
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Entry) GetContent() string
- func (x *Entry) GetDescription() string
- func (x *Entry) GetExtId() string
- func (x *Entry) GetFeedId() uint32
- func (x *Entry) GetId() uint32
- func (x *Entry) GetIsBookmarked() bool
- func (x *Entry) GetIsRead() bool
- func (x *Entry) GetPubTime() *timestamppb.Timestamp
- func (x *Entry) GetTitle() string
- func (x *Entry) GetUpdateTime() *timestamppb.Timestamp
- func (x *Entry) GetUrl() string
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) String() string
- type ExportOPMLRequest
- type ExportOPMLResponse
- func (*ExportOPMLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportOPMLResponse) GetPayload() []byte
- func (*ExportOPMLResponse) ProtoMessage()
- func (x *ExportOPMLResponse) ProtoReflect() protoreflect.Message
- func (x *ExportOPMLResponse) Reset()
- func (x *ExportOPMLResponse) String() string
- type Feed
- func (*Feed) Descriptor() ([]byte, []int)deprecated
- func (x *Feed) GetDescription() string
- func (x *Feed) GetEntries() []*Entry
- func (x *Feed) GetFeedUrl() string
- func (x *Feed) GetId() uint32
- func (x *Feed) GetIsStarred() bool
- func (x *Feed) GetLastPullTime() *timestamppb.Timestamp
- func (x *Feed) GetSiteUrl() string
- func (x *Feed) GetSubTime() *timestamppb.Timestamp
- func (x *Feed) GetTags() []string
- func (x *Feed) GetTitle() string
- func (x *Feed) GetUpdateTime() *timestamppb.Timestamp
- func (*Feed) ProtoMessage()
- func (x *Feed) ProtoReflect() protoreflect.Message
- func (x *Feed) Reset()
- func (x *Feed) String() string
- type GetEntryRequest
- type GetEntryResponse
- type GetInfoRequest
- type GetInfoResponse
- func (*GetInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoResponse) GetGitCommit() string
- func (x *GetInfoResponse) GetName() string
- func (x *GetInfoResponse) GetVersion() string
- func (*GetInfoResponse) ProtoMessage()
- func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetInfoResponse) Reset()
- func (x *GetInfoResponse) String() string
- type GetStatsRequest
- type GetStatsResponse
- func (*GetStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStatsResponse) GetGlobal() *GetStatsResponse_Stats
- func (*GetStatsResponse) ProtoMessage()
- func (x *GetStatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetStatsResponse) Reset()
- func (x *GetStatsResponse) String() string
- type GetStatsResponse_Stats
- func (*GetStatsResponse_Stats) Descriptor() ([]byte, []int)deprecated
- func (x *GetStatsResponse_Stats) GetLastPullTime() *timestamppb.Timestamp
- func (x *GetStatsResponse_Stats) GetMostRecentUpdateTime() *timestamppb.Timestamp
- func (x *GetStatsResponse_Stats) GetNumEntries() uint32
- func (x *GetStatsResponse_Stats) GetNumEntriesUnread() uint32
- func (x *GetStatsResponse_Stats) GetNumFeeds() uint32
- func (x *GetStatsResponse_Stats) GetTag() string
- func (*GetStatsResponse_Stats) ProtoMessage()
- func (x *GetStatsResponse_Stats) ProtoReflect() protoreflect.Message
- func (x *GetStatsResponse_Stats) Reset()
- func (x *GetStatsResponse_Stats) String() string
- type ImportOPMLRequest
- type ImportOPMLResponse
- func (*ImportOPMLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportOPMLResponse) GetNumImported() uint32
- func (x *ImportOPMLResponse) GetNumProcessed() uint32
- func (*ImportOPMLResponse) ProtoMessage()
- func (x *ImportOPMLResponse) ProtoReflect() protoreflect.Message
- func (x *ImportOPMLResponse) Reset()
- func (x *ImportOPMLResponse) String() string
- type ListEntriesRequest
- func (*ListEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntriesRequest) GetFeedIds() []uint32
- func (x *ListEntriesRequest) GetIsBookmarked() bool
- func (*ListEntriesRequest) ProtoMessage()
- func (x *ListEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListEntriesRequest) Reset()
- func (x *ListEntriesRequest) String() string
- type ListEntriesResponse
- func (*ListEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntriesResponse) GetEntries() []*Entry
- func (*ListEntriesResponse) ProtoMessage()
- func (x *ListEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntriesResponse) Reset()
- func (x *ListEntriesResponse) String() string
- type ListFeedsRequest
- func (*ListFeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFeedsRequest) GetMaxEntriesPerFeed() uint32
- func (*ListFeedsRequest) ProtoMessage()
- func (x *ListFeedsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFeedsRequest) Reset()
- func (x *ListFeedsRequest) String() string
- type ListFeedsResponse
- type NeonClient
- type NeonServer
- type Neon_PullFeedsClient
- type Neon_PullFeedsServer
- type Neon_StreamEntriesClient
- type Neon_StreamEntriesServer
- type PullFeedsRequest
- func (*PullFeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullFeedsRequest) GetFeedIds() []uint32
- func (x *PullFeedsRequest) GetMaxEntriesPerFeed() uint32
- func (*PullFeedsRequest) ProtoMessage()
- func (x *PullFeedsRequest) ProtoReflect() protoreflect.Message
- func (x *PullFeedsRequest) Reset()
- func (x *PullFeedsRequest) String() string
- type PullFeedsResponse
- func (*PullFeedsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullFeedsResponse) GetError() string
- func (x *PullFeedsResponse) GetFeed() *Feed
- func (x *PullFeedsResponse) GetUrl() string
- func (*PullFeedsResponse) ProtoMessage()
- func (x *PullFeedsResponse) ProtoReflect() protoreflect.Message
- func (x *PullFeedsResponse) Reset()
- func (x *PullFeedsResponse) String() string
- type StreamEntriesRequest
- func (*StreamEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamEntriesRequest) GetFeedId() uint32
- func (*StreamEntriesRequest) ProtoMessage()
- func (x *StreamEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *StreamEntriesRequest) Reset()
- func (x *StreamEntriesRequest) String() string
- type StreamEntriesResponse
- func (*StreamEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamEntriesResponse) GetEntry() *Entry
- func (*StreamEntriesResponse) ProtoMessage()
- func (x *StreamEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *StreamEntriesResponse) Reset()
- func (x *StreamEntriesResponse) String() string
- type UnimplementedNeonServer
- func (UnimplementedNeonServer) AddFeed(context.Context, *AddFeedRequest) (*AddFeedResponse, error)
- func (UnimplementedNeonServer) DeleteFeeds(context.Context, *DeleteFeedsRequest) (*DeleteFeedsResponse, error)
- func (UnimplementedNeonServer) EditEntries(context.Context, *EditEntriesRequest) (*EditEntriesResponse, error)
- func (UnimplementedNeonServer) EditFeeds(context.Context, *EditFeedsRequest) (*EditFeedsResponse, error)
- func (UnimplementedNeonServer) ExportOPML(context.Context, *ExportOPMLRequest) (*ExportOPMLResponse, error)
- func (UnimplementedNeonServer) GetEntry(context.Context, *GetEntryRequest) (*GetEntryResponse, error)
- func (UnimplementedNeonServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
- func (UnimplementedNeonServer) GetStats(context.Context, *GetStatsRequest) (*GetStatsResponse, error)
- func (UnimplementedNeonServer) ImportOPML(context.Context, *ImportOPMLRequest) (*ImportOPMLResponse, error)
- func (UnimplementedNeonServer) ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)
- func (UnimplementedNeonServer) ListFeeds(context.Context, *ListFeedsRequest) (*ListFeedsResponse, error)
- func (UnimplementedNeonServer) PullFeeds(*PullFeedsRequest, Neon_PullFeedsServer) error
- func (UnimplementedNeonServer) StreamEntries(*StreamEntriesRequest, Neon_StreamEntriesServer) error
- type UnsafeNeonServer
Constants ¶
const ( Neon_AddFeed_FullMethodName = "/neon.Neon/AddFeed" Neon_EditFeeds_FullMethodName = "/neon.Neon/EditFeeds" Neon_ListFeeds_FullMethodName = "/neon.Neon/ListFeeds" Neon_PullFeeds_FullMethodName = "/neon.Neon/PullFeeds" Neon_DeleteFeeds_FullMethodName = "/neon.Neon/DeleteFeeds" Neon_StreamEntries_FullMethodName = "/neon.Neon/StreamEntries" Neon_ListEntries_FullMethodName = "/neon.Neon/ListEntries" Neon_EditEntries_FullMethodName = "/neon.Neon/EditEntries" Neon_GetEntry_FullMethodName = "/neon.Neon/GetEntry" Neon_ExportOPML_FullMethodName = "/neon.Neon/ExportOPML" Neon_ImportOPML_FullMethodName = "/neon.Neon/ImportOPML" Neon_GetStats_FullMethodName = "/neon.Neon/GetStats" Neon_GetInfo_FullMethodName = "/neon.Neon/GetInfo" )
Variables ¶
var File_neon_proto protoreflect.FileDescriptor
var Neon_ServiceDesc = grpc.ServiceDesc{ ServiceName: "neon.Neon", HandlerType: (*NeonServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddFeed", Handler: _Neon_AddFeed_Handler, }, { MethodName: "EditFeeds", Handler: _Neon_EditFeeds_Handler, }, { MethodName: "ListFeeds", Handler: _Neon_ListFeeds_Handler, }, { MethodName: "DeleteFeeds", Handler: _Neon_DeleteFeeds_Handler, }, { MethodName: "ListEntries", Handler: _Neon_ListEntries_Handler, }, { MethodName: "EditEntries", Handler: _Neon_EditEntries_Handler, }, { MethodName: "GetEntry", Handler: _Neon_GetEntry_Handler, }, { MethodName: "ExportOPML", Handler: _Neon_ExportOPML_Handler, }, { MethodName: "ImportOPML", Handler: _Neon_ImportOPML_Handler, }, { MethodName: "GetStats", Handler: _Neon_GetStats_Handler, }, { MethodName: "GetInfo", Handler: _Neon_GetInfo_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullFeeds", Handler: _Neon_PullFeeds_Handler, ServerStreams: true, }, { StreamName: "StreamEntries", Handler: _Neon_StreamEntries_Handler, ServerStreams: true, }, }, Metadata: "neon.proto", }
Neon_ServiceDesc is the grpc.ServiceDesc for Neon service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func Proto ¶
func Proto() []byte
Proto() returns the proto file that describes the server interface.
func RegisterNeonServer ¶
func RegisterNeonServer(s grpc.ServiceRegistrar, srv NeonServer)
Types ¶
type AddFeedRequest ¶
type AddFeedRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty"` Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` IsStarred *bool `protobuf:"varint,5,opt,name=is_starred,json=isStarred,proto3,oneof" json:"is_starred,omitempty"` // contains filtered or unexported fields }
func (*AddFeedRequest) Descriptor
deprecated
func (*AddFeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddFeedRequest.ProtoReflect.Descriptor instead.
func (*AddFeedRequest) GetDescription ¶
func (x *AddFeedRequest) GetDescription() string
func (*AddFeedRequest) GetIsStarred ¶
func (x *AddFeedRequest) GetIsStarred() bool
func (*AddFeedRequest) GetTags ¶
func (x *AddFeedRequest) GetTags() []string
func (*AddFeedRequest) GetTitle ¶
func (x *AddFeedRequest) GetTitle() string
func (*AddFeedRequest) GetUrl ¶
func (x *AddFeedRequest) GetUrl() string
func (*AddFeedRequest) ProtoMessage ¶
func (*AddFeedRequest) ProtoMessage()
func (*AddFeedRequest) ProtoReflect ¶
func (x *AddFeedRequest) ProtoReflect() protoreflect.Message
func (*AddFeedRequest) Reset ¶
func (x *AddFeedRequest) Reset()
func (*AddFeedRequest) String ¶
func (x *AddFeedRequest) String() string
type AddFeedResponse ¶
type AddFeedResponse struct { Feed *Feed `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"` IsAdded bool `protobuf:"varint,2,opt,name=is_added,json=isAdded,proto3" json:"is_added,omitempty"` // contains filtered or unexported fields }
func (*AddFeedResponse) Descriptor
deprecated
func (*AddFeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddFeedResponse.ProtoReflect.Descriptor instead.
func (*AddFeedResponse) GetFeed ¶
func (x *AddFeedResponse) GetFeed() *Feed
func (*AddFeedResponse) GetIsAdded ¶
func (x *AddFeedResponse) GetIsAdded() bool
func (*AddFeedResponse) ProtoMessage ¶
func (*AddFeedResponse) ProtoMessage()
func (*AddFeedResponse) ProtoReflect ¶
func (x *AddFeedResponse) ProtoReflect() protoreflect.Message
func (*AddFeedResponse) Reset ¶
func (x *AddFeedResponse) Reset()
func (*AddFeedResponse) String ¶
func (x *AddFeedResponse) String() string
type DeleteFeedsRequest ¶
type DeleteFeedsRequest struct { FeedIds []uint32 `protobuf:"varint,1,rep,packed,name=feed_ids,json=feedIds,proto3" json:"feed_ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteFeedsRequest) Descriptor
deprecated
func (*DeleteFeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFeedsRequest.ProtoReflect.Descriptor instead.
func (*DeleteFeedsRequest) GetFeedIds ¶
func (x *DeleteFeedsRequest) GetFeedIds() []uint32
func (*DeleteFeedsRequest) ProtoMessage ¶
func (*DeleteFeedsRequest) ProtoMessage()
func (*DeleteFeedsRequest) ProtoReflect ¶
func (x *DeleteFeedsRequest) ProtoReflect() protoreflect.Message
func (*DeleteFeedsRequest) Reset ¶
func (x *DeleteFeedsRequest) Reset()
func (*DeleteFeedsRequest) String ¶
func (x *DeleteFeedsRequest) String() string
type DeleteFeedsResponse ¶
type DeleteFeedsResponse struct {
// contains filtered or unexported fields
}
func (*DeleteFeedsResponse) Descriptor
deprecated
func (*DeleteFeedsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFeedsResponse.ProtoReflect.Descriptor instead.
func (*DeleteFeedsResponse) ProtoMessage ¶
func (*DeleteFeedsResponse) ProtoMessage()
func (*DeleteFeedsResponse) ProtoReflect ¶
func (x *DeleteFeedsResponse) ProtoReflect() protoreflect.Message
func (*DeleteFeedsResponse) Reset ¶
func (x *DeleteFeedsResponse) Reset()
func (*DeleteFeedsResponse) String ¶
func (x *DeleteFeedsResponse) String() string
type EditEntriesRequest ¶
type EditEntriesRequest struct { Ops []*EditEntriesRequest_Op `protobuf:"bytes,1,rep,name=ops,proto3" json:"ops,omitempty"` // contains filtered or unexported fields }
func (*EditEntriesRequest) Descriptor
deprecated
func (*EditEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditEntriesRequest.ProtoReflect.Descriptor instead.
func (*EditEntriesRequest) GetOps ¶
func (x *EditEntriesRequest) GetOps() []*EditEntriesRequest_Op
func (*EditEntriesRequest) ProtoMessage ¶
func (*EditEntriesRequest) ProtoMessage()
func (*EditEntriesRequest) ProtoReflect ¶
func (x *EditEntriesRequest) ProtoReflect() protoreflect.Message
func (*EditEntriesRequest) Reset ¶
func (x *EditEntriesRequest) Reset()
func (*EditEntriesRequest) String ¶
func (x *EditEntriesRequest) String() string
type EditEntriesRequest_Op ¶
type EditEntriesRequest_Op struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Fields *EditEntriesRequest_Op_Fields `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*EditEntriesRequest_Op) Descriptor
deprecated
func (*EditEntriesRequest_Op) Descriptor() ([]byte, []int)
Deprecated: Use EditEntriesRequest_Op.ProtoReflect.Descriptor instead.
func (*EditEntriesRequest_Op) GetFields ¶
func (x *EditEntriesRequest_Op) GetFields() *EditEntriesRequest_Op_Fields
func (*EditEntriesRequest_Op) GetId ¶
func (x *EditEntriesRequest_Op) GetId() uint32
func (*EditEntriesRequest_Op) ProtoMessage ¶
func (*EditEntriesRequest_Op) ProtoMessage()
func (*EditEntriesRequest_Op) ProtoReflect ¶
func (x *EditEntriesRequest_Op) ProtoReflect() protoreflect.Message
func (*EditEntriesRequest_Op) Reset ¶
func (x *EditEntriesRequest_Op) Reset()
func (*EditEntriesRequest_Op) String ¶
func (x *EditEntriesRequest_Op) String() string
type EditEntriesRequest_Op_Fields ¶
type EditEntriesRequest_Op_Fields struct { IsRead *bool `protobuf:"varint,1,opt,name=is_read,json=isRead,proto3,oneof" json:"is_read,omitempty"` IsBookmarked *bool `protobuf:"varint,2,opt,name=is_bookmarked,json=isBookmarked,proto3,oneof" json:"is_bookmarked,omitempty"` // contains filtered or unexported fields }
func (*EditEntriesRequest_Op_Fields) Descriptor
deprecated
func (*EditEntriesRequest_Op_Fields) Descriptor() ([]byte, []int)
Deprecated: Use EditEntriesRequest_Op_Fields.ProtoReflect.Descriptor instead.
func (*EditEntriesRequest_Op_Fields) GetIsBookmarked ¶
func (x *EditEntriesRequest_Op_Fields) GetIsBookmarked() bool
func (*EditEntriesRequest_Op_Fields) GetIsRead ¶
func (x *EditEntriesRequest_Op_Fields) GetIsRead() bool
func (*EditEntriesRequest_Op_Fields) ProtoMessage ¶
func (*EditEntriesRequest_Op_Fields) ProtoMessage()
func (*EditEntriesRequest_Op_Fields) ProtoReflect ¶
func (x *EditEntriesRequest_Op_Fields) ProtoReflect() protoreflect.Message
func (*EditEntriesRequest_Op_Fields) Reset ¶
func (x *EditEntriesRequest_Op_Fields) Reset()
func (*EditEntriesRequest_Op_Fields) String ¶
func (x *EditEntriesRequest_Op_Fields) String() string
type EditEntriesResponse ¶
type EditEntriesResponse struct { Entries []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*EditEntriesResponse) Descriptor
deprecated
func (*EditEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditEntriesResponse.ProtoReflect.Descriptor instead.
func (*EditEntriesResponse) GetEntries ¶
func (x *EditEntriesResponse) GetEntries() []*Entry
func (*EditEntriesResponse) ProtoMessage ¶
func (*EditEntriesResponse) ProtoMessage()
func (*EditEntriesResponse) ProtoReflect ¶
func (x *EditEntriesResponse) ProtoReflect() protoreflect.Message
func (*EditEntriesResponse) Reset ¶
func (x *EditEntriesResponse) Reset()
func (*EditEntriesResponse) String ¶
func (x *EditEntriesResponse) String() string
type EditFeedsRequest ¶
type EditFeedsRequest struct { Ops []*EditFeedsRequest_Op `protobuf:"bytes,1,rep,name=ops,proto3" json:"ops,omitempty"` // contains filtered or unexported fields }
func (*EditFeedsRequest) Descriptor
deprecated
func (*EditFeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditFeedsRequest.ProtoReflect.Descriptor instead.
func (*EditFeedsRequest) GetOps ¶
func (x *EditFeedsRequest) GetOps() []*EditFeedsRequest_Op
func (*EditFeedsRequest) ProtoMessage ¶
func (*EditFeedsRequest) ProtoMessage()
func (*EditFeedsRequest) ProtoReflect ¶
func (x *EditFeedsRequest) ProtoReflect() protoreflect.Message
func (*EditFeedsRequest) Reset ¶
func (x *EditFeedsRequest) Reset()
func (*EditFeedsRequest) String ¶
func (x *EditFeedsRequest) String() string
type EditFeedsRequest_Op ¶
type EditFeedsRequest_Op struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Fields *EditFeedsRequest_Op_Fields `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*EditFeedsRequest_Op) Descriptor
deprecated
func (*EditFeedsRequest_Op) Descriptor() ([]byte, []int)
Deprecated: Use EditFeedsRequest_Op.ProtoReflect.Descriptor instead.
func (*EditFeedsRequest_Op) GetFields ¶
func (x *EditFeedsRequest_Op) GetFields() *EditFeedsRequest_Op_Fields
func (*EditFeedsRequest_Op) GetId ¶
func (x *EditFeedsRequest_Op) GetId() uint32
func (*EditFeedsRequest_Op) ProtoMessage ¶
func (*EditFeedsRequest_Op) ProtoMessage()
func (*EditFeedsRequest_Op) ProtoReflect ¶
func (x *EditFeedsRequest_Op) ProtoReflect() protoreflect.Message
func (*EditFeedsRequest_Op) Reset ¶
func (x *EditFeedsRequest_Op) Reset()
func (*EditFeedsRequest_Op) String ¶
func (x *EditFeedsRequest_Op) String() string
type EditFeedsRequest_Op_Fields ¶
type EditFeedsRequest_Op_Fields struct { Title *string `protobuf:"bytes,1,opt,name=title,proto3,oneof" json:"title,omitempty"` Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` // NOTE: This means an empty fields message in an op request will delete // // existing tags. Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` IsStarred *bool `protobuf:"varint,4,opt,name=is_starred,json=isStarred,proto3,oneof" json:"is_starred,omitempty"` // contains filtered or unexported fields }
func (*EditFeedsRequest_Op_Fields) Descriptor
deprecated
func (*EditFeedsRequest_Op_Fields) Descriptor() ([]byte, []int)
Deprecated: Use EditFeedsRequest_Op_Fields.ProtoReflect.Descriptor instead.
func (*EditFeedsRequest_Op_Fields) GetDescription ¶
func (x *EditFeedsRequest_Op_Fields) GetDescription() string
func (*EditFeedsRequest_Op_Fields) GetIsStarred ¶
func (x *EditFeedsRequest_Op_Fields) GetIsStarred() bool
func (*EditFeedsRequest_Op_Fields) GetTags ¶
func (x *EditFeedsRequest_Op_Fields) GetTags() []string
func (*EditFeedsRequest_Op_Fields) GetTitle ¶
func (x *EditFeedsRequest_Op_Fields) GetTitle() string
func (*EditFeedsRequest_Op_Fields) ProtoMessage ¶
func (*EditFeedsRequest_Op_Fields) ProtoMessage()
func (*EditFeedsRequest_Op_Fields) ProtoReflect ¶
func (x *EditFeedsRequest_Op_Fields) ProtoReflect() protoreflect.Message
func (*EditFeedsRequest_Op_Fields) Reset ¶
func (x *EditFeedsRequest_Op_Fields) Reset()
func (*EditFeedsRequest_Op_Fields) String ¶
func (x *EditFeedsRequest_Op_Fields) String() string
type EditFeedsResponse ¶
type EditFeedsResponse struct { Feeds []*Feed `protobuf:"bytes,1,rep,name=feeds,proto3" json:"feeds,omitempty"` // contains filtered or unexported fields }
func (*EditFeedsResponse) Descriptor
deprecated
func (*EditFeedsResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditFeedsResponse.ProtoReflect.Descriptor instead.
func (*EditFeedsResponse) GetFeeds ¶
func (x *EditFeedsResponse) GetFeeds() []*Feed
func (*EditFeedsResponse) ProtoMessage ¶
func (*EditFeedsResponse) ProtoMessage()
func (*EditFeedsResponse) ProtoReflect ¶
func (x *EditFeedsResponse) ProtoReflect() protoreflect.Message
func (*EditFeedsResponse) Reset ¶
func (x *EditFeedsResponse) Reset()
func (*EditFeedsResponse) String ¶
func (x *EditFeedsResponse) String() string
type Entry ¶
type Entry struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` FeedId uint32 `protobuf:"varint,2,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` IsRead bool `protobuf:"varint,4,opt,name=is_read,json=isRead,proto3" json:"is_read,omitempty"` IsBookmarked bool `protobuf:"varint,5,opt,name=is_bookmarked,json=isBookmarked,proto3" json:"is_bookmarked,omitempty"` ExtId string `protobuf:"bytes,6,opt,name=ext_id,json=extId,proto3" json:"ext_id,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` PubTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=pub_time,json=pubTime,proto3" json:"pub_time,omitempty"` Description *string `protobuf:"bytes,9,opt,name=description,proto3,oneof" json:"description,omitempty"` Content *string `protobuf:"bytes,10,opt,name=content,proto3,oneof" json:"content,omitempty"` Url *string `protobuf:"bytes,11,opt,name=url,proto3,oneof" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Entry) Descriptor
deprecated
func (*Entry) GetContent ¶
func (*Entry) GetDescription ¶
func (*Entry) GetIsBookmarked ¶
func (*Entry) GetPubTime ¶
func (x *Entry) GetPubTime() *timestamppb.Timestamp
func (*Entry) GetUpdateTime ¶
func (x *Entry) GetUpdateTime() *timestamppb.Timestamp
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
type ExportOPMLRequest ¶
type ExportOPMLRequest struct { Title *string `protobuf:"bytes,1,opt,name=title,proto3,oneof" json:"title,omitempty"` // contains filtered or unexported fields }
func (*ExportOPMLRequest) Descriptor
deprecated
func (*ExportOPMLRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportOPMLRequest.ProtoReflect.Descriptor instead.
func (*ExportOPMLRequest) GetTitle ¶
func (x *ExportOPMLRequest) GetTitle() string
func (*ExportOPMLRequest) ProtoMessage ¶
func (*ExportOPMLRequest) ProtoMessage()
func (*ExportOPMLRequest) ProtoReflect ¶
func (x *ExportOPMLRequest) ProtoReflect() protoreflect.Message
func (*ExportOPMLRequest) Reset ¶
func (x *ExportOPMLRequest) Reset()
func (*ExportOPMLRequest) String ¶
func (x *ExportOPMLRequest) String() string
type ExportOPMLResponse ¶
type ExportOPMLResponse struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*ExportOPMLResponse) Descriptor
deprecated
func (*ExportOPMLResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportOPMLResponse.ProtoReflect.Descriptor instead.
func (*ExportOPMLResponse) GetPayload ¶
func (x *ExportOPMLResponse) GetPayload() []byte
func (*ExportOPMLResponse) ProtoMessage ¶
func (*ExportOPMLResponse) ProtoMessage()
func (*ExportOPMLResponse) ProtoReflect ¶
func (x *ExportOPMLResponse) ProtoReflect() protoreflect.Message
func (*ExportOPMLResponse) Reset ¶
func (x *ExportOPMLResponse) Reset()
func (*ExportOPMLResponse) String ¶
func (x *ExportOPMLResponse) String() string
type Feed ¶
type Feed struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` FeedUrl string `protobuf:"bytes,3,opt,name=feed_url,json=feedUrl,proto3" json:"feed_url,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` SiteUrl *string `protobuf:"bytes,5,opt,name=site_url,json=siteUrl,proto3,oneof" json:"site_url,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"` SubTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=sub_time,json=subTime,proto3" json:"sub_time,omitempty"` LastPullTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_pull_time,json=lastPullTime,proto3" json:"last_pull_time,omitempty"` IsStarred bool `protobuf:"varint,10,opt,name=is_starred,json=isStarred,proto3" json:"is_starred,omitempty"` Entries []*Entry `protobuf:"bytes,15,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*Feed) Descriptor
deprecated
func (*Feed) GetDescription ¶
func (*Feed) GetEntries ¶
func (*Feed) GetFeedUrl ¶
func (*Feed) GetIsStarred ¶
func (*Feed) GetLastPullTime ¶
func (x *Feed) GetLastPullTime() *timestamppb.Timestamp
func (*Feed) GetSiteUrl ¶
func (*Feed) GetSubTime ¶
func (x *Feed) GetSubTime() *timestamppb.Timestamp
func (*Feed) GetUpdateTime ¶
func (x *Feed) GetUpdateTime() *timestamppb.Timestamp
func (*Feed) ProtoMessage ¶
func (*Feed) ProtoMessage()
func (*Feed) ProtoReflect ¶
func (x *Feed) ProtoReflect() protoreflect.Message
type GetEntryRequest ¶
type GetEntryRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetEntryRequest) Descriptor
deprecated
func (*GetEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntryRequest.ProtoReflect.Descriptor instead.
func (*GetEntryRequest) GetId ¶
func (x *GetEntryRequest) GetId() uint32
func (*GetEntryRequest) ProtoMessage ¶
func (*GetEntryRequest) ProtoMessage()
func (*GetEntryRequest) ProtoReflect ¶
func (x *GetEntryRequest) ProtoReflect() protoreflect.Message
func (*GetEntryRequest) Reset ¶
func (x *GetEntryRequest) Reset()
func (*GetEntryRequest) String ¶
func (x *GetEntryRequest) String() string
type GetEntryResponse ¶
type GetEntryResponse struct { Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
func (*GetEntryResponse) Descriptor
deprecated
func (*GetEntryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEntryResponse.ProtoReflect.Descriptor instead.
func (*GetEntryResponse) GetEntry ¶
func (x *GetEntryResponse) GetEntry() *Entry
func (*GetEntryResponse) ProtoMessage ¶
func (*GetEntryResponse) ProtoMessage()
func (*GetEntryResponse) ProtoReflect ¶
func (x *GetEntryResponse) ProtoReflect() protoreflect.Message
func (*GetEntryResponse) Reset ¶
func (x *GetEntryResponse) Reset()
func (*GetEntryResponse) String ¶
func (x *GetEntryResponse) String() string
type GetInfoRequest ¶
type GetInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetInfoRequest) Descriptor
deprecated
func (*GetInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
func (*GetInfoRequest) ProtoMessage ¶
func (*GetInfoRequest) ProtoMessage()
func (*GetInfoRequest) ProtoReflect ¶
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message
func (*GetInfoRequest) Reset ¶
func (x *GetInfoRequest) Reset()
func (*GetInfoRequest) String ¶
func (x *GetInfoRequest) String() string
type GetInfoResponse ¶
type GetInfoResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` GitCommit string `protobuf:"bytes,3,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"` // contains filtered or unexported fields }
func (*GetInfoResponse) Descriptor
deprecated
func (*GetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
func (*GetInfoResponse) GetGitCommit ¶
func (x *GetInfoResponse) GetGitCommit() string
func (*GetInfoResponse) GetName ¶
func (x *GetInfoResponse) GetName() string
func (*GetInfoResponse) GetVersion ¶
func (x *GetInfoResponse) GetVersion() string
func (*GetInfoResponse) ProtoMessage ¶
func (*GetInfoResponse) ProtoMessage()
func (*GetInfoResponse) ProtoReflect ¶
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
func (*GetInfoResponse) Reset ¶
func (x *GetInfoResponse) Reset()
func (*GetInfoResponse) String ¶
func (x *GetInfoResponse) String() string
type GetStatsRequest ¶
type GetStatsRequest struct {
// contains filtered or unexported fields
}
func (*GetStatsRequest) Descriptor
deprecated
func (*GetStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStatsRequest.ProtoReflect.Descriptor instead.
func (*GetStatsRequest) ProtoMessage ¶
func (*GetStatsRequest) ProtoMessage()
func (*GetStatsRequest) ProtoReflect ¶
func (x *GetStatsRequest) ProtoReflect() protoreflect.Message
func (*GetStatsRequest) Reset ¶
func (x *GetStatsRequest) Reset()
func (*GetStatsRequest) String ¶
func (x *GetStatsRequest) String() string
type GetStatsResponse ¶
type GetStatsResponse struct { Global *GetStatsResponse_Stats `protobuf:"bytes,1,opt,name=global,proto3,oneof" json:"global,omitempty"` // contains filtered or unexported fields }
func (*GetStatsResponse) Descriptor
deprecated
func (*GetStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStatsResponse.ProtoReflect.Descriptor instead.
func (*GetStatsResponse) GetGlobal ¶
func (x *GetStatsResponse) GetGlobal() *GetStatsResponse_Stats
func (*GetStatsResponse) ProtoMessage ¶
func (*GetStatsResponse) ProtoMessage()
func (*GetStatsResponse) ProtoReflect ¶
func (x *GetStatsResponse) ProtoReflect() protoreflect.Message
func (*GetStatsResponse) Reset ¶
func (x *GetStatsResponse) Reset()
func (*GetStatsResponse) String ¶
func (x *GetStatsResponse) String() string
type GetStatsResponse_Stats ¶
type GetStatsResponse_Stats struct { NumFeeds uint32 `protobuf:"varint,1,opt,name=num_feeds,json=numFeeds,proto3" json:"num_feeds,omitempty"` NumEntries uint32 `protobuf:"varint,2,opt,name=num_entries,json=numEntries,proto3" json:"num_entries,omitempty"` NumEntriesUnread uint32 `protobuf:"varint,3,opt,name=num_entries_unread,json=numEntriesUnread,proto3" json:"num_entries_unread,omitempty"` Tag *string `protobuf:"bytes,4,opt,name=tag,proto3,oneof" json:"tag,omitempty"` LastPullTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_pull_time,json=lastPullTime,proto3,oneof" json:"last_pull_time,omitempty"` MostRecentUpdateTime *timestamppb.Timestamp `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetStatsResponse_Stats) Descriptor
deprecated
func (*GetStatsResponse_Stats) Descriptor() ([]byte, []int)
Deprecated: Use GetStatsResponse_Stats.ProtoReflect.Descriptor instead.
func (*GetStatsResponse_Stats) GetLastPullTime ¶
func (x *GetStatsResponse_Stats) GetLastPullTime() *timestamppb.Timestamp
func (*GetStatsResponse_Stats) GetMostRecentUpdateTime ¶
func (x *GetStatsResponse_Stats) GetMostRecentUpdateTime() *timestamppb.Timestamp
func (*GetStatsResponse_Stats) GetNumEntries ¶
func (x *GetStatsResponse_Stats) GetNumEntries() uint32
func (*GetStatsResponse_Stats) GetNumEntriesUnread ¶
func (x *GetStatsResponse_Stats) GetNumEntriesUnread() uint32
func (*GetStatsResponse_Stats) GetNumFeeds ¶
func (x *GetStatsResponse_Stats) GetNumFeeds() uint32
func (*GetStatsResponse_Stats) GetTag ¶
func (x *GetStatsResponse_Stats) GetTag() string
func (*GetStatsResponse_Stats) ProtoMessage ¶
func (*GetStatsResponse_Stats) ProtoMessage()
func (*GetStatsResponse_Stats) ProtoReflect ¶
func (x *GetStatsResponse_Stats) ProtoReflect() protoreflect.Message
func (*GetStatsResponse_Stats) Reset ¶
func (x *GetStatsResponse_Stats) Reset()
func (*GetStatsResponse_Stats) String ¶
func (x *GetStatsResponse_Stats) String() string
type ImportOPMLRequest ¶
type ImportOPMLRequest struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*ImportOPMLRequest) Descriptor
deprecated
func (*ImportOPMLRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportOPMLRequest.ProtoReflect.Descriptor instead.
func (*ImportOPMLRequest) GetPayload ¶
func (x *ImportOPMLRequest) GetPayload() []byte
func (*ImportOPMLRequest) ProtoMessage ¶
func (*ImportOPMLRequest) ProtoMessage()
func (*ImportOPMLRequest) ProtoReflect ¶
func (x *ImportOPMLRequest) ProtoReflect() protoreflect.Message
func (*ImportOPMLRequest) Reset ¶
func (x *ImportOPMLRequest) Reset()
func (*ImportOPMLRequest) String ¶
func (x *ImportOPMLRequest) String() string
type ImportOPMLResponse ¶
type ImportOPMLResponse struct { NumProcessed uint32 `protobuf:"varint,1,opt,name=num_processed,json=numProcessed,proto3" json:"num_processed,omitempty"` NumImported uint32 `protobuf:"varint,2,opt,name=num_imported,json=numImported,proto3" json:"num_imported,omitempty"` // contains filtered or unexported fields }
func (*ImportOPMLResponse) Descriptor
deprecated
func (*ImportOPMLResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportOPMLResponse.ProtoReflect.Descriptor instead.
func (*ImportOPMLResponse) GetNumImported ¶
func (x *ImportOPMLResponse) GetNumImported() uint32
func (*ImportOPMLResponse) GetNumProcessed ¶
func (x *ImportOPMLResponse) GetNumProcessed() uint32
func (*ImportOPMLResponse) ProtoMessage ¶
func (*ImportOPMLResponse) ProtoMessage()
func (*ImportOPMLResponse) ProtoReflect ¶
func (x *ImportOPMLResponse) ProtoReflect() protoreflect.Message
func (*ImportOPMLResponse) Reset ¶
func (x *ImportOPMLResponse) Reset()
func (*ImportOPMLResponse) String ¶
func (x *ImportOPMLResponse) String() string
type ListEntriesRequest ¶
type ListEntriesRequest struct { FeedIds []uint32 `protobuf:"varint,1,rep,packed,name=feed_ids,json=feedIds,proto3" json:"feed_ids,omitempty"` IsBookmarked *bool `protobuf:"varint,2,opt,name=is_bookmarked,json=isBookmarked,proto3,oneof" json:"is_bookmarked,omitempty"` // contains filtered or unexported fields }
func (*ListEntriesRequest) Descriptor
deprecated
func (*ListEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEntriesRequest.ProtoReflect.Descriptor instead.
func (*ListEntriesRequest) GetFeedIds ¶
func (x *ListEntriesRequest) GetFeedIds() []uint32
func (*ListEntriesRequest) GetIsBookmarked ¶
func (x *ListEntriesRequest) GetIsBookmarked() bool
func (*ListEntriesRequest) ProtoMessage ¶
func (*ListEntriesRequest) ProtoMessage()
func (*ListEntriesRequest) ProtoReflect ¶
func (x *ListEntriesRequest) ProtoReflect() protoreflect.Message
func (*ListEntriesRequest) Reset ¶
func (x *ListEntriesRequest) Reset()
func (*ListEntriesRequest) String ¶
func (x *ListEntriesRequest) String() string
type ListEntriesResponse ¶
type ListEntriesResponse struct { Entries []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*ListEntriesResponse) Descriptor
deprecated
func (*ListEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntriesResponse.ProtoReflect.Descriptor instead.
func (*ListEntriesResponse) GetEntries ¶
func (x *ListEntriesResponse) GetEntries() []*Entry
func (*ListEntriesResponse) ProtoMessage ¶
func (*ListEntriesResponse) ProtoMessage()
func (*ListEntriesResponse) ProtoReflect ¶
func (x *ListEntriesResponse) ProtoReflect() protoreflect.Message
func (*ListEntriesResponse) Reset ¶
func (x *ListEntriesResponse) Reset()
func (*ListEntriesResponse) String ¶
func (x *ListEntriesResponse) String() string
type ListFeedsRequest ¶
type ListFeedsRequest struct { MaxEntriesPerFeed *uint32 `protobuf:"varint,1,opt,name=max_entries_per_feed,json=maxEntriesPerFeed,proto3,oneof" json:"max_entries_per_feed,omitempty"` // contains filtered or unexported fields }
func (*ListFeedsRequest) Descriptor
deprecated
func (*ListFeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFeedsRequest.ProtoReflect.Descriptor instead.
func (*ListFeedsRequest) GetMaxEntriesPerFeed ¶
func (x *ListFeedsRequest) GetMaxEntriesPerFeed() uint32
func (*ListFeedsRequest) ProtoMessage ¶
func (*ListFeedsRequest) ProtoMessage()
func (*ListFeedsRequest) ProtoReflect ¶
func (x *ListFeedsRequest) ProtoReflect() protoreflect.Message
func (*ListFeedsRequest) Reset ¶
func (x *ListFeedsRequest) Reset()
func (*ListFeedsRequest) String ¶
func (x *ListFeedsRequest) String() string
type ListFeedsResponse ¶
type ListFeedsResponse struct { Feeds []*Feed `protobuf:"bytes,1,rep,name=feeds,proto3" json:"feeds,omitempty"` // contains filtered or unexported fields }
func (*ListFeedsResponse) Descriptor
deprecated
func (*ListFeedsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFeedsResponse.ProtoReflect.Descriptor instead.
func (*ListFeedsResponse) GetFeeds ¶
func (x *ListFeedsResponse) GetFeeds() []*Feed
func (*ListFeedsResponse) ProtoMessage ¶
func (*ListFeedsResponse) ProtoMessage()
func (*ListFeedsResponse) ProtoReflect ¶
func (x *ListFeedsResponse) ProtoReflect() protoreflect.Message
func (*ListFeedsResponse) Reset ¶
func (x *ListFeedsResponse) Reset()
func (*ListFeedsResponse) String ¶
func (x *ListFeedsResponse) String() string
type NeonClient ¶
type NeonClient interface { // AddFeeds adds a new feed source. AddFeed(ctx context.Context, in *AddFeedRequest, opts ...grpc.CallOption) (*AddFeedResponse, error) // EditFeeds sets one or more fields of feeds. EditFeeds(ctx context.Context, in *EditFeedsRequest, opts ...grpc.CallOption) (*EditFeedsResponse, error) // ListFeeds lists all added feed sources. ListFeeds(ctx context.Context, in *ListFeedsRequest, opts ...grpc.CallOption) (*ListFeedsResponse, error) // PullFeeds checks feeds for updates and returns them. PullFeeds(ctx context.Context, in *PullFeedsRequest, opts ...grpc.CallOption) (Neon_PullFeedsClient, error) // DeleteFeeds removes one or more feed sources. DeleteFeeds(ctx context.Context, in *DeleteFeedsRequest, opts ...grpc.CallOption) (*DeleteFeedsResponse, error) // StreamEntries streams entries of a specific feed. StreamEntries(ctx context.Context, in *StreamEntriesRequest, opts ...grpc.CallOption) (Neon_StreamEntriesClient, error) // ListEntries lists entries of a specific feed. ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (*ListEntriesResponse, error) // EditEntries sets one or more fields of an entry. EditEntries(ctx context.Context, in *EditEntriesRequest, opts ...grpc.CallOption) (*EditEntriesResponse, error) // GetEntry returns the content of an entry. GetEntry(ctx context.Context, in *GetEntryRequest, opts ...grpc.CallOption) (*GetEntryResponse, error) // ExportOPML exports feed subscriptions as an OPML document. ExportOPML(ctx context.Context, in *ExportOPMLRequest, opts ...grpc.CallOption) (*ExportOPMLResponse, error) // ImportOPML imports an OPML document. ImportOPML(ctx context.Context, in *ImportOPMLRequest, opts ...grpc.CallOption) (*ImportOPMLResponse, error) // GetStats returns various statistics of the feed subscriptions. GetStats(ctx context.Context, in *GetStatsRequest, opts ...grpc.CallOption) (*GetStatsResponse, error) // GetInfo returns the version info of the running server. GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) }
NeonClient is the client API for Neon service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNeonClient ¶
func NewNeonClient(cc grpc.ClientConnInterface) NeonClient
type NeonServer ¶
type NeonServer interface { // AddFeeds adds a new feed source. AddFeed(context.Context, *AddFeedRequest) (*AddFeedResponse, error) // EditFeeds sets one or more fields of feeds. EditFeeds(context.Context, *EditFeedsRequest) (*EditFeedsResponse, error) // ListFeeds lists all added feed sources. ListFeeds(context.Context, *ListFeedsRequest) (*ListFeedsResponse, error) // PullFeeds checks feeds for updates and returns them. PullFeeds(*PullFeedsRequest, Neon_PullFeedsServer) error // DeleteFeeds removes one or more feed sources. DeleteFeeds(context.Context, *DeleteFeedsRequest) (*DeleteFeedsResponse, error) // StreamEntries streams entries of a specific feed. StreamEntries(*StreamEntriesRequest, Neon_StreamEntriesServer) error // ListEntries lists entries of a specific feed. ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error) // EditEntries sets one or more fields of an entry. EditEntries(context.Context, *EditEntriesRequest) (*EditEntriesResponse, error) // GetEntry returns the content of an entry. GetEntry(context.Context, *GetEntryRequest) (*GetEntryResponse, error) // ExportOPML exports feed subscriptions as an OPML document. ExportOPML(context.Context, *ExportOPMLRequest) (*ExportOPMLResponse, error) // ImportOPML imports an OPML document. ImportOPML(context.Context, *ImportOPMLRequest) (*ImportOPMLResponse, error) // GetStats returns various statistics of the feed subscriptions. GetStats(context.Context, *GetStatsRequest) (*GetStatsResponse, error) // GetInfo returns the version info of the running server. GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) // contains filtered or unexported methods }
NeonServer is the server API for Neon service. All implementations must embed UnimplementedNeonServer for forward compatibility
type Neon_PullFeedsClient ¶
type Neon_PullFeedsClient interface { Recv() (*PullFeedsResponse, error) grpc.ClientStream }
type Neon_PullFeedsServer ¶
type Neon_PullFeedsServer interface { Send(*PullFeedsResponse) error grpc.ServerStream }
type Neon_StreamEntriesClient ¶
type Neon_StreamEntriesClient interface { Recv() (*StreamEntriesResponse, error) grpc.ClientStream }
type Neon_StreamEntriesServer ¶
type Neon_StreamEntriesServer interface { Send(*StreamEntriesResponse) error grpc.ServerStream }
type PullFeedsRequest ¶
type PullFeedsRequest struct { FeedIds []uint32 `protobuf:"varint,1,rep,packed,name=feed_ids,json=feedIds,proto3" json:"feed_ids,omitempty"` MaxEntriesPerFeed *uint32 `protobuf:"varint,2,opt,name=max_entries_per_feed,json=maxEntriesPerFeed,proto3,oneof" json:"max_entries_per_feed,omitempty"` // contains filtered or unexported fields }
func (*PullFeedsRequest) Descriptor
deprecated
func (*PullFeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullFeedsRequest.ProtoReflect.Descriptor instead.
func (*PullFeedsRequest) GetFeedIds ¶
func (x *PullFeedsRequest) GetFeedIds() []uint32
func (*PullFeedsRequest) GetMaxEntriesPerFeed ¶
func (x *PullFeedsRequest) GetMaxEntriesPerFeed() uint32
func (*PullFeedsRequest) ProtoMessage ¶
func (*PullFeedsRequest) ProtoMessage()
func (*PullFeedsRequest) ProtoReflect ¶
func (x *PullFeedsRequest) ProtoReflect() protoreflect.Message
func (*PullFeedsRequest) Reset ¶
func (x *PullFeedsRequest) Reset()
func (*PullFeedsRequest) String ¶
func (x *PullFeedsRequest) String() string
type PullFeedsResponse ¶
type PullFeedsResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Feed *Feed `protobuf:"bytes,2,opt,name=feed,proto3,oneof" json:"feed,omitempty"` Error *string `protobuf:"bytes,3,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*PullFeedsResponse) Descriptor
deprecated
func (*PullFeedsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullFeedsResponse.ProtoReflect.Descriptor instead.
func (*PullFeedsResponse) GetError ¶
func (x *PullFeedsResponse) GetError() string
func (*PullFeedsResponse) GetFeed ¶
func (x *PullFeedsResponse) GetFeed() *Feed
func (*PullFeedsResponse) GetUrl ¶
func (x *PullFeedsResponse) GetUrl() string
func (*PullFeedsResponse) ProtoMessage ¶
func (*PullFeedsResponse) ProtoMessage()
func (*PullFeedsResponse) ProtoReflect ¶
func (x *PullFeedsResponse) ProtoReflect() protoreflect.Message
func (*PullFeedsResponse) Reset ¶
func (x *PullFeedsResponse) Reset()
func (*PullFeedsResponse) String ¶
func (x *PullFeedsResponse) String() string
type StreamEntriesRequest ¶
type StreamEntriesRequest struct { FeedId uint32 `protobuf:"varint,1,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` // contains filtered or unexported fields }
func (*StreamEntriesRequest) Descriptor
deprecated
func (*StreamEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamEntriesRequest.ProtoReflect.Descriptor instead.
func (*StreamEntriesRequest) GetFeedId ¶
func (x *StreamEntriesRequest) GetFeedId() uint32
func (*StreamEntriesRequest) ProtoMessage ¶
func (*StreamEntriesRequest) ProtoMessage()
func (*StreamEntriesRequest) ProtoReflect ¶
func (x *StreamEntriesRequest) ProtoReflect() protoreflect.Message
func (*StreamEntriesRequest) Reset ¶
func (x *StreamEntriesRequest) Reset()
func (*StreamEntriesRequest) String ¶
func (x *StreamEntriesRequest) String() string
type StreamEntriesResponse ¶
type StreamEntriesResponse struct { Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
func (*StreamEntriesResponse) Descriptor
deprecated
func (*StreamEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamEntriesResponse.ProtoReflect.Descriptor instead.
func (*StreamEntriesResponse) GetEntry ¶
func (x *StreamEntriesResponse) GetEntry() *Entry
func (*StreamEntriesResponse) ProtoMessage ¶
func (*StreamEntriesResponse) ProtoMessage()
func (*StreamEntriesResponse) ProtoReflect ¶
func (x *StreamEntriesResponse) ProtoReflect() protoreflect.Message
func (*StreamEntriesResponse) Reset ¶
func (x *StreamEntriesResponse) Reset()
func (*StreamEntriesResponse) String ¶
func (x *StreamEntriesResponse) String() string
type UnimplementedNeonServer ¶
type UnimplementedNeonServer struct { }
UnimplementedNeonServer must be embedded to have forward compatible implementations.
func (UnimplementedNeonServer) AddFeed ¶
func (UnimplementedNeonServer) AddFeed(context.Context, *AddFeedRequest) (*AddFeedResponse, error)
func (UnimplementedNeonServer) DeleteFeeds ¶
func (UnimplementedNeonServer) DeleteFeeds(context.Context, *DeleteFeedsRequest) (*DeleteFeedsResponse, error)
func (UnimplementedNeonServer) EditEntries ¶
func (UnimplementedNeonServer) EditEntries(context.Context, *EditEntriesRequest) (*EditEntriesResponse, error)
func (UnimplementedNeonServer) EditFeeds ¶
func (UnimplementedNeonServer) EditFeeds(context.Context, *EditFeedsRequest) (*EditFeedsResponse, error)
func (UnimplementedNeonServer) ExportOPML ¶
func (UnimplementedNeonServer) ExportOPML(context.Context, *ExportOPMLRequest) (*ExportOPMLResponse, error)
func (UnimplementedNeonServer) GetEntry ¶
func (UnimplementedNeonServer) GetEntry(context.Context, *GetEntryRequest) (*GetEntryResponse, error)
func (UnimplementedNeonServer) GetInfo ¶
func (UnimplementedNeonServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
func (UnimplementedNeonServer) GetStats ¶
func (UnimplementedNeonServer) GetStats(context.Context, *GetStatsRequest) (*GetStatsResponse, error)
func (UnimplementedNeonServer) ImportOPML ¶
func (UnimplementedNeonServer) ImportOPML(context.Context, *ImportOPMLRequest) (*ImportOPMLResponse, error)
func (UnimplementedNeonServer) ListEntries ¶
func (UnimplementedNeonServer) ListEntries(context.Context, *ListEntriesRequest) (*ListEntriesResponse, error)
func (UnimplementedNeonServer) ListFeeds ¶
func (UnimplementedNeonServer) ListFeeds(context.Context, *ListFeedsRequest) (*ListFeedsResponse, error)
func (UnimplementedNeonServer) PullFeeds ¶
func (UnimplementedNeonServer) PullFeeds(*PullFeedsRequest, Neon_PullFeedsServer) error
func (UnimplementedNeonServer) StreamEntries ¶
func (UnimplementedNeonServer) StreamEntries(*StreamEntriesRequest, Neon_StreamEntriesServer) error
type UnsafeNeonServer ¶
type UnsafeNeonServer interface {
// contains filtered or unexported methods
}
UnsafeNeonServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NeonServer will result in compilation errors.