Documentation
¶
Index ¶
- Variables
- func RegisterLibrarianPorterServiceServer(s grpc.ServiceRegistrar, srv LibrarianPorterServiceServer)
- type AccountAppRelationType
- func (AccountAppRelationType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountAppRelationType) Enum() *AccountAppRelationType
- func (AccountAppRelationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountAppRelationType) Number() protoreflect.EnumNumber
- func (x AccountAppRelationType) String() string
- func (AccountAppRelationType) Type() protoreflect.EnumType
- type DBSource
- type DataSource
- type FeedSource
- type LibrarianPorterServiceClient
- type LibrarianPorterServiceServer
- type LibrarianPorterService_PullDataClient
- type LibrarianPorterService_PullDataServer
- type LibrarianPorterService_PushDataClient
- type LibrarianPorterService_PushDataServer
- type PullAccountAppRelationRequest
- func (*PullAccountAppRelationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccountAppRelationRequest) GetAccountId() *v1.AccountID
- func (x *PullAccountAppRelationRequest) GetRelationType() AccountAppRelationType
- func (*PullAccountAppRelationRequest) ProtoMessage()
- func (x *PullAccountAppRelationRequest) ProtoReflect() protoreflect.Message
- func (x *PullAccountAppRelationRequest) Reset()
- func (x *PullAccountAppRelationRequest) String() string
- type PullAccountAppRelationResponse
- func (*PullAccountAppRelationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccountAppRelationResponse) GetAppList() []*v1.App
- func (*PullAccountAppRelationResponse) ProtoMessage()
- func (x *PullAccountAppRelationResponse) ProtoReflect() protoreflect.Message
- func (x *PullAccountAppRelationResponse) Reset()
- func (x *PullAccountAppRelationResponse) String() string
- type PullAccountRequest
- func (*PullAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccountRequest) GetAccountId() *v1.AccountID
- func (*PullAccountRequest) ProtoMessage()
- func (x *PullAccountRequest) ProtoReflect() protoreflect.Message
- func (x *PullAccountRequest) Reset()
- func (x *PullAccountRequest) String() string
- type PullAccountResponse
- func (*PullAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccountResponse) GetAccount() *v1.Account
- func (*PullAccountResponse) ProtoMessage()
- func (x *PullAccountResponse) ProtoReflect() protoreflect.Message
- func (x *PullAccountResponse) Reset()
- func (x *PullAccountResponse) String() string
- type PullAppRequest
- type PullAppResponse
- type PullDBRequest
- func (*PullDBRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullDBRequest) GetContentId() string
- func (x *PullDBRequest) GetSource() DBSource
- func (*PullDBRequest) ProtoMessage()
- func (x *PullDBRequest) ProtoReflect() protoreflect.Message
- func (x *PullDBRequest) Reset()
- func (x *PullDBRequest) String() string
- type PullDBResponse
- type PullDataRequest
- func (*PullDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullDataRequest) GetContentId() string
- func (x *PullDataRequest) GetSource() DataSource
- func (*PullDataRequest) ProtoMessage()
- func (x *PullDataRequest) ProtoReflect() protoreflect.Message
- func (x *PullDataRequest) Reset()
- func (x *PullDataRequest) String() string
- type PullDataResponse
- type PullFeedRequest
- func (*PullFeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullFeedRequest) GetContentId() string
- func (x *PullFeedRequest) GetSource() FeedSource
- func (*PullFeedRequest) ProtoMessage()
- func (x *PullFeedRequest) ProtoReflect() protoreflect.Message
- func (x *PullFeedRequest) Reset()
- func (x *PullFeedRequest) String() string
- type PullFeedResponse
- type PullWikiRequest
- func (*PullWikiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullWikiRequest) GetContentId() string
- func (x *PullWikiRequest) GetSource() DBSource
- func (*PullWikiRequest) ProtoMessage()
- func (x *PullWikiRequest) ProtoReflect() protoreflect.Message
- func (x *PullWikiRequest) Reset()
- func (x *PullWikiRequest) String() string
- type PullWikiResponse
- type PushDataRequest
- func (*PushDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushDataRequest) GetContentId() string
- func (x *PushDataRequest) GetData() []byte
- func (x *PushDataRequest) GetSource() DataSource
- func (*PushDataRequest) ProtoMessage()
- func (x *PushDataRequest) ProtoReflect() protoreflect.Message
- func (x *PushDataRequest) Reset()
- func (x *PushDataRequest) String() string
- type PushDataResponse
- type UnimplementedLibrarianPorterServiceServer
- func (UnimplementedLibrarianPorterServiceServer) PullAccount(context.Context, *PullAccountRequest) (*PullAccountResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullAccountAppRelation(context.Context, *PullAccountAppRelationRequest) (*PullAccountAppRelationResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullApp(context.Context, *PullAppRequest) (*PullAppResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullDB(context.Context, *PullDBRequest) (*PullDBResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullData(*PullDataRequest, LibrarianPorterService_PullDataServer) error
- func (UnimplementedLibrarianPorterServiceServer) PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullWiki(context.Context, *PullWikiRequest) (*PullWikiResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PushData(LibrarianPorterService_PushDataServer) error
- type UnsafeLibrarianPorterServiceServer
- type WikiSource
Constants ¶
This section is empty.
Variables ¶
var ( AccountAppRelationType_name = map[int32]string{ 0: "ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED", 1: "ACCOUNT_APP_RELATION_TYPE_OWN", } AccountAppRelationType_value = map[string]int32{ "ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED": 0, "ACCOUNT_APP_RELATION_TYPE_OWN": 1, } )
Enum value maps for AccountAppRelationType.
var ( FeedSource_name = map[int32]string{ 0: "FEED_SOURCE_UNSPECIFIED", } FeedSource_value = map[string]int32{ "FEED_SOURCE_UNSPECIFIED": 0, } )
Enum value maps for FeedSource.
var ( DBSource_name = map[int32]string{ 0: "DB_SOURCE_UNSPECIFIED", } DBSource_value = map[string]int32{ "DB_SOURCE_UNSPECIFIED": 0, } )
Enum value maps for DBSource.
var ( WikiSource_name = map[int32]string{ 0: "WIKI_SOURCE_UNSPECIFIED", } WikiSource_value = map[string]int32{ "WIKI_SOURCE_UNSPECIFIED": 0, } )
Enum value maps for WikiSource.
var ( DataSource_name = map[int32]string{ 0: "DATA_SOURCE_UNSPECIFIED", } DataSource_value = map[string]int32{ "DATA_SOURCE_UNSPECIFIED": 0, } )
Enum value maps for DataSource.
var File_librarian_porter_v1_porter_proto protoreflect.FileDescriptor
var LibrarianPorterService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "librarian.porter.v1.LibrarianPorterService", HandlerType: (*LibrarianPorterServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PullFeed", Handler: _LibrarianPorterService_PullFeed_Handler, }, { MethodName: "PullDB", Handler: _LibrarianPorterService_PullDB_Handler, }, { MethodName: "PullWiki", Handler: _LibrarianPorterService_PullWiki_Handler, }, { MethodName: "PullAccount", Handler: _LibrarianPorterService_PullAccount_Handler, }, { MethodName: "PullApp", Handler: _LibrarianPorterService_PullApp_Handler, }, { MethodName: "PullAccountAppRelation", Handler: _LibrarianPorterService_PullAccountAppRelation_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullData", Handler: _LibrarianPorterService_PullData_Handler, ServerStreams: true, }, { StreamName: "PushData", Handler: _LibrarianPorterService_PushData_Handler, ClientStreams: true, }, }, Metadata: "librarian/porter/v1/porter.proto", }
LibrarianPorterService_ServiceDesc is the grpc.ServiceDesc for LibrarianPorterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLibrarianPorterServiceServer ¶
func RegisterLibrarianPorterServiceServer(s grpc.ServiceRegistrar, srv LibrarianPorterServiceServer)
Types ¶
type AccountAppRelationType ¶
type AccountAppRelationType int32
const ( AccountAppRelationType_ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED AccountAppRelationType = 0 AccountAppRelationType_ACCOUNT_APP_RELATION_TYPE_OWN AccountAppRelationType = 1 )
func (AccountAppRelationType) Descriptor ¶
func (AccountAppRelationType) Descriptor() protoreflect.EnumDescriptor
func (AccountAppRelationType) Enum ¶
func (x AccountAppRelationType) Enum() *AccountAppRelationType
func (AccountAppRelationType) EnumDescriptor
deprecated
func (AccountAppRelationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountAppRelationType.Descriptor instead.
func (AccountAppRelationType) Number ¶
func (x AccountAppRelationType) Number() protoreflect.EnumNumber
func (AccountAppRelationType) String ¶
func (x AccountAppRelationType) String() string
func (AccountAppRelationType) Type ¶
func (AccountAppRelationType) Type() protoreflect.EnumType
type DBSource ¶
type DBSource int32
const (
DBSource_DB_SOURCE_UNSPECIFIED DBSource = 0
)
func (DBSource) Descriptor ¶
func (DBSource) Descriptor() protoreflect.EnumDescriptor
func (DBSource) EnumDescriptor
deprecated
func (DBSource) Number ¶
func (x DBSource) Number() protoreflect.EnumNumber
func (DBSource) Type ¶
func (DBSource) Type() protoreflect.EnumType
type DataSource ¶
type DataSource int32
const (
DataSource_DATA_SOURCE_UNSPECIFIED DataSource = 0
)
func (DataSource) Descriptor ¶
func (DataSource) Descriptor() protoreflect.EnumDescriptor
func (DataSource) Enum ¶
func (x DataSource) Enum() *DataSource
func (DataSource) EnumDescriptor
deprecated
func (DataSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSource.Descriptor instead.
func (DataSource) Number ¶
func (x DataSource) Number() protoreflect.EnumNumber
func (DataSource) String ¶
func (x DataSource) String() string
func (DataSource) Type ¶
func (DataSource) Type() protoreflect.EnumType
type FeedSource ¶
type FeedSource int32
const (
FeedSource_FEED_SOURCE_UNSPECIFIED FeedSource = 0
)
func (FeedSource) Descriptor ¶
func (FeedSource) Descriptor() protoreflect.EnumDescriptor
func (FeedSource) Enum ¶
func (x FeedSource) Enum() *FeedSource
func (FeedSource) EnumDescriptor
deprecated
func (FeedSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use FeedSource.Descriptor instead.
func (FeedSource) Number ¶
func (x FeedSource) Number() protoreflect.EnumNumber
func (FeedSource) String ¶
func (x FeedSource) String() string
func (FeedSource) Type ¶
func (FeedSource) Type() protoreflect.EnumType
type LibrarianPorterServiceClient ¶
type LibrarianPorterServiceClient interface { PullFeed(ctx context.Context, in *PullFeedRequest, opts ...grpc.CallOption) (*PullFeedResponse, error) PullDB(ctx context.Context, in *PullDBRequest, opts ...grpc.CallOption) (*PullDBResponse, error) PullWiki(ctx context.Context, in *PullWikiRequest, opts ...grpc.CallOption) (*PullWikiResponse, error) PullData(ctx context.Context, in *PullDataRequest, opts ...grpc.CallOption) (LibrarianPorterService_PullDataClient, error) PullAccount(ctx context.Context, in *PullAccountRequest, opts ...grpc.CallOption) (*PullAccountResponse, error) PullApp(ctx context.Context, in *PullAppRequest, opts ...grpc.CallOption) (*PullAppResponse, error) PullAccountAppRelation(ctx context.Context, in *PullAccountAppRelationRequest, opts ...grpc.CallOption) (*PullAccountAppRelationResponse, error) PushData(ctx context.Context, opts ...grpc.CallOption) (LibrarianPorterService_PushDataClient, error) }
LibrarianPorterServiceClient is the client API for LibrarianPorterService 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 NewLibrarianPorterServiceClient ¶
func NewLibrarianPorterServiceClient(cc grpc.ClientConnInterface) LibrarianPorterServiceClient
type LibrarianPorterServiceServer ¶
type LibrarianPorterServiceServer interface { PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error) PullDB(context.Context, *PullDBRequest) (*PullDBResponse, error) PullWiki(context.Context, *PullWikiRequest) (*PullWikiResponse, error) PullData(*PullDataRequest, LibrarianPorterService_PullDataServer) error PullAccount(context.Context, *PullAccountRequest) (*PullAccountResponse, error) PullApp(context.Context, *PullAppRequest) (*PullAppResponse, error) PullAccountAppRelation(context.Context, *PullAccountAppRelationRequest) (*PullAccountAppRelationResponse, error) PushData(LibrarianPorterService_PushDataServer) error // contains filtered or unexported methods }
LibrarianPorterServiceServer is the server API for LibrarianPorterService service. All implementations must embed UnimplementedLibrarianPorterServiceServer for forward compatibility
type LibrarianPorterService_PullDataClient ¶
type LibrarianPorterService_PullDataClient interface { Recv() (*PullDataResponse, error) grpc.ClientStream }
type LibrarianPorterService_PullDataServer ¶
type LibrarianPorterService_PullDataServer interface { Send(*PullDataResponse) error grpc.ServerStream }
type LibrarianPorterService_PushDataClient ¶
type LibrarianPorterService_PushDataClient interface { Send(*PushDataRequest) error CloseAndRecv() (*PushDataResponse, error) grpc.ClientStream }
type LibrarianPorterService_PushDataServer ¶
type LibrarianPorterService_PushDataServer interface { SendAndClose(*PushDataResponse) error Recv() (*PushDataRequest, error) grpc.ServerStream }
type PullAccountAppRelationRequest ¶
type PullAccountAppRelationRequest struct { RelationType AccountAppRelationType `` /* 146-byte string literal not displayed */ AccountId *v1.AccountID `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*PullAccountAppRelationRequest) Descriptor
deprecated
func (*PullAccountAppRelationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullAccountAppRelationRequest.ProtoReflect.Descriptor instead.
func (*PullAccountAppRelationRequest) GetAccountId ¶
func (x *PullAccountAppRelationRequest) GetAccountId() *v1.AccountID
func (*PullAccountAppRelationRequest) GetRelationType ¶
func (x *PullAccountAppRelationRequest) GetRelationType() AccountAppRelationType
func (*PullAccountAppRelationRequest) ProtoMessage ¶
func (*PullAccountAppRelationRequest) ProtoMessage()
func (*PullAccountAppRelationRequest) ProtoReflect ¶
func (x *PullAccountAppRelationRequest) ProtoReflect() protoreflect.Message
func (*PullAccountAppRelationRequest) Reset ¶
func (x *PullAccountAppRelationRequest) Reset()
func (*PullAccountAppRelationRequest) String ¶
func (x *PullAccountAppRelationRequest) String() string
type PullAccountAppRelationResponse ¶
type PullAccountAppRelationResponse struct { AppList []*v1.App `protobuf:"bytes,1,rep,name=app_list,json=appList,proto3" json:"app_list,omitempty"` // contains filtered or unexported fields }
func (*PullAccountAppRelationResponse) Descriptor
deprecated
func (*PullAccountAppRelationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullAccountAppRelationResponse.ProtoReflect.Descriptor instead.
func (*PullAccountAppRelationResponse) GetAppList ¶
func (x *PullAccountAppRelationResponse) GetAppList() []*v1.App
func (*PullAccountAppRelationResponse) ProtoMessage ¶
func (*PullAccountAppRelationResponse) ProtoMessage()
func (*PullAccountAppRelationResponse) ProtoReflect ¶
func (x *PullAccountAppRelationResponse) ProtoReflect() protoreflect.Message
func (*PullAccountAppRelationResponse) Reset ¶
func (x *PullAccountAppRelationResponse) Reset()
func (*PullAccountAppRelationResponse) String ¶
func (x *PullAccountAppRelationResponse) String() string
type PullAccountRequest ¶
type PullAccountRequest struct { AccountId *v1.AccountID `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*PullAccountRequest) Descriptor
deprecated
func (*PullAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullAccountRequest.ProtoReflect.Descriptor instead.
func (*PullAccountRequest) GetAccountId ¶
func (x *PullAccountRequest) GetAccountId() *v1.AccountID
func (*PullAccountRequest) ProtoMessage ¶
func (*PullAccountRequest) ProtoMessage()
func (*PullAccountRequest) ProtoReflect ¶
func (x *PullAccountRequest) ProtoReflect() protoreflect.Message
func (*PullAccountRequest) Reset ¶
func (x *PullAccountRequest) Reset()
func (*PullAccountRequest) String ¶
func (x *PullAccountRequest) String() string
type PullAccountResponse ¶
type PullAccountResponse struct { Account *v1.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*PullAccountResponse) Descriptor
deprecated
func (*PullAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullAccountResponse.ProtoReflect.Descriptor instead.
func (*PullAccountResponse) GetAccount ¶
func (x *PullAccountResponse) GetAccount() *v1.Account
func (*PullAccountResponse) ProtoMessage ¶
func (*PullAccountResponse) ProtoMessage()
func (*PullAccountResponse) ProtoReflect ¶
func (x *PullAccountResponse) ProtoReflect() protoreflect.Message
func (*PullAccountResponse) Reset ¶
func (x *PullAccountResponse) Reset()
func (*PullAccountResponse) String ¶
func (x *PullAccountResponse) String() string
type PullAppRequest ¶
type PullAppRequest struct { AppId *v1.AppID `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // contains filtered or unexported fields }
func (*PullAppRequest) Descriptor
deprecated
func (*PullAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullAppRequest.ProtoReflect.Descriptor instead.
func (*PullAppRequest) GetAppId ¶
func (x *PullAppRequest) GetAppId() *v1.AppID
func (*PullAppRequest) ProtoMessage ¶
func (*PullAppRequest) ProtoMessage()
func (*PullAppRequest) ProtoReflect ¶
func (x *PullAppRequest) ProtoReflect() protoreflect.Message
func (*PullAppRequest) Reset ¶
func (x *PullAppRequest) Reset()
func (*PullAppRequest) String ¶
func (x *PullAppRequest) String() string
type PullAppResponse ¶
type PullAppResponse struct { App *v1.App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*PullAppResponse) Descriptor
deprecated
func (*PullAppResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullAppResponse.ProtoReflect.Descriptor instead.
func (*PullAppResponse) GetApp ¶
func (x *PullAppResponse) GetApp() *v1.App
func (*PullAppResponse) ProtoMessage ¶
func (*PullAppResponse) ProtoMessage()
func (*PullAppResponse) ProtoReflect ¶
func (x *PullAppResponse) ProtoReflect() protoreflect.Message
func (*PullAppResponse) Reset ¶
func (x *PullAppResponse) Reset()
func (*PullAppResponse) String ¶
func (x *PullAppResponse) String() string
type PullDBRequest ¶
type PullDBRequest struct { Source DBSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DBSource" json:"source,omitempty"` ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` // contains filtered or unexported fields }
func (*PullDBRequest) Descriptor
deprecated
func (*PullDBRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullDBRequest.ProtoReflect.Descriptor instead.
func (*PullDBRequest) GetContentId ¶
func (x *PullDBRequest) GetContentId() string
func (*PullDBRequest) GetSource ¶
func (x *PullDBRequest) GetSource() DBSource
func (*PullDBRequest) ProtoMessage ¶
func (*PullDBRequest) ProtoMessage()
func (*PullDBRequest) ProtoReflect ¶
func (x *PullDBRequest) ProtoReflect() protoreflect.Message
func (*PullDBRequest) Reset ¶
func (x *PullDBRequest) Reset()
func (*PullDBRequest) String ¶
func (x *PullDBRequest) String() string
type PullDBResponse ¶
type PullDBResponse struct { Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PullDBResponse) Descriptor
deprecated
func (*PullDBResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullDBResponse.ProtoReflect.Descriptor instead.
func (*PullDBResponse) GetData ¶
func (x *PullDBResponse) GetData() map[string]string
func (*PullDBResponse) ProtoMessage ¶
func (*PullDBResponse) ProtoMessage()
func (*PullDBResponse) ProtoReflect ¶
func (x *PullDBResponse) ProtoReflect() protoreflect.Message
func (*PullDBResponse) Reset ¶
func (x *PullDBResponse) Reset()
func (*PullDBResponse) String ¶
func (x *PullDBResponse) String() string
type PullDataRequest ¶
type PullDataRequest struct { Source DataSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DataSource" json:"source,omitempty"` ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` // contains filtered or unexported fields }
func (*PullDataRequest) Descriptor
deprecated
func (*PullDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullDataRequest.ProtoReflect.Descriptor instead.
func (*PullDataRequest) GetContentId ¶
func (x *PullDataRequest) GetContentId() string
func (*PullDataRequest) GetSource ¶
func (x *PullDataRequest) GetSource() DataSource
func (*PullDataRequest) ProtoMessage ¶
func (*PullDataRequest) ProtoMessage()
func (*PullDataRequest) ProtoReflect ¶
func (x *PullDataRequest) ProtoReflect() protoreflect.Message
func (*PullDataRequest) Reset ¶
func (x *PullDataRequest) Reset()
func (*PullDataRequest) String ¶
func (x *PullDataRequest) String() string
type PullDataResponse ¶
type PullDataResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PullDataResponse) Descriptor
deprecated
func (*PullDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullDataResponse.ProtoReflect.Descriptor instead.
func (*PullDataResponse) GetData ¶
func (x *PullDataResponse) GetData() []byte
func (*PullDataResponse) ProtoMessage ¶
func (*PullDataResponse) ProtoMessage()
func (*PullDataResponse) ProtoReflect ¶
func (x *PullDataResponse) ProtoReflect() protoreflect.Message
func (*PullDataResponse) Reset ¶
func (x *PullDataResponse) Reset()
func (*PullDataResponse) String ¶
func (x *PullDataResponse) String() string
type PullFeedRequest ¶
type PullFeedRequest struct { Source FeedSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.FeedSource" json:"source,omitempty"` ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` // contains filtered or unexported fields }
func (*PullFeedRequest) Descriptor
deprecated
func (*PullFeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullFeedRequest.ProtoReflect.Descriptor instead.
func (*PullFeedRequest) GetContentId ¶
func (x *PullFeedRequest) GetContentId() string
func (*PullFeedRequest) GetSource ¶
func (x *PullFeedRequest) GetSource() FeedSource
func (*PullFeedRequest) ProtoMessage ¶
func (*PullFeedRequest) ProtoMessage()
func (*PullFeedRequest) ProtoReflect ¶
func (x *PullFeedRequest) ProtoReflect() protoreflect.Message
func (*PullFeedRequest) Reset ¶
func (x *PullFeedRequest) Reset()
func (*PullFeedRequest) String ¶
func (x *PullFeedRequest) String() string
type PullFeedResponse ¶
type PullFeedResponse struct { Data *v1.Feed `protobuf:"bytes,1,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PullFeedResponse) Descriptor
deprecated
func (*PullFeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullFeedResponse.ProtoReflect.Descriptor instead.
func (*PullFeedResponse) GetData ¶
func (x *PullFeedResponse) GetData() *v1.Feed
func (*PullFeedResponse) ProtoMessage ¶
func (*PullFeedResponse) ProtoMessage()
func (*PullFeedResponse) ProtoReflect ¶
func (x *PullFeedResponse) ProtoReflect() protoreflect.Message
func (*PullFeedResponse) Reset ¶
func (x *PullFeedResponse) Reset()
func (*PullFeedResponse) String ¶
func (x *PullFeedResponse) String() string
type PullWikiRequest ¶
type PullWikiRequest struct { Source DBSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DBSource" json:"source,omitempty"` ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` // contains filtered or unexported fields }
func (*PullWikiRequest) Descriptor
deprecated
func (*PullWikiRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullWikiRequest.ProtoReflect.Descriptor instead.
func (*PullWikiRequest) GetContentId ¶
func (x *PullWikiRequest) GetContentId() string
func (*PullWikiRequest) GetSource ¶
func (x *PullWikiRequest) GetSource() DBSource
func (*PullWikiRequest) ProtoMessage ¶
func (*PullWikiRequest) ProtoMessage()
func (*PullWikiRequest) ProtoReflect ¶
func (x *PullWikiRequest) ProtoReflect() protoreflect.Message
func (*PullWikiRequest) Reset ¶
func (x *PullWikiRequest) Reset()
func (*PullWikiRequest) String ¶
func (x *PullWikiRequest) String() string
type PullWikiResponse ¶
type PullWikiResponse struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PullWikiResponse) Descriptor
deprecated
func (*PullWikiResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullWikiResponse.ProtoReflect.Descriptor instead.
func (*PullWikiResponse) GetData ¶
func (x *PullWikiResponse) GetData() string
func (*PullWikiResponse) ProtoMessage ¶
func (*PullWikiResponse) ProtoMessage()
func (*PullWikiResponse) ProtoReflect ¶
func (x *PullWikiResponse) ProtoReflect() protoreflect.Message
func (*PullWikiResponse) Reset ¶
func (x *PullWikiResponse) Reset()
func (*PullWikiResponse) String ¶
func (x *PullWikiResponse) String() string
type PushDataRequest ¶
type PushDataRequest struct { Source DataSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DataSource" json:"source,omitempty"` ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PushDataRequest) Descriptor
deprecated
func (*PushDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushDataRequest.ProtoReflect.Descriptor instead.
func (*PushDataRequest) GetContentId ¶
func (x *PushDataRequest) GetContentId() string
func (*PushDataRequest) GetData ¶
func (x *PushDataRequest) GetData() []byte
func (*PushDataRequest) GetSource ¶
func (x *PushDataRequest) GetSource() DataSource
func (*PushDataRequest) ProtoMessage ¶
func (*PushDataRequest) ProtoMessage()
func (*PushDataRequest) ProtoReflect ¶
func (x *PushDataRequest) ProtoReflect() protoreflect.Message
func (*PushDataRequest) Reset ¶
func (x *PushDataRequest) Reset()
func (*PushDataRequest) String ¶
func (x *PushDataRequest) String() string
type PushDataResponse ¶
type PushDataResponse struct {
// contains filtered or unexported fields
}
func (*PushDataResponse) Descriptor
deprecated
func (*PushDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushDataResponse.ProtoReflect.Descriptor instead.
func (*PushDataResponse) ProtoMessage ¶
func (*PushDataResponse) ProtoMessage()
func (*PushDataResponse) ProtoReflect ¶
func (x *PushDataResponse) ProtoReflect() protoreflect.Message
func (*PushDataResponse) Reset ¶
func (x *PushDataResponse) Reset()
func (*PushDataResponse) String ¶
func (x *PushDataResponse) String() string
type UnimplementedLibrarianPorterServiceServer ¶
type UnimplementedLibrarianPorterServiceServer struct { }
UnimplementedLibrarianPorterServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLibrarianPorterServiceServer) PullAccount ¶
func (UnimplementedLibrarianPorterServiceServer) PullAccount(context.Context, *PullAccountRequest) (*PullAccountResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullAccountAppRelation ¶
func (UnimplementedLibrarianPorterServiceServer) PullAccountAppRelation(context.Context, *PullAccountAppRelationRequest) (*PullAccountAppRelationResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullApp ¶
func (UnimplementedLibrarianPorterServiceServer) PullApp(context.Context, *PullAppRequest) (*PullAppResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullDB ¶
func (UnimplementedLibrarianPorterServiceServer) PullDB(context.Context, *PullDBRequest) (*PullDBResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullFeed ¶
func (UnimplementedLibrarianPorterServiceServer) PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullWiki ¶
func (UnimplementedLibrarianPorterServiceServer) PullWiki(context.Context, *PullWikiRequest) (*PullWikiResponse, error)
type UnsafeLibrarianPorterServiceServer ¶
type UnsafeLibrarianPorterServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLibrarianPorterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LibrarianPorterServiceServer will result in compilation errors.
type WikiSource ¶
type WikiSource int32
const (
WikiSource_WIKI_SOURCE_UNSPECIFIED WikiSource = 0
)
func (WikiSource) Descriptor ¶
func (WikiSource) Descriptor() protoreflect.EnumDescriptor
func (WikiSource) Enum ¶
func (x WikiSource) Enum() *WikiSource
func (WikiSource) EnumDescriptor
deprecated
func (WikiSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use WikiSource.Descriptor instead.
func (WikiSource) Number ¶
func (x WikiSource) Number() protoreflect.EnumNumber
func (WikiSource) String ¶
func (x WikiSource) String() string
func (WikiSource) Type ¶
func (WikiSource) Type() protoreflect.EnumType