feedsv2

package
v0.0.0-...-3bd2bae Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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)

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Feed.ProtoReflect.Descriptor instead.

func (*Feed) GetCreatedAt

func (x *Feed) GetCreatedAt() *timestamppb.Timestamp

func (*Feed) GetDescription

func (x *Feed) GetDescription() string

func (*Feed) GetDom

func (x *Feed) GetDom() *FeedDOM

func (*Feed) GetHostname

func (x *Feed) GetHostname() string

func (*Feed) GetIcon

func (x *Feed) GetIcon() string

func (*Feed) GetId

func (x *Feed) GetId() string

func (*Feed) GetLocalization

func (x *Feed) GetLocalization() *FeedLocalization

func (*Feed) GetMeta

func (x *Feed) GetMeta() *FeedMeta

func (*Feed) GetName

func (x *Feed) GetName() string

func (*Feed) GetStream

func (x *Feed) GetStream() *FeedStream

func (*Feed) GetTest

func (x *Feed) GetTest() *FeedTest

func (*Feed) GetTwitterId

func (x *Feed) GetTwitterId() string

func (*Feed) GetUpdatedAt

func (x *Feed) GetUpdatedAt() *timestamppb.Timestamp

func (*Feed) GetUrl

func (x *Feed) GetUrl() string

func (*Feed) GetUserName

func (x *Feed) GetUserName() string

func (*Feed) ProtoMessage

func (*Feed) ProtoMessage()

func (*Feed) ProtoReflect

func (x *Feed) ProtoReflect() protoreflect.Message

func (*Feed) Reset

func (x *Feed) Reset()

func (*Feed) String

func (x *Feed) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FeedDOM.ProtoReflect.Descriptor instead.

func (*FeedDOM) GetApi

func (x *FeedDOM) GetApi() string

func (*FeedDOM) GetAuthors

func (x *FeedDOM) GetAuthors() string

func (*FeedDOM) GetBody

func (x *FeedDOM) GetBody() string

func (*FeedDOM) GetCategories

func (x *FeedDOM) GetCategories() string

func (*FeedDOM) GetDomType

func (x *FeedDOM) GetDomType() string

func (*FeedDOM) GetEditedAt

func (x *FeedDOM) GetEditedAt() string

func (*FeedDOM) GetExcerpt

func (x *FeedDOM) GetExcerpt() string

func (*FeedDOM) GetImg

func (x *FeedDOM) GetImg() string

func (*FeedDOM) GetPublishedAt

func (x *FeedDOM) GetPublishedAt() string

func (*FeedDOM) GetSources

func (x *FeedDOM) GetSources() string

func (*FeedDOM) GetTags

func (x *FeedDOM) GetTags() string

func (*FeedDOM) GetTimezoneOffset

func (x *FeedDOM) GetTimezoneOffset() string

func (*FeedDOM) GetTitle

func (x *FeedDOM) GetTitle() string

func (*FeedDOM) ProtoMessage

func (*FeedDOM) ProtoMessage()

func (*FeedDOM) ProtoReflect

func (x *FeedDOM) ProtoReflect() protoreflect.Message

func (*FeedDOM) Reset

func (x *FeedDOM) Reset()

func (*FeedDOM) String

func (x *FeedDOM) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FeedList.ProtoReflect.Descriptor instead.

func (*FeedList) GetData

func (x *FeedList) GetData() []*Feed

func (*FeedList) GetPagination

func (x *FeedList) GetPagination() *v2.Pagination

func (*FeedList) ProtoMessage

func (*FeedList) ProtoMessage()

func (*FeedList) ProtoReflect

func (x *FeedList) ProtoReflect() protoreflect.Message

func (*FeedList) Reset

func (x *FeedList) Reset()

func (*FeedList) String

func (x *FeedList) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FeedMeta.ProtoReflect.Descriptor instead.

func (*FeedMeta) GetBusinessOwner

func (x *FeedMeta) GetBusinessOwner() string

func (*FeedMeta) GetBusinessRegistered

func (x *FeedMeta) GetBusinessRegistered() bool

func (*FeedMeta) GetBusinessType

func (x *FeedMeta) GetBusinessType() v2.BusinessType

func (*FeedMeta) GetContentType

func (x *FeedMeta) GetContentType() v2.ContentType

func (*FeedMeta) GetEmail

func (x *FeedMeta) GetEmail() string

func (*FeedMeta) GetPoliticalAffiliation

func (x *FeedMeta) GetPoliticalAffiliation() string

func (*FeedMeta) GetPoliticalOrientation

func (x *FeedMeta) GetPoliticalOrientation() v2.PoliticalOrientation

func (*FeedMeta) GetRegistryId

func (x *FeedMeta) GetRegistryId() string

func (*FeedMeta) GetTier

func (x *FeedMeta) GetTier() v2.Tier

func (*FeedMeta) ProtoMessage

func (*FeedMeta) ProtoMessage()

func (*FeedMeta) ProtoReflect

func (x *FeedMeta) ProtoReflect() protoreflect.Message

func (*FeedMeta) Reset

func (x *FeedMeta) Reset()

func (*FeedMeta) String

func (x *FeedMeta) String() string

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use FeedTest.ProtoReflect.Descriptor instead.

func (*FeedTest) GetAuthors

func (x *FeedTest) GetAuthors() []string

func (*FeedTest) GetBody

func (x *FeedTest) GetBody() string

func (*FeedTest) GetDescription

func (x *FeedTest) GetDescription() string

func (*FeedTest) GetImage

func (x *FeedTest) GetImage() string

func (*FeedTest) GetPublishedAt

func (x *FeedTest) GetPublishedAt() string

func (*FeedTest) GetStatus

func (x *FeedTest) GetStatus() string

func (*FeedTest) GetTags

func (x *FeedTest) GetTags() []string

func (*FeedTest) GetTitle

func (x *FeedTest) GetTitle() string

func (*FeedTest) GetUrl

func (x *FeedTest) GetUrl() string

func (*FeedTest) ProtoMessage

func (*FeedTest) ProtoMessage()

func (*FeedTest) ProtoReflect

func (x *FeedTest) ProtoReflect() protoreflect.Message

func (*FeedTest) Reset

func (x *FeedTest) Reset()

func (*FeedTest) String

func (x *FeedTest) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use QueryFeed.ProtoReflect.Descriptor instead.

func (*QueryFeed) GetCountry

func (x *QueryFeed) GetCountry() string

func (*QueryFeed) GetHostname

func (x *QueryFeed) GetHostname() string

func (*QueryFeed) GetId

func (x *QueryFeed) GetId() string

func (*QueryFeed) GetLang

func (x *QueryFeed) GetLang() string

func (*QueryFeed) GetLimit

func (x *QueryFeed) GetLimit() int32

func (*QueryFeed) GetOffset

func (x *QueryFeed) GetOffset() int32

func (*QueryFeed) GetQ

func (x *QueryFeed) GetQ() string

func (*QueryFeed) GetSortKey

func (x *QueryFeed) GetSortKey() string

func (*QueryFeed) GetSortOrder

func (x *QueryFeed) GetSortOrder() int32

func (*QueryFeed) GetStreamStatus

func (x *QueryFeed) GetStreamStatus() v2.Status

func (*QueryFeed) GetStreamType

func (x *QueryFeed) GetStreamType() v2.StreamType

func (*QueryFeed) GetUserName

func (x *QueryFeed) GetUserName() string

func (*QueryFeed) ProtoMessage

func (*QueryFeed) ProtoMessage()

func (*QueryFeed) ProtoReflect

func (x *QueryFeed) ProtoReflect() protoreflect.Message

func (*QueryFeed) Reset

func (x *QueryFeed) Reset()

func (*QueryFeed) String

func (x *QueryFeed) String() string

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) GetFeed

func (UnimplementedFeedServiceServer) GetFeeds

func (UnimplementedFeedServiceServer) GetFeedsStreamList

func (UnimplementedFeedServiceServer) TestFeed

func (UnimplementedFeedServiceServer) UpdateFeed

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL