Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterLibrarianPorterServiceServer(s grpc.ServiceRegistrar, srv LibrarianPorterServiceServer)
- type EnablePorterRequest
- func (*EnablePorterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnablePorterRequest) GetRefreshToken() string
- func (x *EnablePorterRequest) GetSephirahId() int64
- func (*EnablePorterRequest) ProtoMessage()
- func (x *EnablePorterRequest) ProtoReflect() protoreflect.Message
- func (x *EnablePorterRequest) Reset()
- func (x *EnablePorterRequest) String() string
- type EnablePorterResponse
- type GetPorterInformationRequest
- type GetPorterInformationResponse
- func (*GetPorterInformationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPorterInformationResponse) GetFeatureSummary() *PorterFeatureSummary
- func (x *GetPorterInformationResponse) GetGlobalName() string
- func (x *GetPorterInformationResponse) GetName() string
- func (x *GetPorterInformationResponse) GetVersion() string
- func (*GetPorterInformationResponse) ProtoMessage()
- func (x *GetPorterInformationResponse) ProtoReflect() protoreflect.Message
- func (x *GetPorterInformationResponse) Reset()
- func (x *GetPorterInformationResponse) String() string
- type LibrarianPorterServiceClient
- type LibrarianPorterServiceServer
- type PorterFeatureSummary
- func (*PorterFeatureSummary) Descriptor() ([]byte, []int)deprecated
- func (x *PorterFeatureSummary) GetSupportedAccounts() []*PorterFeatureSummary_Account
- func (x *PorterFeatureSummary) GetSupportedAppSources() []string
- func (x *PorterFeatureSummary) GetSupportedFeedSources() []string
- func (x *PorterFeatureSummary) GetSupportedNotifyDestinations() []string
- func (*PorterFeatureSummary) ProtoMessage()
- func (x *PorterFeatureSummary) ProtoReflect() protoreflect.Message
- func (x *PorterFeatureSummary) Reset()
- func (x *PorterFeatureSummary) String() string
- type PorterFeatureSummary_Account
- func (*PorterFeatureSummary_Account) Descriptor() ([]byte, []int)deprecated
- func (x *PorterFeatureSummary_Account) GetAppRelationTypes() []v1.AccountAppRelationType
- func (x *PorterFeatureSummary_Account) GetPlatform() string
- func (*PorterFeatureSummary_Account) ProtoMessage()
- func (x *PorterFeatureSummary_Account) ProtoReflect() protoreflect.Message
- func (x *PorterFeatureSummary_Account) Reset()
- func (x *PorterFeatureSummary_Account) String() string
- type PullAccountAppInfoRelationRequest
- func (*PullAccountAppInfoRelationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccountAppInfoRelationRequest) GetAccountId() *v1.AccountID
- func (x *PullAccountAppInfoRelationRequest) GetRelationType() v1.AccountAppRelationType
- func (*PullAccountAppInfoRelationRequest) ProtoMessage()
- func (x *PullAccountAppInfoRelationRequest) ProtoReflect() protoreflect.Message
- func (x *PullAccountAppInfoRelationRequest) Reset()
- func (x *PullAccountAppInfoRelationRequest) String() string
- type PullAccountAppInfoRelationResponse
- func (*PullAccountAppInfoRelationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccountAppInfoRelationResponse) GetAppInfos() []*v1.AppInfo
- func (*PullAccountAppInfoRelationResponse) ProtoMessage()
- func (x *PullAccountAppInfoRelationResponse) ProtoReflect() protoreflect.Message
- func (x *PullAccountAppInfoRelationResponse) Reset()
- func (x *PullAccountAppInfoRelationResponse) 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 PullAppInfoRequest
- func (*PullAppInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAppInfoRequest) GetAppInfoId() *v1.AppInfoID
- func (*PullAppInfoRequest) ProtoMessage()
- func (x *PullAppInfoRequest) ProtoReflect() protoreflect.Message
- func (x *PullAppInfoRequest) Reset()
- func (x *PullAppInfoRequest) String() string
- type PullAppInfoResponse
- func (*PullAppInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAppInfoResponse) GetAppInfo() *v1.AppInfo
- func (*PullAppInfoResponse) ProtoMessage()
- func (x *PullAppInfoResponse) ProtoReflect() protoreflect.Message
- func (x *PullAppInfoResponse) Reset()
- func (x *PullAppInfoResponse) String() string
- type PullFeedRequest
- func (*PullFeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullFeedRequest) GetChannelId() string
- func (x *PullFeedRequest) GetSource() string
- func (*PullFeedRequest) ProtoMessage()
- func (x *PullFeedRequest) ProtoReflect() protoreflect.Message
- func (x *PullFeedRequest) Reset()
- func (x *PullFeedRequest) String() string
- type PullFeedResponse
- type PushFeedItemsRequest
- func (*PushFeedItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushFeedItemsRequest) GetChannelId() string
- func (x *PushFeedItemsRequest) GetDestination() string
- func (x *PushFeedItemsRequest) GetItems() []*v1.FeedItem
- func (x *PushFeedItemsRequest) GetToken() string
- func (*PushFeedItemsRequest) ProtoMessage()
- func (x *PushFeedItemsRequest) ProtoReflect() protoreflect.Message
- func (x *PushFeedItemsRequest) Reset()
- func (x *PushFeedItemsRequest) String() string
- type PushFeedItemsResponse
- type SearchAppInfoRequest
- func (*SearchAppInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchAppInfoRequest) GetName() string
- func (*SearchAppInfoRequest) ProtoMessage()
- func (x *SearchAppInfoRequest) ProtoReflect() protoreflect.Message
- func (x *SearchAppInfoRequest) Reset()
- func (x *SearchAppInfoRequest) String() string
- type SearchAppInfoResponse
- func (*SearchAppInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchAppInfoResponse) GetAppInfos() []*v1.AppInfo
- func (*SearchAppInfoResponse) ProtoMessage()
- func (x *SearchAppInfoResponse) ProtoReflect() protoreflect.Message
- func (x *SearchAppInfoResponse) Reset()
- func (x *SearchAppInfoResponse) String() string
- type UnimplementedLibrarianPorterServiceServer
- func (UnimplementedLibrarianPorterServiceServer) EnablePorter(context.Context, *EnablePorterRequest) (*EnablePorterResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) GetPorterInformation(context.Context, *GetPorterInformationRequest) (*GetPorterInformationResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullAccount(context.Context, *PullAccountRequest) (*PullAccountResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullAccountAppInfoRelation(context.Context, *PullAccountAppInfoRelationRequest) (*PullAccountAppInfoRelationResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullAppInfo(context.Context, *PullAppInfoRequest) (*PullAppInfoResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PushFeedItems(context.Context, *PushFeedItemsRequest) (*PushFeedItemsResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) SearchAppInfo(context.Context, *SearchAppInfoRequest) (*SearchAppInfoResponse, error)
- type UnsafeLibrarianPorterServiceServer
Constants ¶
const ( LibrarianPorterService_GetPorterInformation_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/GetPorterInformation" LibrarianPorterService_EnablePorter_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/EnablePorter" LibrarianPorterService_PullAccount_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullAccount" LibrarianPorterService_PullAppInfo_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullAppInfo" LibrarianPorterService_PullAccountAppInfoRelation_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullAccountAppInfoRelation" LibrarianPorterService_SearchAppInfo_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/SearchAppInfo" LibrarianPorterService_PullFeed_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullFeed" LibrarianPorterService_PushFeedItems_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PushFeedItems" )
Variables ¶
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: "GetPorterInformation", Handler: _LibrarianPorterService_GetPorterInformation_Handler, }, { MethodName: "EnablePorter", Handler: _LibrarianPorterService_EnablePorter_Handler, }, { MethodName: "PullAccount", Handler: _LibrarianPorterService_PullAccount_Handler, }, { MethodName: "PullAppInfo", Handler: _LibrarianPorterService_PullAppInfo_Handler, }, { MethodName: "PullAccountAppInfoRelation", Handler: _LibrarianPorterService_PullAccountAppInfoRelation_Handler, }, { MethodName: "SearchAppInfo", Handler: _LibrarianPorterService_SearchAppInfo_Handler, }, { MethodName: "PullFeed", Handler: _LibrarianPorterService_PullFeed_Handler, }, { MethodName: "PushFeedItems", Handler: _LibrarianPorterService_PushFeedItems_Handler, }, }, Streams: []grpc.StreamDesc{}, 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 EnablePorterRequest ¶ added in v0.3.0
type EnablePorterRequest struct { // Identifier of sephirah. can be randomly generated. // porter can only be enabled by on sephirah. // redundancy requests from enabler must return success. SephirahId int64 `protobuf:"varint,1,opt,name=sephirah_id,json=sephirahId,proto3" json:"sephirah_id,omitempty"` // Porter should refresh token before response to verify reverse call is available. RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*EnablePorterRequest) Descriptor
deprecated
added in
v0.3.0
func (*EnablePorterRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnablePorterRequest.ProtoReflect.Descriptor instead.
func (*EnablePorterRequest) GetRefreshToken ¶ added in v0.3.0
func (x *EnablePorterRequest) GetRefreshToken() string
func (*EnablePorterRequest) GetSephirahId ¶ added in v0.3.0
func (x *EnablePorterRequest) GetSephirahId() int64
func (*EnablePorterRequest) ProtoMessage ¶ added in v0.3.0
func (*EnablePorterRequest) ProtoMessage()
func (*EnablePorterRequest) ProtoReflect ¶ added in v0.3.0
func (x *EnablePorterRequest) ProtoReflect() protoreflect.Message
func (*EnablePorterRequest) Reset ¶ added in v0.3.0
func (x *EnablePorterRequest) Reset()
func (*EnablePorterRequest) String ¶ added in v0.3.0
func (x *EnablePorterRequest) String() string
type EnablePorterResponse ¶ added in v0.3.0
type EnablePorterResponse struct {
// contains filtered or unexported fields
}
func (*EnablePorterResponse) Descriptor
deprecated
added in
v0.3.0
func (*EnablePorterResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnablePorterResponse.ProtoReflect.Descriptor instead.
func (*EnablePorterResponse) ProtoMessage ¶ added in v0.3.0
func (*EnablePorterResponse) ProtoMessage()
func (*EnablePorterResponse) ProtoReflect ¶ added in v0.3.0
func (x *EnablePorterResponse) ProtoReflect() protoreflect.Message
func (*EnablePorterResponse) Reset ¶ added in v0.3.0
func (x *EnablePorterResponse) Reset()
func (*EnablePorterResponse) String ¶ added in v0.3.0
func (x *EnablePorterResponse) String() string
type GetPorterInformationRequest ¶ added in v0.3.0
type GetPorterInformationRequest struct {
// contains filtered or unexported fields
}
func (*GetPorterInformationRequest) Descriptor
deprecated
added in
v0.3.0
func (*GetPorterInformationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPorterInformationRequest.ProtoReflect.Descriptor instead.
func (*GetPorterInformationRequest) ProtoMessage ¶ added in v0.3.0
func (*GetPorterInformationRequest) ProtoMessage()
func (*GetPorterInformationRequest) ProtoReflect ¶ added in v0.3.0
func (x *GetPorterInformationRequest) ProtoReflect() protoreflect.Message
func (*GetPorterInformationRequest) Reset ¶ added in v0.3.0
func (x *GetPorterInformationRequest) Reset()
func (*GetPorterInformationRequest) String ¶ added in v0.3.0
func (x *GetPorterInformationRequest) String() string
type GetPorterInformationResponse ¶ added in v0.3.0
type GetPorterInformationResponse struct { // Human-readable name. no format limit. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Version of the porter. no format limit. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Global identifier. Same global name means same project. no format limit. // e.g. use project url "github.com/tuihub/porter-steam". GlobalName string `protobuf:"bytes,3,opt,name=global_name,json=globalName,proto3" json:"global_name,omitempty"` FeatureSummary *PorterFeatureSummary `protobuf:"bytes,4,opt,name=feature_summary,json=featureSummary,proto3" json:"feature_summary,omitempty"` // contains filtered or unexported fields }
func (*GetPorterInformationResponse) Descriptor
deprecated
added in
v0.3.0
func (*GetPorterInformationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPorterInformationResponse.ProtoReflect.Descriptor instead.
func (*GetPorterInformationResponse) GetFeatureSummary ¶ added in v0.3.0
func (x *GetPorterInformationResponse) GetFeatureSummary() *PorterFeatureSummary
func (*GetPorterInformationResponse) GetGlobalName ¶ added in v0.3.0
func (x *GetPorterInformationResponse) GetGlobalName() string
func (*GetPorterInformationResponse) GetName ¶ added in v0.3.0
func (x *GetPorterInformationResponse) GetName() string
func (*GetPorterInformationResponse) GetVersion ¶ added in v0.3.0
func (x *GetPorterInformationResponse) GetVersion() string
func (*GetPorterInformationResponse) ProtoMessage ¶ added in v0.3.0
func (*GetPorterInformationResponse) ProtoMessage()
func (*GetPorterInformationResponse) ProtoReflect ¶ added in v0.3.0
func (x *GetPorterInformationResponse) ProtoReflect() protoreflect.Message
func (*GetPorterInformationResponse) Reset ¶ added in v0.3.0
func (x *GetPorterInformationResponse) Reset()
func (*GetPorterInformationResponse) String ¶ added in v0.3.0
func (x *GetPorterInformationResponse) String() string
type LibrarianPorterServiceClient ¶
type LibrarianPorterServiceClient interface { GetPorterInformation(ctx context.Context, in *GetPorterInformationRequest, opts ...grpc.CallOption) (*GetPorterInformationResponse, error) EnablePorter(ctx context.Context, in *EnablePorterRequest, opts ...grpc.CallOption) (*EnablePorterResponse, error) // `Tiphereth` PullAccount(ctx context.Context, in *PullAccountRequest, opts ...grpc.CallOption) (*PullAccountResponse, error) // `Gebura` PullAppInfo(ctx context.Context, in *PullAppInfoRequest, opts ...grpc.CallOption) (*PullAppInfoResponse, error) // `Gebura` PullAccountAppInfoRelation(ctx context.Context, in *PullAccountAppInfoRelationRequest, opts ...grpc.CallOption) (*PullAccountAppInfoRelationResponse, error) // `Gebura` SearchAppInfo(ctx context.Context, in *SearchAppInfoRequest, opts ...grpc.CallOption) (*SearchAppInfoResponse, error) // `Yesod` PullFeed(ctx context.Context, in *PullFeedRequest, opts ...grpc.CallOption) (*PullFeedResponse, error) // `Yesod` PushFeedItems(ctx context.Context, in *PushFeedItemsRequest, opts ...grpc.CallOption) (*PushFeedItemsResponse, 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 { GetPorterInformation(context.Context, *GetPorterInformationRequest) (*GetPorterInformationResponse, error) EnablePorter(context.Context, *EnablePorterRequest) (*EnablePorterResponse, error) // `Tiphereth` PullAccount(context.Context, *PullAccountRequest) (*PullAccountResponse, error) // `Gebura` PullAppInfo(context.Context, *PullAppInfoRequest) (*PullAppInfoResponse, error) // `Gebura` PullAccountAppInfoRelation(context.Context, *PullAccountAppInfoRelationRequest) (*PullAccountAppInfoRelationResponse, error) // `Gebura` SearchAppInfo(context.Context, *SearchAppInfoRequest) (*SearchAppInfoResponse, error) // `Yesod` PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error) // `Yesod` PushFeedItems(context.Context, *PushFeedItemsRequest) (*PushFeedItemsResponse, error) // contains filtered or unexported methods }
LibrarianPorterServiceServer is the server API for LibrarianPorterService service. All implementations must embed UnimplementedLibrarianPorterServiceServer for forward compatibility
type PorterFeatureSummary ¶ added in v0.3.0
type PorterFeatureSummary struct { SupportedAccounts []*PorterFeatureSummary_Account `protobuf:"bytes,1,rep,name=supported_accounts,json=supportedAccounts,proto3" json:"supported_accounts,omitempty"` SupportedAppSources []string `protobuf:"bytes,2,rep,name=supported_app_sources,json=supportedAppSources,proto3" json:"supported_app_sources,omitempty"` SupportedFeedSources []string `protobuf:"bytes,3,rep,name=supported_feed_sources,json=supportedFeedSources,proto3" json:"supported_feed_sources,omitempty"` SupportedNotifyDestinations []string `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PorterFeatureSummary) Descriptor
deprecated
added in
v0.3.0
func (*PorterFeatureSummary) Descriptor() ([]byte, []int)
Deprecated: Use PorterFeatureSummary.ProtoReflect.Descriptor instead.
func (*PorterFeatureSummary) GetSupportedAccounts ¶ added in v0.3.0
func (x *PorterFeatureSummary) GetSupportedAccounts() []*PorterFeatureSummary_Account
func (*PorterFeatureSummary) GetSupportedAppSources ¶ added in v0.3.0
func (x *PorterFeatureSummary) GetSupportedAppSources() []string
func (*PorterFeatureSummary) GetSupportedFeedSources ¶ added in v0.3.0
func (x *PorterFeatureSummary) GetSupportedFeedSources() []string
func (*PorterFeatureSummary) GetSupportedNotifyDestinations ¶ added in v0.3.0
func (x *PorterFeatureSummary) GetSupportedNotifyDestinations() []string
func (*PorterFeatureSummary) ProtoMessage ¶ added in v0.3.0
func (*PorterFeatureSummary) ProtoMessage()
func (*PorterFeatureSummary) ProtoReflect ¶ added in v0.3.0
func (x *PorterFeatureSummary) ProtoReflect() protoreflect.Message
func (*PorterFeatureSummary) Reset ¶ added in v0.3.0
func (x *PorterFeatureSummary) Reset()
func (*PorterFeatureSummary) String ¶ added in v0.3.0
func (x *PorterFeatureSummary) String() string
type PorterFeatureSummary_Account ¶ added in v0.3.0
type PorterFeatureSummary_Account struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` AppRelationTypes []v1.AccountAppRelationType `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PorterFeatureSummary_Account) Descriptor
deprecated
added in
v0.3.0
func (*PorterFeatureSummary_Account) Descriptor() ([]byte, []int)
Deprecated: Use PorterFeatureSummary_Account.ProtoReflect.Descriptor instead.
func (*PorterFeatureSummary_Account) GetAppRelationTypes ¶ added in v0.3.0
func (x *PorterFeatureSummary_Account) GetAppRelationTypes() []v1.AccountAppRelationType
func (*PorterFeatureSummary_Account) GetPlatform ¶ added in v0.3.0
func (x *PorterFeatureSummary_Account) GetPlatform() string
func (*PorterFeatureSummary_Account) ProtoMessage ¶ added in v0.3.0
func (*PorterFeatureSummary_Account) ProtoMessage()
func (*PorterFeatureSummary_Account) ProtoReflect ¶ added in v0.3.0
func (x *PorterFeatureSummary_Account) ProtoReflect() protoreflect.Message
func (*PorterFeatureSummary_Account) Reset ¶ added in v0.3.0
func (x *PorterFeatureSummary_Account) Reset()
func (*PorterFeatureSummary_Account) String ¶ added in v0.3.0
func (x *PorterFeatureSummary_Account) String() string
type PullAccountAppInfoRelationRequest ¶ added in v0.4.0
type PullAccountAppInfoRelationRequest struct { RelationType v1.AccountAppRelationType `` /* 139-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 (*PullAccountAppInfoRelationRequest) Descriptor
deprecated
added in
v0.4.0
func (*PullAccountAppInfoRelationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullAccountAppInfoRelationRequest.ProtoReflect.Descriptor instead.
func (*PullAccountAppInfoRelationRequest) GetAccountId ¶ added in v0.4.0
func (x *PullAccountAppInfoRelationRequest) GetAccountId() *v1.AccountID
func (*PullAccountAppInfoRelationRequest) GetRelationType ¶ added in v0.4.0
func (x *PullAccountAppInfoRelationRequest) GetRelationType() v1.AccountAppRelationType
func (*PullAccountAppInfoRelationRequest) ProtoMessage ¶ added in v0.4.0
func (*PullAccountAppInfoRelationRequest) ProtoMessage()
func (*PullAccountAppInfoRelationRequest) ProtoReflect ¶ added in v0.4.0
func (x *PullAccountAppInfoRelationRequest) ProtoReflect() protoreflect.Message
func (*PullAccountAppInfoRelationRequest) Reset ¶ added in v0.4.0
func (x *PullAccountAppInfoRelationRequest) Reset()
func (*PullAccountAppInfoRelationRequest) String ¶ added in v0.4.0
func (x *PullAccountAppInfoRelationRequest) String() string
type PullAccountAppInfoRelationResponse ¶ added in v0.4.0
type PullAccountAppInfoRelationResponse struct { AppInfos []*v1.AppInfo `protobuf:"bytes,1,rep,name=app_infos,json=appInfos,proto3" json:"app_infos,omitempty"` // contains filtered or unexported fields }
func (*PullAccountAppInfoRelationResponse) Descriptor
deprecated
added in
v0.4.0
func (*PullAccountAppInfoRelationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullAccountAppInfoRelationResponse.ProtoReflect.Descriptor instead.
func (*PullAccountAppInfoRelationResponse) GetAppInfos ¶ added in v0.4.0
func (x *PullAccountAppInfoRelationResponse) GetAppInfos() []*v1.AppInfo
func (*PullAccountAppInfoRelationResponse) ProtoMessage ¶ added in v0.4.0
func (*PullAccountAppInfoRelationResponse) ProtoMessage()
func (*PullAccountAppInfoRelationResponse) ProtoReflect ¶ added in v0.4.0
func (x *PullAccountAppInfoRelationResponse) ProtoReflect() protoreflect.Message
func (*PullAccountAppInfoRelationResponse) Reset ¶ added in v0.4.0
func (x *PullAccountAppInfoRelationResponse) Reset()
func (*PullAccountAppInfoRelationResponse) String ¶ added in v0.4.0
func (x *PullAccountAppInfoRelationResponse) 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 PullAppInfoRequest ¶ added in v0.4.0
type PullAppInfoRequest struct { AppInfoId *v1.AppInfoID `protobuf:"bytes,1,opt,name=app_info_id,json=appInfoId,proto3" json:"app_info_id,omitempty"` // contains filtered or unexported fields }
func (*PullAppInfoRequest) Descriptor
deprecated
added in
v0.4.0
func (*PullAppInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullAppInfoRequest.ProtoReflect.Descriptor instead.
func (*PullAppInfoRequest) GetAppInfoId ¶ added in v0.4.0
func (x *PullAppInfoRequest) GetAppInfoId() *v1.AppInfoID
func (*PullAppInfoRequest) ProtoMessage ¶ added in v0.4.0
func (*PullAppInfoRequest) ProtoMessage()
func (*PullAppInfoRequest) ProtoReflect ¶ added in v0.4.0
func (x *PullAppInfoRequest) ProtoReflect() protoreflect.Message
func (*PullAppInfoRequest) Reset ¶ added in v0.4.0
func (x *PullAppInfoRequest) Reset()
func (*PullAppInfoRequest) String ¶ added in v0.4.0
func (x *PullAppInfoRequest) String() string
type PullAppInfoResponse ¶ added in v0.4.0
type PullAppInfoResponse struct { AppInfo *v1.AppInfo `protobuf:"bytes,1,opt,name=app_info,json=appInfo,proto3" json:"app_info,omitempty"` // contains filtered or unexported fields }
func (*PullAppInfoResponse) Descriptor
deprecated
added in
v0.4.0
func (*PullAppInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullAppInfoResponse.ProtoReflect.Descriptor instead.
func (*PullAppInfoResponse) GetAppInfo ¶ added in v0.4.0
func (x *PullAppInfoResponse) GetAppInfo() *v1.AppInfo
func (*PullAppInfoResponse) ProtoMessage ¶ added in v0.4.0
func (*PullAppInfoResponse) ProtoMessage()
func (*PullAppInfoResponse) ProtoReflect ¶ added in v0.4.0
func (x *PullAppInfoResponse) ProtoReflect() protoreflect.Message
func (*PullAppInfoResponse) Reset ¶ added in v0.4.0
func (x *PullAppInfoResponse) Reset()
func (*PullAppInfoResponse) String ¶ added in v0.4.0
func (x *PullAppInfoResponse) String() string
type PullFeedRequest ¶
type PullFeedRequest struct { // WellKnownFeedSource Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // contains filtered or unexported fields }
func (*PullFeedRequest) Descriptor
deprecated
func (*PullFeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullFeedRequest.ProtoReflect.Descriptor instead.
func (*PullFeedRequest) GetChannelId ¶ added in v0.2.15
func (x *PullFeedRequest) GetChannelId() string
func (*PullFeedRequest) GetSource ¶
func (x *PullFeedRequest) GetSource() string
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 PushFeedItemsRequest ¶ added in v0.2.16
type PushFeedItemsRequest struct { // WellKnownNotifyDestination Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` Items []*v1.FeedItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"` Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*PushFeedItemsRequest) Descriptor
deprecated
added in
v0.2.16
func (*PushFeedItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushFeedItemsRequest.ProtoReflect.Descriptor instead.
func (*PushFeedItemsRequest) GetChannelId ¶ added in v0.2.16
func (x *PushFeedItemsRequest) GetChannelId() string
func (*PushFeedItemsRequest) GetDestination ¶ added in v0.2.16
func (x *PushFeedItemsRequest) GetDestination() string
func (*PushFeedItemsRequest) GetItems ¶ added in v0.2.16
func (x *PushFeedItemsRequest) GetItems() []*v1.FeedItem
func (*PushFeedItemsRequest) GetToken ¶ added in v0.2.16
func (x *PushFeedItemsRequest) GetToken() string
func (*PushFeedItemsRequest) ProtoMessage ¶ added in v0.2.16
func (*PushFeedItemsRequest) ProtoMessage()
func (*PushFeedItemsRequest) ProtoReflect ¶ added in v0.2.16
func (x *PushFeedItemsRequest) ProtoReflect() protoreflect.Message
func (*PushFeedItemsRequest) Reset ¶ added in v0.2.16
func (x *PushFeedItemsRequest) Reset()
func (*PushFeedItemsRequest) String ¶ added in v0.2.16
func (x *PushFeedItemsRequest) String() string
type PushFeedItemsResponse ¶ added in v0.2.16
type PushFeedItemsResponse struct {
// contains filtered or unexported fields
}
func (*PushFeedItemsResponse) Descriptor
deprecated
added in
v0.2.16
func (*PushFeedItemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushFeedItemsResponse.ProtoReflect.Descriptor instead.
func (*PushFeedItemsResponse) ProtoMessage ¶ added in v0.2.16
func (*PushFeedItemsResponse) ProtoMessage()
func (*PushFeedItemsResponse) ProtoReflect ¶ added in v0.2.16
func (x *PushFeedItemsResponse) ProtoReflect() protoreflect.Message
func (*PushFeedItemsResponse) Reset ¶ added in v0.2.16
func (x *PushFeedItemsResponse) Reset()
func (*PushFeedItemsResponse) String ¶ added in v0.2.16
func (x *PushFeedItemsResponse) String() string
type SearchAppInfoRequest ¶ added in v0.4.0
type SearchAppInfoRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SearchAppInfoRequest) Descriptor
deprecated
added in
v0.4.0
func (*SearchAppInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchAppInfoRequest.ProtoReflect.Descriptor instead.
func (*SearchAppInfoRequest) GetName ¶ added in v0.4.0
func (x *SearchAppInfoRequest) GetName() string
func (*SearchAppInfoRequest) ProtoMessage ¶ added in v0.4.0
func (*SearchAppInfoRequest) ProtoMessage()
func (*SearchAppInfoRequest) ProtoReflect ¶ added in v0.4.0
func (x *SearchAppInfoRequest) ProtoReflect() protoreflect.Message
func (*SearchAppInfoRequest) Reset ¶ added in v0.4.0
func (x *SearchAppInfoRequest) Reset()
func (*SearchAppInfoRequest) String ¶ added in v0.4.0
func (x *SearchAppInfoRequest) String() string
type SearchAppInfoResponse ¶ added in v0.4.0
type SearchAppInfoResponse struct { AppInfos []*v1.AppInfo `protobuf:"bytes,1,rep,name=app_infos,json=appInfos,proto3" json:"app_infos,omitempty"` // contains filtered or unexported fields }
func (*SearchAppInfoResponse) Descriptor
deprecated
added in
v0.4.0
func (*SearchAppInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchAppInfoResponse.ProtoReflect.Descriptor instead.
func (*SearchAppInfoResponse) GetAppInfos ¶ added in v0.4.0
func (x *SearchAppInfoResponse) GetAppInfos() []*v1.AppInfo
func (*SearchAppInfoResponse) ProtoMessage ¶ added in v0.4.0
func (*SearchAppInfoResponse) ProtoMessage()
func (*SearchAppInfoResponse) ProtoReflect ¶ added in v0.4.0
func (x *SearchAppInfoResponse) ProtoReflect() protoreflect.Message
func (*SearchAppInfoResponse) Reset ¶ added in v0.4.0
func (x *SearchAppInfoResponse) Reset()
func (*SearchAppInfoResponse) String ¶ added in v0.4.0
func (x *SearchAppInfoResponse) String() string
type UnimplementedLibrarianPorterServiceServer ¶
type UnimplementedLibrarianPorterServiceServer struct { }
UnimplementedLibrarianPorterServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLibrarianPorterServiceServer) EnablePorter ¶ added in v0.3.0
func (UnimplementedLibrarianPorterServiceServer) EnablePorter(context.Context, *EnablePorterRequest) (*EnablePorterResponse, error)
func (UnimplementedLibrarianPorterServiceServer) GetPorterInformation ¶ added in v0.3.0
func (UnimplementedLibrarianPorterServiceServer) GetPorterInformation(context.Context, *GetPorterInformationRequest) (*GetPorterInformationResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullAccount ¶
func (UnimplementedLibrarianPorterServiceServer) PullAccount(context.Context, *PullAccountRequest) (*PullAccountResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullAccountAppInfoRelation ¶ added in v0.4.0
func (UnimplementedLibrarianPorterServiceServer) PullAccountAppInfoRelation(context.Context, *PullAccountAppInfoRelationRequest) (*PullAccountAppInfoRelationResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullAppInfo ¶ added in v0.4.0
func (UnimplementedLibrarianPorterServiceServer) PullAppInfo(context.Context, *PullAppInfoRequest) (*PullAppInfoResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullFeed ¶
func (UnimplementedLibrarianPorterServiceServer) PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PushFeedItems ¶ added in v0.2.16
func (UnimplementedLibrarianPorterServiceServer) PushFeedItems(context.Context, *PushFeedItemsRequest) (*PushFeedItemsResponse, error)
func (UnimplementedLibrarianPorterServiceServer) SearchAppInfo ¶ added in v0.4.0
func (UnimplementedLibrarianPorterServiceServer) SearchAppInfo(context.Context, *SearchAppInfoRequest) (*SearchAppInfoResponse, 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.