Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterFeedServiceServer(s grpc.ServiceRegistrar, srv FeedServiceServer)
- type Feed
- func (*Feed) Descriptor() ([]byte, []int)deprecated
- func (x *Feed) GetCreatedAt() *timestamppb.Timestamp
- func (x *Feed) GetDescription() string
- func (x *Feed) GetDom() *FeedDOM
- func (x *Feed) GetHostname() string
- func (x *Feed) GetIcon() string
- func (x *Feed) GetId() string
- func (x *Feed) GetLocalization() *FeedLocalization
- func (x *Feed) GetMeta() *FeedMeta
- func (x *Feed) GetName() string
- func (x *Feed) GetStream() *FeedStream
- func (x *Feed) GetTest() *FeedTest
- func (x *Feed) GetTwitterId() string
- func (x *Feed) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Feed) GetUrl() string
- func (x *Feed) GetUserName() string
- func (*Feed) ProtoMessage()
- func (x *Feed) ProtoReflect() protoreflect.Message
- func (x *Feed) Reset()
- func (x *Feed) String() string
- type FeedDOM
- func (*FeedDOM) Descriptor() ([]byte, []int)deprecated
- func (x *FeedDOM) GetApi() string
- func (x *FeedDOM) GetAuthors() string
- func (x *FeedDOM) GetBody() string
- func (x *FeedDOM) GetCategories() string
- func (x *FeedDOM) GetDomType() string
- func (x *FeedDOM) GetEditedAt() string
- func (x *FeedDOM) GetExcerpt() string
- func (x *FeedDOM) GetImg() string
- func (x *FeedDOM) GetPublishedAt() string
- func (x *FeedDOM) GetSources() string
- func (x *FeedDOM) GetTags() string
- func (x *FeedDOM) GetTimezoneOffset() string
- func (x *FeedDOM) GetTitle() string
- func (*FeedDOM) ProtoMessage()
- func (x *FeedDOM) ProtoReflect() protoreflect.Message
- func (x *FeedDOM) Reset()
- func (x *FeedDOM) String() string
- type FeedList
- type FeedLocalization
- func (*FeedLocalization) Descriptor() ([]byte, []int)deprecated
- func (x *FeedLocalization) GetCountry() string
- func (x *FeedLocalization) GetLang() string
- func (x *FeedLocalization) GetLocality() v2.Locality
- func (x *FeedLocalization) GetRegion() string
- func (x *FeedLocalization) GetUnion() string
- func (*FeedLocalization) ProtoMessage()
- func (x *FeedLocalization) ProtoReflect() protoreflect.Message
- func (x *FeedLocalization) Reset()
- func (x *FeedLocalization) String() string
- type FeedMeta
- func (*FeedMeta) Descriptor() ([]byte, []int)deprecated
- func (x *FeedMeta) GetBusinessOwner() string
- func (x *FeedMeta) GetBusinessRegistered() bool
- func (x *FeedMeta) GetBusinessType() v2.BusinessType
- func (x *FeedMeta) GetContentType() v2.ContentType
- func (x *FeedMeta) GetEmail() string
- func (x *FeedMeta) GetPoliticalAffiliation() string
- func (x *FeedMeta) GetPoliticalOrientation() v2.PoliticalOrientation
- func (x *FeedMeta) GetRegistryId() string
- func (x *FeedMeta) GetTier() v2.Tier
- func (*FeedMeta) ProtoMessage()
- func (x *FeedMeta) ProtoReflect() protoreflect.Message
- func (x *FeedMeta) Reset()
- func (x *FeedMeta) String() string
- type FeedServiceClient
- type FeedServiceServer
- type FeedStream
- func (*FeedStream) Descriptor() ([]byte, []int)deprecated
- func (x *FeedStream) GetRequiresProxy() bool
- func (x *FeedStream) GetState() v2.State
- func (x *FeedStream) GetStreamStatus() v2.Status
- func (x *FeedStream) GetStreamTarget() string
- func (x *FeedStream) GetStreamType() v2.StreamType
- func (*FeedStream) ProtoMessage()
- func (x *FeedStream) ProtoReflect() protoreflect.Message
- func (x *FeedStream) Reset()
- func (x *FeedStream) String() string
- type FeedStreamList
- type FeedTest
- func (*FeedTest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedTest) GetAuthors() []string
- func (x *FeedTest) GetBody() string
- func (x *FeedTest) GetDescription() string
- func (x *FeedTest) GetImage() string
- func (x *FeedTest) GetPublishedAt() string
- func (x *FeedTest) GetStatus() string
- func (x *FeedTest) GetTags() []string
- func (x *FeedTest) GetTitle() string
- func (x *FeedTest) GetUrl() string
- func (*FeedTest) ProtoMessage()
- func (x *FeedTest) ProtoReflect() protoreflect.Message
- func (x *FeedTest) Reset()
- func (x *FeedTest) String() string
- type FeedWithFields
- func (*FeedWithFields) Descriptor() ([]byte, []int)deprecated
- func (x *FeedWithFields) GetId() string
- func (x *FeedWithFields) GetMeta() *structpb.Struct
- func (*FeedWithFields) ProtoMessage()
- func (x *FeedWithFields) ProtoReflect() protoreflect.Message
- func (x *FeedWithFields) Reset()
- func (x *FeedWithFields) String() string
- type QueryFeed
- func (*QueryFeed) Descriptor() ([]byte, []int)deprecated
- func (x *QueryFeed) GetCountry() string
- func (x *QueryFeed) GetHostname() string
- func (x *QueryFeed) GetId() string
- func (x *QueryFeed) GetLang() string
- func (x *QueryFeed) GetLimit() int32
- func (x *QueryFeed) GetOffset() int32
- func (x *QueryFeed) GetQ() string
- func (x *QueryFeed) GetSortKey() string
- func (x *QueryFeed) GetSortOrder() int32
- func (x *QueryFeed) GetStreamStatus() v2.Status
- func (x *QueryFeed) GetStreamType() v2.StreamType
- func (x *QueryFeed) GetUserName() string
- func (*QueryFeed) ProtoMessage()
- func (x *QueryFeed) ProtoReflect() protoreflect.Message
- func (x *QueryFeed) Reset()
- func (x *QueryFeed) String() string
- type UnimplementedFeedServiceServer
- func (UnimplementedFeedServiceServer) CreateFeed(context.Context, *Feed) (*Feed, error)
- func (UnimplementedFeedServiceServer) DeleteFeed(context.Context, *Feed) (*v2.ResponseWithMessage, error)
- func (UnimplementedFeedServiceServer) GetFeed(context.Context, *QueryFeed) (*Feed, error)
- func (UnimplementedFeedServiceServer) GetFeeds(context.Context, *QueryFeed) (*FeedList, error)
- func (UnimplementedFeedServiceServer) GetFeedsStreamList(context.Context, *QueryFeed) (*FeedList, error)
- func (UnimplementedFeedServiceServer) TestFeed(context.Context, *Feed) (*FeedTest, error)
- func (UnimplementedFeedServiceServer) UpdateFeed(context.Context, *Feed) (*v2.ResponseWithMessage, error)
- type UnsafeFeedServiceServer
Constants ¶
const ( FeedService_CreateFeed_FullMethodName = "/mediawatch.feeds.v2.FeedService/CreateFeed" FeedService_GetFeed_FullMethodName = "/mediawatch.feeds.v2.FeedService/GetFeed" FeedService_GetFeeds_FullMethodName = "/mediawatch.feeds.v2.FeedService/GetFeeds" FeedService_UpdateFeed_FullMethodName = "/mediawatch.feeds.v2.FeedService/UpdateFeed" FeedService_DeleteFeed_FullMethodName = "/mediawatch.feeds.v2.FeedService/DeleteFeed" FeedService_GetFeedsStreamList_FullMethodName = "/mediawatch.feeds.v2.FeedService/GetFeedsStreamList" FeedService_TestFeed_FullMethodName = "/mediawatch.feeds.v2.FeedService/TestFeed" )
Variables ¶
var FeedService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediawatch.feeds.v2.FeedService", HandlerType: (*FeedServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateFeed", Handler: _FeedService_CreateFeed_Handler, }, { MethodName: "GetFeed", Handler: _FeedService_GetFeed_Handler, }, { MethodName: "GetFeeds", Handler: _FeedService_GetFeeds_Handler, }, { MethodName: "UpdateFeed", Handler: _FeedService_UpdateFeed_Handler, }, { MethodName: "DeleteFeed", Handler: _FeedService_DeleteFeed_Handler, }, { MethodName: "GetFeedsStreamList", Handler: _FeedService_GetFeedsStreamList_Handler, }, { MethodName: "TestFeed", Handler: _FeedService_TestFeed_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediawatch/feeds/v2/feed.proto", }
FeedService_ServiceDesc is the grpc.ServiceDesc for FeedService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_mediawatch_feeds_v2_feed_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFeedServiceServer ¶
func RegisterFeedServiceServer(s grpc.ServiceRegistrar, srv FeedServiceServer)
Types ¶
type Feed ¶
type Feed struct { // UUID as a string Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" bson:"_id,omitempty"` // Feed creation datetime in RFC3339 format CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at,omitempty"` // Feed update datetime in RFC3339 format UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at,omitempty"` // Name of the feed Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Twitter user_name of the feed (if appliccable) UserName string `protobuf:"bytes,5,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty" bson:"user_name,omitempty"` // A small description of the feed Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // Twitter id_str of the feed (if appliccable) TwitterId string `protobuf:"bytes,7,opt,name=twitter_id,json=twitterId,proto3" json:"twitter_id,omitempty" bson:"twitter_id,omitempty"` // Twitter profile_image_url of the feed (if appliccable), or favicon url Icon string `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"` // Base url of the feed, including trailing slash `/` Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"` // Base url of the feed, including trailing slash `/` Hostname string `protobuf:"bytes,10,opt,name=hostname,proto3" json:"hostname,omitempty"` // strem fields Stream *FeedStream `protobuf:"bytes,11,opt,name=stream,proto3" json:"stream,omitempty"` // localization fields Localization *FeedLocalization `protobuf:"bytes,12,opt,name=localization,proto3" json:"localization,omitempty"` // meta fields Meta *FeedMeta `protobuf:"bytes,13,opt,name=meta,proto3" json:"meta,omitempty"` // dom fiedlds Dom *FeedDOM `protobuf:"bytes,14,opt,name=dom,proto3" json:"dom,omitempty"` // testing data Test *FeedTest `protobuf:"bytes,15,opt,name=test,proto3" json:"test,omitempty"` // contains filtered or unexported fields }
func (*Feed) Descriptor
deprecated
func (*Feed) GetCreatedAt ¶
func (x *Feed) GetCreatedAt() *timestamppb.Timestamp
func (*Feed) GetDescription ¶
func (*Feed) GetHostname ¶
func (*Feed) GetLocalization ¶
func (x *Feed) GetLocalization() *FeedLocalization
func (*Feed) GetStream ¶
func (x *Feed) GetStream() *FeedStream
func (*Feed) GetTwitterId ¶
func (*Feed) GetUpdatedAt ¶
func (x *Feed) GetUpdatedAt() *timestamppb.Timestamp
func (*Feed) GetUserName ¶
func (*Feed) ProtoMessage ¶
func (*Feed) ProtoMessage()
func (*Feed) ProtoReflect ¶
func (x *Feed) ProtoReflect() protoreflect.Message
type FeedDOM ¶
type FeedDOM struct { DomType string `protobuf:"bytes,1,opt,name=dom_type,json=domType,proto3" json:"dom_type,omitempty" bson:"dom_type,omitempty"` Api string `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Excerpt string `protobuf:"bytes,4,opt,name=excerpt,proto3" json:"excerpt,omitempty"` Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` Authors string `protobuf:"bytes,6,opt,name=authors,proto3" json:"authors,omitempty"` Sources string `protobuf:"bytes,7,opt,name=sources,proto3" json:"sources,omitempty"` Tags string `protobuf:"bytes,8,opt,name=tags,proto3" json:"tags,omitempty"` Categories string `protobuf:"bytes,9,opt,name=categories,proto3" json:"categories,omitempty"` PublishedAt string `protobuf:"bytes,10,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty" bson:"published_at,omitempty"` EditedAt string `protobuf:"bytes,11,opt,name=edited_at,json=editedAt,proto3" json:"edited_at,omitempty" bson:"edited_at,omitempty"` TimezoneOffset string `` /* 137-byte string literal not displayed */ Img string `protobuf:"bytes,13,opt,name=img,proto3" json:"img,omitempty"` // contains filtered or unexported fields }
FeedDOM Model
func (*FeedDOM) Descriptor
deprecated
func (*FeedDOM) GetAuthors ¶
func (*FeedDOM) GetCategories ¶
func (*FeedDOM) GetDomType ¶
func (*FeedDOM) GetEditedAt ¶
func (*FeedDOM) GetExcerpt ¶
func (*FeedDOM) GetPublishedAt ¶
func (*FeedDOM) GetSources ¶
func (*FeedDOM) GetTimezoneOffset ¶
func (*FeedDOM) ProtoMessage ¶
func (*FeedDOM) ProtoMessage()
func (*FeedDOM) ProtoReflect ¶
func (x *FeedDOM) ProtoReflect() protoreflect.Message
type FeedList ¶
type FeedList struct { Data []*Feed `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Pagination *v2.Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*FeedList) Descriptor
deprecated
func (*FeedList) GetPagination ¶
func (x *FeedList) GetPagination() *v2.Pagination
func (*FeedList) ProtoMessage ¶
func (*FeedList) ProtoMessage()
func (*FeedList) ProtoReflect ¶
func (x *FeedList) ProtoReflect() protoreflect.Message
type FeedLocalization ¶
type FeedLocalization struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` Locality v2.Locality `protobuf:"varint,2,opt,name=locality,proto3,enum=mediawatch.common.v2.Locality" json:"locality,omitempty"` // Feed predefined language code in ISO 639-1 format Lang string `protobuf:"bytes,3,opt,name=lang,proto3" json:"lang,omitempty"` Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` Union string `protobuf:"bytes,5,opt,name=union,proto3" json:"union,omitempty"` // contains filtered or unexported fields }
FeedLocalization Model
func (*FeedLocalization) Descriptor
deprecated
func (*FeedLocalization) Descriptor() ([]byte, []int)
Deprecated: Use FeedLocalization.ProtoReflect.Descriptor instead.
func (*FeedLocalization) GetCountry ¶
func (x *FeedLocalization) GetCountry() string
func (*FeedLocalization) GetLang ¶
func (x *FeedLocalization) GetLang() string
func (*FeedLocalization) GetLocality ¶
func (x *FeedLocalization) GetLocality() v2.Locality
func (*FeedLocalization) GetRegion ¶
func (x *FeedLocalization) GetRegion() string
func (*FeedLocalization) GetUnion ¶
func (x *FeedLocalization) GetUnion() string
func (*FeedLocalization) ProtoMessage ¶
func (*FeedLocalization) ProtoMessage()
func (*FeedLocalization) ProtoReflect ¶
func (x *FeedLocalization) ProtoReflect() protoreflect.Message
func (*FeedLocalization) Reset ¶
func (x *FeedLocalization) Reset()
func (*FeedLocalization) String ¶
func (x *FeedLocalization) String() string
type FeedMeta ¶
type FeedMeta struct { // email (if provided) Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // as suggested by ioanna archontaki (phd@uoa) // the purpose of these meta is to correlate feeds // by their political context BusinessType v2.BusinessType `` /* 168-byte string literal not displayed */ BusinessOwner string `` /* 132-byte string literal not displayed */ // if the business is registered or not in a // public business registry, association, etc. BusinessRegistered bool `` /* 153-byte string literal not displayed */ ContentType v2.ContentType `` /* 163-byte string literal not displayed */ PoliticalOrientation v2.PoliticalOrientation `` /* 208-byte string literal not displayed */ PoliticalAffiliation string `` /* 160-byte string literal not displayed */ Tier v2.Tier `protobuf:"varint,8,opt,name=tier,proto3,enum=mediawatch.common.v2.Tier" json:"tier,omitempty"` RegistryId string `protobuf:"bytes,9,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty" bson:"registry_id,omitempty"` // contains filtered or unexported fields }
FeedMeta Model
func (*FeedMeta) Descriptor
deprecated
func (*FeedMeta) GetBusinessOwner ¶
func (*FeedMeta) GetBusinessRegistered ¶
func (*FeedMeta) GetBusinessType ¶
func (x *FeedMeta) GetBusinessType() v2.BusinessType
func (*FeedMeta) GetContentType ¶
func (x *FeedMeta) GetContentType() v2.ContentType
func (*FeedMeta) GetPoliticalAffiliation ¶
func (*FeedMeta) GetPoliticalOrientation ¶
func (x *FeedMeta) GetPoliticalOrientation() v2.PoliticalOrientation
func (*FeedMeta) GetRegistryId ¶
func (*FeedMeta) ProtoMessage ¶
func (*FeedMeta) ProtoMessage()
func (*FeedMeta) ProtoReflect ¶
func (x *FeedMeta) ProtoReflect() protoreflect.Message
type FeedServiceClient ¶
type FeedServiceClient interface { // create a new feed CreateFeed(ctx context.Context, in *Feed, opts ...grpc.CallOption) (*Feed, error) // get a single feed GetFeed(ctx context.Context, in *QueryFeed, opts ...grpc.CallOption) (*Feed, error) // get list of feeds by query GetFeeds(ctx context.Context, in *QueryFeed, opts ...grpc.CallOption) (*FeedList, error) // update a feed UpdateFeed(ctx context.Context, in *Feed, opts ...grpc.CallOption) (*v2.ResponseWithMessage, error) // delete a feed DeleteFeed(ctx context.Context, in *Feed, opts ...grpc.CallOption) (*v2.ResponseWithMessage, error) // get the stream list GetFeedsStreamList(ctx context.Context, in *QueryFeed, opts ...grpc.CallOption) (*FeedList, error) // test the feed e2e TestFeed(ctx context.Context, in *Feed, opts ...grpc.CallOption) (*FeedTest, error) }
FeedServiceClient is the client API for FeedService 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 NewFeedServiceClient ¶
func NewFeedServiceClient(cc grpc.ClientConnInterface) FeedServiceClient
type FeedServiceServer ¶
type FeedServiceServer interface { // create a new feed CreateFeed(context.Context, *Feed) (*Feed, error) // get a single feed GetFeed(context.Context, *QueryFeed) (*Feed, error) // get list of feeds by query GetFeeds(context.Context, *QueryFeed) (*FeedList, error) // update a feed UpdateFeed(context.Context, *Feed) (*v2.ResponseWithMessage, error) // delete a feed DeleteFeed(context.Context, *Feed) (*v2.ResponseWithMessage, error) // get the stream list GetFeedsStreamList(context.Context, *QueryFeed) (*FeedList, error) // test the feed e2e TestFeed(context.Context, *Feed) (*FeedTest, error) }
FeedServiceServer is the server API for FeedService service. All implementations should embed UnimplementedFeedServiceServer for forward compatibility.
type FeedStream ¶
type FeedStream struct { // stream key to select, can be the twitter_id of the feed in case // stream type is STREAM_TYPE_TWITTER, otherwise an ATOM/RSS feed url. StreamTarget string `` /* 128-byte string literal not displayed */ // stream type, can be other, twitter or rss // currently only twitter is supported StreamType v2.StreamType `` /* 158-byte string literal not displayed */ // common status (see common.proto) StreamStatus v2.Status `` /* 162-byte string literal not displayed */ RequiresProxy bool `` /* 133-byte string literal not displayed */ // stream state State v2.State `protobuf:"varint,5,opt,name=state,proto3,enum=mediawatch.common.v2.State" json:"state,omitempty"` // contains filtered or unexported fields }
FeedStream Model
func (*FeedStream) Descriptor
deprecated
func (*FeedStream) Descriptor() ([]byte, []int)
Deprecated: Use FeedStream.ProtoReflect.Descriptor instead.
func (*FeedStream) GetRequiresProxy ¶
func (x *FeedStream) GetRequiresProxy() bool
func (*FeedStream) GetState ¶
func (x *FeedStream) GetState() v2.State
func (*FeedStream) GetStreamStatus ¶
func (x *FeedStream) GetStreamStatus() v2.Status
func (*FeedStream) GetStreamTarget ¶
func (x *FeedStream) GetStreamTarget() string
func (*FeedStream) GetStreamType ¶
func (x *FeedStream) GetStreamType() v2.StreamType
func (*FeedStream) ProtoMessage ¶
func (*FeedStream) ProtoMessage()
func (*FeedStream) ProtoReflect ¶
func (x *FeedStream) ProtoReflect() protoreflect.Message
func (*FeedStream) Reset ¶
func (x *FeedStream) Reset()
func (*FeedStream) String ¶
func (x *FeedStream) String() string
type FeedStreamList ¶
type FeedStreamList struct { Data []string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*FeedStreamList) Descriptor
deprecated
func (*FeedStreamList) Descriptor() ([]byte, []int)
Deprecated: Use FeedStreamList.ProtoReflect.Descriptor instead.
func (*FeedStreamList) GetData ¶
func (x *FeedStreamList) GetData() []string
func (*FeedStreamList) ProtoMessage ¶
func (*FeedStreamList) ProtoMessage()
func (*FeedStreamList) ProtoReflect ¶
func (x *FeedStreamList) ProtoReflect() protoreflect.Message
func (*FeedStreamList) Reset ¶
func (x *FeedStreamList) Reset()
func (*FeedStreamList) String ¶
func (x *FeedStreamList) String() string
type FeedTest ¶
type FeedTest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` Authors []string `protobuf:"bytes,3,rep,name=authors,proto3" json:"authors,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` PublishedAt string `protobuf:"bytes,5,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Image string `protobuf:"bytes,7,opt,name=image,proto3" json:"image,omitempty"` Url string `protobuf:"bytes,8,opt,name=url,proto3" json:"url,omitempty"` Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*FeedTest) Descriptor
deprecated
func (*FeedTest) GetAuthors ¶
func (*FeedTest) GetDescription ¶
func (*FeedTest) GetPublishedAt ¶
func (*FeedTest) ProtoMessage ¶
func (*FeedTest) ProtoMessage()
func (*FeedTest) ProtoReflect ¶
func (x *FeedTest) ProtoReflect() protoreflect.Message
type FeedWithFields ¶
type FeedWithFields struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Meta *structpb.Struct `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*FeedWithFields) Descriptor
deprecated
func (*FeedWithFields) Descriptor() ([]byte, []int)
Deprecated: Use FeedWithFields.ProtoReflect.Descriptor instead.
func (*FeedWithFields) GetId ¶
func (x *FeedWithFields) GetId() string
func (*FeedWithFields) GetMeta ¶
func (x *FeedWithFields) GetMeta() *structpb.Struct
func (*FeedWithFields) ProtoMessage ¶
func (*FeedWithFields) ProtoMessage()
func (*FeedWithFields) ProtoReflect ¶
func (x *FeedWithFields) ProtoReflect() protoreflect.Message
func (*FeedWithFields) Reset ¶
func (x *FeedWithFields) Reset()
func (*FeedWithFields) String ¶
func (x *FeedWithFields) String() string
type QueryFeed ¶
type QueryFeed struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` SortOrder int32 `protobuf:"varint,4,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"` SortKey string `protobuf:"bytes,5,opt,name=sort_key,json=sortKey,proto3" json:"sort_key,omitempty"` Country string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"` Lang string `protobuf:"bytes,7,opt,name=lang,proto3" json:"lang,omitempty"` StreamType v2.StreamType `` /* 129-byte string literal not displayed */ StreamStatus v2.Status `` /* 131-byte string literal not displayed */ Q string `protobuf:"bytes,10,opt,name=q,proto3" json:"q,omitempty"` UserName string `protobuf:"bytes,11,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` Hostname string `protobuf:"bytes,12,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
func (*QueryFeed) Descriptor
deprecated
func (*QueryFeed) GetCountry ¶
func (*QueryFeed) GetHostname ¶
func (*QueryFeed) GetSortKey ¶
func (*QueryFeed) GetSortOrder ¶
func (*QueryFeed) GetStreamStatus ¶
func (*QueryFeed) GetStreamType ¶
func (x *QueryFeed) GetStreamType() v2.StreamType
func (*QueryFeed) GetUserName ¶
func (*QueryFeed) ProtoMessage ¶
func (*QueryFeed) ProtoMessage()
func (*QueryFeed) ProtoReflect ¶
func (x *QueryFeed) ProtoReflect() protoreflect.Message
type UnimplementedFeedServiceServer ¶
type UnimplementedFeedServiceServer struct{}
UnimplementedFeedServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedFeedServiceServer) CreateFeed ¶
func (UnimplementedFeedServiceServer) DeleteFeed ¶
func (UnimplementedFeedServiceServer) DeleteFeed(context.Context, *Feed) (*v2.ResponseWithMessage, error)
func (UnimplementedFeedServiceServer) GetFeedsStreamList ¶
func (UnimplementedFeedServiceServer) UpdateFeed ¶
func (UnimplementedFeedServiceServer) UpdateFeed(context.Context, *Feed) (*v2.ResponseWithMessage, error)
type UnsafeFeedServiceServer ¶
type UnsafeFeedServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFeedServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FeedServiceServer will result in compilation errors.