Documentation ¶
Index ¶
- Variables
- func NewExploreEndpoints() []*api.Endpoint
- func NewPublicapiEndpoints() []*api.Endpoint
- func RegisterExploreHandler(s server.Server, hdlr ExploreHandler, opts ...server.HandlerOption) error
- func RegisterPublicapiHandler(s server.Server, hdlr PublicapiHandler, opts ...server.HandlerOption) error
- type APIRequest
- type APIResponse
- func (*APIResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APIResponse) GetApi() *PublicAPI
- func (x *APIResponse) GetSummary() *ExploreAPI
- func (*APIResponse) ProtoMessage()
- func (x *APIResponse) ProtoReflect() protoreflect.Message
- func (x *APIResponse) Reset()
- func (x *APIResponse) String() string
- type Endpoint
- type ExploreAPI
- func (*ExploreAPI) Descriptor() ([]byte, []int)deprecated
- func (x *ExploreAPI) GetCategory() string
- func (x *ExploreAPI) GetDescription() string
- func (x *ExploreAPI) GetDisplayName() string
- func (x *ExploreAPI) GetEndpoints() []*Endpoint
- func (x *ExploreAPI) GetIcon() string
- func (x *ExploreAPI) GetName() string
- func (*ExploreAPI) ProtoMessage()
- func (x *ExploreAPI) ProtoReflect() protoreflect.Message
- func (x *ExploreAPI) Reset()
- func (x *ExploreAPI) String() string
- type ExploreHandler
- type ExploreService
- type GetRequest
- type GetResponse
- type IndexRequest
- func (*IndexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IndexRequest) GetLimit() int64
- func (x *IndexRequest) GetOffset() int64
- func (*IndexRequest) ProtoMessage()
- func (x *IndexRequest) ProtoReflect() protoreflect.Message
- func (x *IndexRequest) Reset()
- func (x *IndexRequest) String() string
- type IndexResponse
- type ListCategoriesRequest
- type ListCategoriesResponse
- func (*ListCategoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCategoriesResponse) GetCategories() []string
- func (*ListCategoriesResponse) ProtoMessage()
- func (x *ListCategoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListCategoriesResponse) Reset()
- func (x *ListCategoriesResponse) String() string
- type ListRequest
- type ListResponse
- type PricingItem
- func (*PricingItem) Descriptor() ([]byte, []int)deprecated
- func (x *PricingItem) GetDisplayName() string
- func (x *PricingItem) GetIcon() string
- func (x *PricingItem) GetId() string
- func (x *PricingItem) GetName() string
- func (x *PricingItem) GetPricing() map[string]int64
- func (x *PricingItem) GetQuotas() map[string]int64
- func (*PricingItem) ProtoMessage()
- func (x *PricingItem) ProtoReflect() protoreflect.Message
- func (x *PricingItem) Reset()
- func (x *PricingItem) String() string
- type PricingRequest
- type PricingResponse
- type PublicAPI
- func (*PublicAPI) Descriptor() ([]byte, []int)deprecated
- func (x *PublicAPI) GetCategory() string
- func (x *PublicAPI) GetDescription() string
- func (x *PublicAPI) GetDisplayName() string
- func (x *PublicAPI) GetExamplesJson() string
- func (x *PublicAPI) GetIcon() string
- func (x *PublicAPI) GetId() string
- func (x *PublicAPI) GetName() string
- func (x *PublicAPI) GetOpenApiJson() string
- func (x *PublicAPI) GetOwnerId() string
- func (x *PublicAPI) GetPostmanJson() string
- func (x *PublicAPI) GetPricing() map[string]int64
- func (x *PublicAPI) GetQuotas() map[string]int64
- func (*PublicAPI) ProtoMessage()
- func (x *PublicAPI) ProtoReflect() protoreflect.Message
- func (x *PublicAPI) Reset()
- func (x *PublicAPI) String() string
- type PublicapiHandler
- type PublicapiService
- type PublishRequest
- type PublishResponse
- type RemoveRequest
- func (*RemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRequest) GetId() string
- func (x *RemoveRequest) GetName() string
- func (*RemoveRequest) ProtoMessage()
- func (x *RemoveRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRequest) Reset()
- func (x *RemoveRequest) String() string
- type RemoveResponse
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetCategories() []string
- func (x *SearchRequest) GetCategory() string
- func (x *SearchRequest) GetSearchTerm() string
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- type SearchResponse
- type UpdateRequest
- type UpdateResponse
Constants ¶
This section is empty.
Variables ¶
var File_proto_explore_proto protoreflect.FileDescriptor
var File_proto_publicapi_proto protoreflect.FileDescriptor
Functions ¶
func NewExploreEndpoints ¶
func NewPublicapiEndpoints ¶
func RegisterExploreHandler ¶
func RegisterExploreHandler(s server.Server, hdlr ExploreHandler, opts ...server.HandlerOption) error
func RegisterPublicapiHandler ¶
func RegisterPublicapiHandler(s server.Server, hdlr PublicapiHandler, opts ...server.HandlerOption) error
Types ¶
type APIRequest ¶
type APIRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*APIRequest) Descriptor
deprecated
func (*APIRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIRequest.ProtoReflect.Descriptor instead.
func (*APIRequest) GetName ¶
func (x *APIRequest) GetName() string
func (*APIRequest) ProtoMessage ¶
func (*APIRequest) ProtoMessage()
func (*APIRequest) ProtoReflect ¶
func (x *APIRequest) ProtoReflect() protoreflect.Message
func (*APIRequest) Reset ¶
func (x *APIRequest) Reset()
func (*APIRequest) String ¶
func (x *APIRequest) String() string
type APIResponse ¶
type APIResponse struct { Summary *ExploreAPI `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` Api *PublicAPI `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` // contains filtered or unexported fields }
func (*APIResponse) Descriptor
deprecated
func (*APIResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIResponse.ProtoReflect.Descriptor instead.
func (*APIResponse) GetApi ¶
func (x *APIResponse) GetApi() *PublicAPI
func (*APIResponse) GetSummary ¶
func (x *APIResponse) GetSummary() *ExploreAPI
func (*APIResponse) ProtoMessage ¶
func (*APIResponse) ProtoMessage()
func (*APIResponse) ProtoReflect ¶
func (x *APIResponse) ProtoReflect() protoreflect.Message
func (*APIResponse) Reset ¶
func (x *APIResponse) Reset()
func (*APIResponse) String ¶
func (x *APIResponse) String() string
type Endpoint ¶
type Endpoint struct { // name of the endpoint e.g Cache.Get Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Endpoint is a simple named api endpoint
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type ExploreAPI ¶
type ExploreAPI struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` Icon string `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"` Endpoints []*Endpoint `protobuf:"bytes,5,rep,name=endpoints,proto3" json:"endpoints,omitempty"` DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
ExploreAPI is returned for index/search endpoints
func (*ExploreAPI) Descriptor
deprecated
func (*ExploreAPI) Descriptor() ([]byte, []int)
Deprecated: Use ExploreAPI.ProtoReflect.Descriptor instead.
func (*ExploreAPI) GetCategory ¶
func (x *ExploreAPI) GetCategory() string
func (*ExploreAPI) GetDescription ¶
func (x *ExploreAPI) GetDescription() string
func (*ExploreAPI) GetDisplayName ¶
func (x *ExploreAPI) GetDisplayName() string
func (*ExploreAPI) GetEndpoints ¶
func (x *ExploreAPI) GetEndpoints() []*Endpoint
func (*ExploreAPI) GetIcon ¶
func (x *ExploreAPI) GetIcon() string
func (*ExploreAPI) GetName ¶
func (x *ExploreAPI) GetName() string
func (*ExploreAPI) ProtoMessage ¶
func (*ExploreAPI) ProtoMessage()
func (*ExploreAPI) ProtoReflect ¶
func (x *ExploreAPI) ProtoReflect() protoreflect.Message
func (*ExploreAPI) Reset ¶
func (x *ExploreAPI) Reset()
func (*ExploreAPI) String ¶
func (x *ExploreAPI) String() string
type ExploreHandler ¶
type ExploreHandler interface { Index(context.Context, *IndexRequest, *IndexResponse) error Search(context.Context, *SearchRequest, *SearchResponse) error API(context.Context, *APIRequest, *APIResponse) error ListCategories(context.Context, *ListCategoriesRequest, *ListCategoriesResponse) error Pricing(context.Context, *PricingRequest, *PricingResponse) error }
type ExploreService ¶
type ExploreService interface { Index(ctx context.Context, in *IndexRequest, opts ...client.CallOption) (*IndexResponse, error) Search(ctx context.Context, in *SearchRequest, opts ...client.CallOption) (*SearchResponse, error) API(ctx context.Context, in *APIRequest, opts ...client.CallOption) (*APIResponse, error) ListCategories(ctx context.Context, in *ListCategoriesRequest, opts ...client.CallOption) (*ListCategoriesResponse, error) Pricing(ctx context.Context, in *PricingRequest, opts ...client.CallOption) (*PricingResponse, error) }
func NewExploreService ¶
func NewExploreService(name string, c client.Client) ExploreService
type GetRequest ¶
type GetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetId ¶
func (x *GetRequest) GetId() string
func (*GetRequest) GetName ¶
func (x *GetRequest) GetName() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Api *PublicAPI `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetApi ¶
func (x *GetResponse) GetApi() *PublicAPI
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type IndexRequest ¶
type IndexRequest struct { Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*IndexRequest) Descriptor
deprecated
func (*IndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use IndexRequest.ProtoReflect.Descriptor instead.
func (*IndexRequest) GetLimit ¶
func (x *IndexRequest) GetLimit() int64
func (*IndexRequest) GetOffset ¶
func (x *IndexRequest) GetOffset() int64
func (*IndexRequest) ProtoMessage ¶
func (*IndexRequest) ProtoMessage()
func (*IndexRequest) ProtoReflect ¶
func (x *IndexRequest) ProtoReflect() protoreflect.Message
func (*IndexRequest) Reset ¶
func (x *IndexRequest) Reset()
func (*IndexRequest) String ¶
func (x *IndexRequest) String() string
type IndexResponse ¶
type IndexResponse struct { Apis []*ExploreAPI `protobuf:"bytes,1,rep,name=apis,proto3" json:"apis,omitempty"` // contains filtered or unexported fields }
func (*IndexResponse) Descriptor
deprecated
func (*IndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use IndexResponse.ProtoReflect.Descriptor instead.
func (*IndexResponse) GetApis ¶
func (x *IndexResponse) GetApis() []*ExploreAPI
func (*IndexResponse) ProtoMessage ¶
func (*IndexResponse) ProtoMessage()
func (*IndexResponse) ProtoReflect ¶
func (x *IndexResponse) ProtoReflect() protoreflect.Message
func (*IndexResponse) Reset ¶
func (x *IndexResponse) Reset()
func (*IndexResponse) String ¶
func (x *IndexResponse) String() string
type ListCategoriesRequest ¶
type ListCategoriesRequest struct {
// contains filtered or unexported fields
}
func (*ListCategoriesRequest) Descriptor
deprecated
func (*ListCategoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCategoriesRequest.ProtoReflect.Descriptor instead.
func (*ListCategoriesRequest) ProtoMessage ¶
func (*ListCategoriesRequest) ProtoMessage()
func (*ListCategoriesRequest) ProtoReflect ¶
func (x *ListCategoriesRequest) ProtoReflect() protoreflect.Message
func (*ListCategoriesRequest) Reset ¶
func (x *ListCategoriesRequest) Reset()
func (*ListCategoriesRequest) String ¶
func (x *ListCategoriesRequest) String() string
type ListCategoriesResponse ¶
type ListCategoriesResponse struct { Categories []string `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"` // contains filtered or unexported fields }
func (*ListCategoriesResponse) Descriptor
deprecated
func (*ListCategoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCategoriesResponse.ProtoReflect.Descriptor instead.
func (*ListCategoriesResponse) GetCategories ¶
func (x *ListCategoriesResponse) GetCategories() []string
func (*ListCategoriesResponse) ProtoMessage ¶
func (*ListCategoriesResponse) ProtoMessage()
func (*ListCategoriesResponse) ProtoReflect ¶
func (x *ListCategoriesResponse) ProtoReflect() protoreflect.Message
func (*ListCategoriesResponse) Reset ¶
func (x *ListCategoriesResponse) Reset()
func (*ListCategoriesResponse) String ¶
func (x *ListCategoriesResponse) String() string
type ListRequest ¶
type ListRequest struct {
// contains filtered or unexported fields
}
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Apis []*PublicAPI `protobuf:"bytes,1,rep,name=apis,proto3" json:"apis,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetApis ¶
func (x *ListResponse) GetApis() []*PublicAPI
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type PricingItem ¶
type PricingItem struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Pricing map[string]int64 `` // map of endpoints to price. Unit is 1/10,000ths of a cent which allows us to price in fractions e.g. a request costs 0.0001 cents or 10000 requests for 1 cent /* 156-byte string literal not displayed */ DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"` Quotas map[string]int64 `` // map of endpoints to free quota. After quota is exhausted endpoint becomes paid /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PricingItem) Descriptor
deprecated
func (*PricingItem) Descriptor() ([]byte, []int)
Deprecated: Use PricingItem.ProtoReflect.Descriptor instead.
func (*PricingItem) GetDisplayName ¶
func (x *PricingItem) GetDisplayName() string
func (*PricingItem) GetIcon ¶
func (x *PricingItem) GetIcon() string
func (*PricingItem) GetId ¶
func (x *PricingItem) GetId() string
func (*PricingItem) GetName ¶
func (x *PricingItem) GetName() string
func (*PricingItem) GetPricing ¶
func (x *PricingItem) GetPricing() map[string]int64
func (*PricingItem) GetQuotas ¶
func (x *PricingItem) GetQuotas() map[string]int64
func (*PricingItem) ProtoMessage ¶
func (*PricingItem) ProtoMessage()
func (*PricingItem) ProtoReflect ¶
func (x *PricingItem) ProtoReflect() protoreflect.Message
func (*PricingItem) Reset ¶
func (x *PricingItem) Reset()
func (*PricingItem) String ¶
func (x *PricingItem) String() string
type PricingRequest ¶
type PricingRequest struct {
// contains filtered or unexported fields
}
func (*PricingRequest) Descriptor
deprecated
func (*PricingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PricingRequest.ProtoReflect.Descriptor instead.
func (*PricingRequest) ProtoMessage ¶
func (*PricingRequest) ProtoMessage()
func (*PricingRequest) ProtoReflect ¶
func (x *PricingRequest) ProtoReflect() protoreflect.Message
func (*PricingRequest) Reset ¶
func (x *PricingRequest) Reset()
func (*PricingRequest) String ¶
func (x *PricingRequest) String() string
type PricingResponse ¶
type PricingResponse struct { Prices []*PricingItem `protobuf:"bytes,1,rep,name=prices,proto3" json:"prices,omitempty"` // contains filtered or unexported fields }
func (*PricingResponse) Descriptor
deprecated
func (*PricingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PricingResponse.ProtoReflect.Descriptor instead.
func (*PricingResponse) GetPrices ¶
func (x *PricingResponse) GetPrices() []*PricingItem
func (*PricingResponse) ProtoMessage ¶
func (*PricingResponse) ProtoMessage()
func (*PricingResponse) ProtoReflect ¶
func (x *PricingResponse) ProtoReflect() protoreflect.Message
func (*PricingResponse) Reset ¶
func (x *PricingResponse) Reset()
func (*PricingResponse) String ¶
func (x *PricingResponse) String() string
type PublicAPI ¶
type PublicAPI struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` OpenApiJson string `protobuf:"bytes,4,opt,name=open_api_json,json=openApiJson,proto3" json:"open_api_json,omitempty"` Pricing map[string]int64 `` // map of endpoints to price. Unit is 1/10,000ths of a cent which allows us to price in fractions e.g. a request costs 0.0001 cents or 10000 requests for 1 cent /* 156-byte string literal not displayed */ OwnerId string `protobuf:"bytes,7,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` ExamplesJson string `protobuf:"bytes,8,opt,name=examples_json,json=examplesJson,proto3" json:"examples_json,omitempty"` Category string `protobuf:"bytes,9,opt,name=category,proto3" json:"category,omitempty"` Icon string `protobuf:"bytes,10,opt,name=icon,proto3" json:"icon,omitempty"` PostmanJson string `protobuf:"bytes,11,opt,name=postman_json,json=postmanJson,proto3" json:"postman_json,omitempty"` DisplayName string `protobuf:"bytes,12,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Quotas map[string]int64 `` // map of endpoints to monthly free request quota. After quota is exhausted endpoint becomes paid /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PublicAPI) Descriptor
deprecated
func (*PublicAPI) GetCategory ¶
func (*PublicAPI) GetDescription ¶
func (*PublicAPI) GetDisplayName ¶
func (*PublicAPI) GetExamplesJson ¶
func (*PublicAPI) GetOpenApiJson ¶
func (*PublicAPI) GetOwnerId ¶
func (*PublicAPI) GetPostmanJson ¶
func (*PublicAPI) GetPricing ¶
func (*PublicAPI) ProtoMessage ¶
func (*PublicAPI) ProtoMessage()
func (*PublicAPI) ProtoReflect ¶
func (x *PublicAPI) ProtoReflect() protoreflect.Message
type PublicapiHandler ¶
type PublicapiHandler interface { Publish(context.Context, *PublishRequest, *PublishResponse) error Update(context.Context, *UpdateRequest, *UpdateResponse) error Get(context.Context, *GetRequest, *GetResponse) error List(context.Context, *ListRequest, *ListResponse) error Remove(context.Context, *RemoveRequest, *RemoveResponse) error }
type PublicapiService ¶
type PublicapiService interface { Publish(ctx context.Context, in *PublishRequest, opts ...client.CallOption) (*PublishResponse, error) Update(ctx context.Context, in *UpdateRequest, opts ...client.CallOption) (*UpdateResponse, error) Get(ctx context.Context, in *GetRequest, opts ...client.CallOption) (*GetResponse, error) List(ctx context.Context, in *ListRequest, opts ...client.CallOption) (*ListResponse, error) Remove(ctx context.Context, in *RemoveRequest, opts ...client.CallOption) (*RemoveResponse, error) }
func NewPublicapiService ¶
func NewPublicapiService(name string, c client.Client) PublicapiService
type PublishRequest ¶
type PublishRequest struct { Api *PublicAPI `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` // contains filtered or unexported fields }
func (*PublishRequest) Descriptor
deprecated
func (*PublishRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.
func (*PublishRequest) GetApi ¶
func (x *PublishRequest) GetApi() *PublicAPI
func (*PublishRequest) ProtoMessage ¶
func (*PublishRequest) ProtoMessage()
func (*PublishRequest) ProtoReflect ¶
func (x *PublishRequest) ProtoReflect() protoreflect.Message
func (*PublishRequest) Reset ¶
func (x *PublishRequest) Reset()
func (*PublishRequest) String ¶
func (x *PublishRequest) String() string
type PublishResponse ¶
type PublishResponse struct { Api *PublicAPI `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` // contains filtered or unexported fields }
func (*PublishResponse) Descriptor
deprecated
func (*PublishResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.
func (*PublishResponse) GetApi ¶
func (x *PublishResponse) GetApi() *PublicAPI
func (*PublishResponse) ProtoMessage ¶
func (*PublishResponse) ProtoMessage()
func (*PublishResponse) ProtoReflect ¶
func (x *PublishResponse) ProtoReflect() protoreflect.Message
func (*PublishResponse) Reset ¶
func (x *PublishResponse) Reset()
func (*PublishResponse) String ¶
func (x *PublishResponse) String() string
type RemoveRequest ¶
type RemoveRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RemoveRequest) Descriptor
deprecated
func (*RemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.
func (*RemoveRequest) GetId ¶
func (x *RemoveRequest) GetId() string
func (*RemoveRequest) GetName ¶
func (x *RemoveRequest) GetName() string
func (*RemoveRequest) ProtoMessage ¶
func (*RemoveRequest) ProtoMessage()
func (*RemoveRequest) ProtoReflect ¶
func (x *RemoveRequest) ProtoReflect() protoreflect.Message
func (*RemoveRequest) Reset ¶
func (x *RemoveRequest) Reset()
func (*RemoveRequest) String ¶
func (x *RemoveRequest) String() string
type RemoveResponse ¶
type RemoveResponse struct {
// contains filtered or unexported fields
}
func (*RemoveResponse) Descriptor
deprecated
func (*RemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead.
func (*RemoveResponse) ProtoMessage ¶
func (*RemoveResponse) ProtoMessage()
func (*RemoveResponse) ProtoReflect ¶
func (x *RemoveResponse) ProtoReflect() protoreflect.Message
func (*RemoveResponse) Reset ¶
func (x *RemoveResponse) Reset()
func (*RemoveResponse) String ¶
func (x *RemoveResponse) String() string
type SearchRequest ¶
type SearchRequest struct { SearchTerm string `protobuf:"bytes,1,opt,name=search_term,json=searchTerm,proto3" json:"search_term,omitempty"` Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` // deperecated Categories []string `protobuf:"bytes,3,rep,name=categories,proto3" json:"categories,omitempty"` // contains filtered or unexported fields }
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetCategories ¶
func (x *SearchRequest) GetCategories() []string
func (*SearchRequest) GetCategory ¶
func (x *SearchRequest) GetCategory() string
func (*SearchRequest) GetSearchTerm ¶
func (x *SearchRequest) GetSearchTerm() string
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) ProtoReflect ¶
func (x *SearchRequest) ProtoReflect() protoreflect.Message
func (*SearchRequest) Reset ¶
func (x *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (x *SearchRequest) String() string
type SearchResponse ¶
type SearchResponse struct { Apis []*ExploreAPI `protobuf:"bytes,1,rep,name=apis,proto3" json:"apis,omitempty"` // contains filtered or unexported fields }
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetApis ¶
func (x *SearchResponse) GetApis() []*ExploreAPI
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) ProtoReflect ¶
func (x *SearchResponse) ProtoReflect() protoreflect.Message
func (*SearchResponse) Reset ¶
func (x *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (x *SearchResponse) String() string
type UpdateRequest ¶
type UpdateRequest struct { Api *PublicAPI `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetApi ¶
func (x *UpdateRequest) GetApi() *PublicAPI
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct { Api *PublicAPI `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetApi ¶
func (x *UpdateResponse) GetApi() *PublicAPI
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string