Documentation ¶
Overview ¶
Package gen is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterKitsuServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterKitsuServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KitsuServiceClient) error
- func RegisterKitsuServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterKitsuServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KitsuServiceServer) error
- func RegisterKitsuServiceServer(s grpc.ServiceRegistrar, srv KitsuServiceServer)
- type ContentSource
- func (ContentSource) Descriptor() protoreflect.EnumDescriptor
- func (x ContentSource) Enum() *ContentSource
- func (ContentSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContentSource) Number() protoreflect.EnumNumber
- func (x ContentSource) String() string
- func (ContentSource) Type() protoreflect.EnumType
- type KitsuAnimeAttributes
- func (*KitsuAnimeAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeAttributes) GetAbbreviatedTitles() []string
- func (x *KitsuAnimeAttributes) GetAgeRating() string
- func (x *KitsuAnimeAttributes) GetAgeRatingGuide() string
- func (x *KitsuAnimeAttributes) GetAverageRating() string
- func (x *KitsuAnimeAttributes) GetCanonicalTitle() string
- func (x *KitsuAnimeAttributes) GetCoverImage() *KitsuAnimeImage
- func (x *KitsuAnimeAttributes) GetCoverImageTopOffset() int32
- func (x *KitsuAnimeAttributes) GetCreatedAt() string
- func (x *KitsuAnimeAttributes) GetDescription() string
- func (x *KitsuAnimeAttributes) GetEndDate() string
- func (x *KitsuAnimeAttributes) GetEpisodeCount() int32
- func (x *KitsuAnimeAttributes) GetEpisodeLength() int32
- func (x *KitsuAnimeAttributes) GetFavoritesCount() int64
- func (x *KitsuAnimeAttributes) GetNextRelease() string
- func (x *KitsuAnimeAttributes) GetNsfw() bool
- func (x *KitsuAnimeAttributes) GetPopularityRank() int32
- func (x *KitsuAnimeAttributes) GetPosterImage() *KitsuAnimeImage
- func (x *KitsuAnimeAttributes) GetRatingFrequencies() map[string]string
- func (x *KitsuAnimeAttributes) GetRatingRank() int32
- func (x *KitsuAnimeAttributes) GetShowType() string
- func (x *KitsuAnimeAttributes) GetSlug() string
- func (x *KitsuAnimeAttributes) GetStartDate() string
- func (x *KitsuAnimeAttributes) GetStatus() string
- func (x *KitsuAnimeAttributes) GetSubtype() string
- func (x *KitsuAnimeAttributes) GetSynopsis() string
- func (x *KitsuAnimeAttributes) GetTba() string
- func (x *KitsuAnimeAttributes) GetTitles() map[string]string
- func (x *KitsuAnimeAttributes) GetTotalLength() int32
- func (x *KitsuAnimeAttributes) GetUpdatedAt() string
- func (x *KitsuAnimeAttributes) GetUserCount() int64
- func (x *KitsuAnimeAttributes) GetYoutubeVideoId() string
- func (*KitsuAnimeAttributes) ProtoMessage()
- func (x *KitsuAnimeAttributes) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeAttributes) QueryString() url.Values
- func (x *KitsuAnimeAttributes) Reset()
- func (x *KitsuAnimeAttributes) String() string
- func (this *KitsuAnimeAttributes) Validate() error
- type KitsuAnimeImage
- func (*KitsuAnimeImage) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeImage) GetLarge() string
- func (x *KitsuAnimeImage) GetMedium() string
- func (x *KitsuAnimeImage) GetMeta() *KitsuAnimeImageMeta
- func (x *KitsuAnimeImage) GetOriginal() string
- func (x *KitsuAnimeImage) GetSmall() string
- func (x *KitsuAnimeImage) GetTiny() string
- func (*KitsuAnimeImage) ProtoMessage()
- func (x *KitsuAnimeImage) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeImage) QueryString() url.Values
- func (x *KitsuAnimeImage) Reset()
- func (x *KitsuAnimeImage) String() string
- func (this *KitsuAnimeImage) Validate() error
- type KitsuAnimeImageDimension
- func (*KitsuAnimeImageDimension) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeImageDimension) GetHeight() int32
- func (x *KitsuAnimeImageDimension) GetWidth() int32
- func (*KitsuAnimeImageDimension) ProtoMessage()
- func (x *KitsuAnimeImageDimension) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeImageDimension) QueryString() url.Values
- func (x *KitsuAnimeImageDimension) Reset()
- func (x *KitsuAnimeImageDimension) String() string
- func (this *KitsuAnimeImageDimension) Validate() error
- type KitsuAnimeImageMeta
- func (*KitsuAnimeImageMeta) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeImageMeta) GetDimensions() map[string]*KitsuAnimeImageDimension
- func (*KitsuAnimeImageMeta) ProtoMessage()
- func (x *KitsuAnimeImageMeta) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeImageMeta) QueryString() url.Values
- func (x *KitsuAnimeImageMeta) Reset()
- func (x *KitsuAnimeImageMeta) String() string
- func (this *KitsuAnimeImageMeta) Validate() error
- type KitsuAnimeItem
- func (*KitsuAnimeItem) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeItem) GetAttributes() *KitsuAnimeAttributes
- func (x *KitsuAnimeItem) GetId() string
- func (x *KitsuAnimeItem) GetLinks() *KitsuAnimeLinks
- func (x *KitsuAnimeItem) GetRelationships() *KitsuAnimeRelationships
- func (x *KitsuAnimeItem) GetType() string
- func (*KitsuAnimeItem) ProtoMessage()
- func (x *KitsuAnimeItem) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeItem) QueryString() url.Values
- func (x *KitsuAnimeItem) Reset()
- func (x *KitsuAnimeItem) String() string
- func (this *KitsuAnimeItem) Validate() error
- type KitsuAnimeLinks
- func (*KitsuAnimeLinks) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeLinks) GetLast() string
- func (x *KitsuAnimeLinks) GetNext() string
- func (x *KitsuAnimeLinks) GetRelated() string
- func (x *KitsuAnimeLinks) GetSelf() string
- func (*KitsuAnimeLinks) ProtoMessage()
- func (x *KitsuAnimeLinks) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeLinks) QueryString() url.Values
- func (x *KitsuAnimeLinks) Reset()
- func (x *KitsuAnimeLinks) String() string
- func (this *KitsuAnimeLinks) Validate() error
- type KitsuAnimeListRequest
- func (*KitsuAnimeListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeListRequest) GetPage() map[string]string
- func (*KitsuAnimeListRequest) ProtoMessage()
- func (x *KitsuAnimeListRequest) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeListRequest) QueryString() url.Values
- func (x *KitsuAnimeListRequest) Reset()
- func (x *KitsuAnimeListRequest) String() string
- func (this *KitsuAnimeListRequest) Validate() error
- type KitsuAnimeListResponse
- func (*KitsuAnimeListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeListResponse) GetContentSource() ContentSource
- func (x *KitsuAnimeListResponse) GetData() []*KitsuAnimeItem
- func (*KitsuAnimeListResponse) ProtoMessage()
- func (x *KitsuAnimeListResponse) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeListResponse) QueryString() url.Values
- func (x *KitsuAnimeListResponse) Reset()
- func (x *KitsuAnimeListResponse) String() string
- func (this *KitsuAnimeListResponse) Validate() error
- type KitsuAnimeRelationKitsuAnimeItemItem
- func (*KitsuAnimeRelationKitsuAnimeItemItem) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeRelationKitsuAnimeItemItem) GetLinks() *KitsuAnimeLinks
- func (*KitsuAnimeRelationKitsuAnimeItemItem) ProtoMessage()
- func (x *KitsuAnimeRelationKitsuAnimeItemItem) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeRelationKitsuAnimeItemItem) QueryString() url.Values
- func (x *KitsuAnimeRelationKitsuAnimeItemItem) Reset()
- func (x *KitsuAnimeRelationKitsuAnimeItemItem) String() string
- func (this *KitsuAnimeRelationKitsuAnimeItemItem) Validate() error
- type KitsuAnimeRelationships
- func (*KitsuAnimeRelationships) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeRelationships) GetAnimeCharacters() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetAnimeProductions() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetAnimeStaff() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetCastings() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetCategories() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetCharacters() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetEpisodes() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetGenres() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetInstallments() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetMappings() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetMediaRelationships() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetProductions() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetQuotes() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetReviews() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetStaff() *KitsuAnimeRelationKitsuAnimeItemItem
- func (x *KitsuAnimeRelationships) GetStreamingLinks() *KitsuAnimeRelationKitsuAnimeItemItem
- func (*KitsuAnimeRelationships) ProtoMessage()
- func (x *KitsuAnimeRelationships) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeRelationships) QueryString() url.Values
- func (x *KitsuAnimeRelationships) Reset()
- func (x *KitsuAnimeRelationships) String() string
- func (this *KitsuAnimeRelationships) Validate() error
- type KitsuAnimeRequest
- func (*KitsuAnimeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeRequest) GetId() string
- func (*KitsuAnimeRequest) ProtoMessage()
- func (x *KitsuAnimeRequest) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeRequest) QueryString() url.Values
- func (x *KitsuAnimeRequest) Reset()
- func (x *KitsuAnimeRequest) String() string
- func (this *KitsuAnimeRequest) Validate() error
- type KitsuAnimeResponse
- func (*KitsuAnimeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KitsuAnimeResponse) GetContentSource() ContentSource
- func (x *KitsuAnimeResponse) GetData() *KitsuAnimeItem
- func (*KitsuAnimeResponse) ProtoMessage()
- func (x *KitsuAnimeResponse) ProtoReflect() protoreflect.Message
- func (u *KitsuAnimeResponse) QueryString() url.Values
- func (x *KitsuAnimeResponse) Reset()
- func (x *KitsuAnimeResponse) String() string
- func (this *KitsuAnimeResponse) Validate() error
- type KitsuServiceClient
- type KitsuServiceHTTPClient
- func (c *KitsuServiceHTTPClient) GetAnime(ctx context.Context, in *KitsuAnimeRequest, opts ...grpc.CallOption) (out *KitsuAnimeResponse, err error)
- func (c *KitsuServiceHTTPClient) GetAnimeList(ctx context.Context, in *KitsuAnimeListRequest, opts ...grpc.CallOption) (out *KitsuAnimeListResponse, err error)
- type KitsuServiceServer
- type UnimplementedKitsuServiceServer
- type UnsafeKitsuServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ContentSource_name = map[int32]string{ 0: "UNKNOWN", 1: "CACHE", 2: "EDGE", } ContentSource_value = map[string]int32{ "UNKNOWN": 0, "CACHE": 1, "EDGE": 2, } )
Enum value maps for ContentSource.
var File_service_proto protoreflect.FileDescriptor
var KitsuService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "myservice.KitsuService", HandlerType: (*KitsuServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "getAnimeList", Handler: _KitsuService_GetAnimeList_Handler, }, { MethodName: "getAnime", Handler: _KitsuService_GetAnime_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
KitsuService_ServiceDesc is the grpc.ServiceDesc for KitsuService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKitsuServiceHandler ¶
func RegisterKitsuServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterKitsuServiceHandler registers the http handlers for service KitsuService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterKitsuServiceHandlerClient ¶
func RegisterKitsuServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KitsuServiceClient) error
RegisterKitsuServiceHandlerClient registers the http handlers for service KitsuService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KitsuServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KitsuServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KitsuServiceClient" to call the correct interceptors.
func RegisterKitsuServiceHandlerFromEndpoint ¶
func RegisterKitsuServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterKitsuServiceHandlerFromEndpoint is same as RegisterKitsuServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterKitsuServiceHandlerServer ¶
func RegisterKitsuServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KitsuServiceServer) error
RegisterKitsuServiceHandlerServer registers the http handlers for service KitsuService to "mux". UnaryRPC :call KitsuServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterKitsuServiceHandlerFromEndpoint instead.
func RegisterKitsuServiceServer ¶
func RegisterKitsuServiceServer(s grpc.ServiceRegistrar, srv KitsuServiceServer)
Types ¶
type ContentSource ¶
type ContentSource int32
const ( ContentSource_UNKNOWN ContentSource = 0 ContentSource_CACHE ContentSource = 1 ContentSource_EDGE ContentSource = 2 )
func (ContentSource) Descriptor ¶
func (ContentSource) Descriptor() protoreflect.EnumDescriptor
func (ContentSource) Enum ¶
func (x ContentSource) Enum() *ContentSource
func (ContentSource) EnumDescriptor
deprecated
func (ContentSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContentSource.Descriptor instead.
func (ContentSource) Number ¶
func (x ContentSource) Number() protoreflect.EnumNumber
func (ContentSource) String ¶
func (x ContentSource) String() string
func (ContentSource) Type ¶
func (ContentSource) Type() protoreflect.EnumType
type KitsuAnimeAttributes ¶
type KitsuAnimeAttributes struct { CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt string `protobuf:"bytes,2,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Slug string `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"` Synopsis string `protobuf:"bytes,4,opt,name=synopsis,proto3" json:"synopsis,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` CoverImageTopOffset int32 `protobuf:"varint,6,opt,name=coverImageTopOffset,proto3" json:"coverImageTopOffset,omitempty"` Titles map[string]string `` /* 153-byte string literal not displayed */ CanonicalTitle string `protobuf:"bytes,8,opt,name=canonicalTitle,proto3" json:"canonicalTitle,omitempty"` AbbreviatedTitles []string `protobuf:"bytes,9,rep,name=abbreviatedTitles,proto3" json:"abbreviatedTitles,omitempty"` AverageRating string `protobuf:"bytes,10,opt,name=averageRating,proto3" json:"averageRating,omitempty"` RatingFrequencies map[string]string `` /* 176-byte string literal not displayed */ UserCount int64 `protobuf:"varint,12,opt,name=userCount,proto3" json:"userCount,omitempty"` FavoritesCount int64 `protobuf:"varint,13,opt,name=favoritesCount,proto3" json:"favoritesCount,omitempty"` StartDate string `protobuf:"bytes,14,opt,name=startDate,proto3" json:"startDate,omitempty"` EndDate string `protobuf:"bytes,15,opt,name=endDate,proto3" json:"endDate,omitempty"` NextRelease string `protobuf:"bytes,16,opt,name=nextRelease,proto3" json:"nextRelease,omitempty"` PopularityRank int32 `protobuf:"varint,17,opt,name=popularityRank,proto3" json:"popularityRank,omitempty"` RatingRank int32 `protobuf:"varint,18,opt,name=ratingRank,proto3" json:"ratingRank,omitempty"` AgeRating string `protobuf:"bytes,19,opt,name=ageRating,proto3" json:"ageRating,omitempty"` AgeRatingGuide string `protobuf:"bytes,20,opt,name=ageRatingGuide,proto3" json:"ageRatingGuide,omitempty"` Subtype string `protobuf:"bytes,21,opt,name=subtype,proto3" json:"subtype,omitempty"` Status string `protobuf:"bytes,22,opt,name=status,proto3" json:"status,omitempty"` Tba string `protobuf:"bytes,23,opt,name=tba,proto3" json:"tba,omitempty"` // i think orig: null PosterImage *KitsuAnimeImage `protobuf:"bytes,24,opt,name=posterImage,proto3" json:"posterImage,omitempty"` CoverImage *KitsuAnimeImage `protobuf:"bytes,25,opt,name=coverImage,proto3" json:"coverImage,omitempty"` EpisodeCount int32 `protobuf:"varint,26,opt,name=episodeCount,proto3" json:"episodeCount,omitempty"` EpisodeLength int32 `protobuf:"varint,27,opt,name=episodeLength,proto3" json:"episodeLength,omitempty"` TotalLength int32 `protobuf:"varint,28,opt,name=totalLength,proto3" json:"totalLength,omitempty"` YoutubeVideoId string `protobuf:"bytes,29,opt,name=youtubeVideoId,proto3" json:"youtubeVideoId,omitempty"` ShowType string `protobuf:"bytes,30,opt,name=showType,proto3" json:"showType,omitempty"` Nsfw bool `protobuf:"varint,31,opt,name=nsfw,proto3" json:"nsfw,omitempty"` // contains filtered or unexported fields }
func (*KitsuAnimeAttributes) Descriptor
deprecated
func (*KitsuAnimeAttributes) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeAttributes.ProtoReflect.Descriptor instead.
func (*KitsuAnimeAttributes) GetAbbreviatedTitles ¶
func (x *KitsuAnimeAttributes) GetAbbreviatedTitles() []string
func (*KitsuAnimeAttributes) GetAgeRating ¶
func (x *KitsuAnimeAttributes) GetAgeRating() string
func (*KitsuAnimeAttributes) GetAgeRatingGuide ¶
func (x *KitsuAnimeAttributes) GetAgeRatingGuide() string
func (*KitsuAnimeAttributes) GetAverageRating ¶
func (x *KitsuAnimeAttributes) GetAverageRating() string
func (*KitsuAnimeAttributes) GetCanonicalTitle ¶
func (x *KitsuAnimeAttributes) GetCanonicalTitle() string
func (*KitsuAnimeAttributes) GetCoverImage ¶
func (x *KitsuAnimeAttributes) GetCoverImage() *KitsuAnimeImage
func (*KitsuAnimeAttributes) GetCoverImageTopOffset ¶
func (x *KitsuAnimeAttributes) GetCoverImageTopOffset() int32
func (*KitsuAnimeAttributes) GetCreatedAt ¶
func (x *KitsuAnimeAttributes) GetCreatedAt() string
func (*KitsuAnimeAttributes) GetDescription ¶
func (x *KitsuAnimeAttributes) GetDescription() string
func (*KitsuAnimeAttributes) GetEndDate ¶
func (x *KitsuAnimeAttributes) GetEndDate() string
func (*KitsuAnimeAttributes) GetEpisodeCount ¶
func (x *KitsuAnimeAttributes) GetEpisodeCount() int32
func (*KitsuAnimeAttributes) GetEpisodeLength ¶
func (x *KitsuAnimeAttributes) GetEpisodeLength() int32
func (*KitsuAnimeAttributes) GetFavoritesCount ¶
func (x *KitsuAnimeAttributes) GetFavoritesCount() int64
func (*KitsuAnimeAttributes) GetNextRelease ¶
func (x *KitsuAnimeAttributes) GetNextRelease() string
func (*KitsuAnimeAttributes) GetNsfw ¶
func (x *KitsuAnimeAttributes) GetNsfw() bool
func (*KitsuAnimeAttributes) GetPopularityRank ¶
func (x *KitsuAnimeAttributes) GetPopularityRank() int32
func (*KitsuAnimeAttributes) GetPosterImage ¶
func (x *KitsuAnimeAttributes) GetPosterImage() *KitsuAnimeImage
func (*KitsuAnimeAttributes) GetRatingFrequencies ¶
func (x *KitsuAnimeAttributes) GetRatingFrequencies() map[string]string
func (*KitsuAnimeAttributes) GetRatingRank ¶
func (x *KitsuAnimeAttributes) GetRatingRank() int32
func (*KitsuAnimeAttributes) GetShowType ¶
func (x *KitsuAnimeAttributes) GetShowType() string
func (*KitsuAnimeAttributes) GetSlug ¶
func (x *KitsuAnimeAttributes) GetSlug() string
func (*KitsuAnimeAttributes) GetStartDate ¶
func (x *KitsuAnimeAttributes) GetStartDate() string
func (*KitsuAnimeAttributes) GetStatus ¶
func (x *KitsuAnimeAttributes) GetStatus() string
func (*KitsuAnimeAttributes) GetSubtype ¶
func (x *KitsuAnimeAttributes) GetSubtype() string
func (*KitsuAnimeAttributes) GetSynopsis ¶
func (x *KitsuAnimeAttributes) GetSynopsis() string
func (*KitsuAnimeAttributes) GetTba ¶
func (x *KitsuAnimeAttributes) GetTba() string
func (*KitsuAnimeAttributes) GetTitles ¶
func (x *KitsuAnimeAttributes) GetTitles() map[string]string
func (*KitsuAnimeAttributes) GetTotalLength ¶
func (x *KitsuAnimeAttributes) GetTotalLength() int32
func (*KitsuAnimeAttributes) GetUpdatedAt ¶
func (x *KitsuAnimeAttributes) GetUpdatedAt() string
func (*KitsuAnimeAttributes) GetUserCount ¶
func (x *KitsuAnimeAttributes) GetUserCount() int64
func (*KitsuAnimeAttributes) GetYoutubeVideoId ¶
func (x *KitsuAnimeAttributes) GetYoutubeVideoId() string
func (*KitsuAnimeAttributes) ProtoMessage ¶
func (*KitsuAnimeAttributes) ProtoMessage()
func (*KitsuAnimeAttributes) ProtoReflect ¶
func (x *KitsuAnimeAttributes) ProtoReflect() protoreflect.Message
func (*KitsuAnimeAttributes) QueryString ¶
func (u *KitsuAnimeAttributes) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeAttributes
func (*KitsuAnimeAttributes) Reset ¶
func (x *KitsuAnimeAttributes) Reset()
func (*KitsuAnimeAttributes) String ¶
func (x *KitsuAnimeAttributes) String() string
func (*KitsuAnimeAttributes) Validate ¶
func (this *KitsuAnimeAttributes) Validate() error
type KitsuAnimeImage ¶
type KitsuAnimeImage struct { Tiny string `protobuf:"bytes,1,opt,name=tiny,proto3" json:"tiny,omitempty"` Small string `protobuf:"bytes,2,opt,name=small,proto3" json:"small,omitempty"` Medium string `protobuf:"bytes,3,opt,name=medium,proto3" json:"medium,omitempty"` Large string `protobuf:"bytes,4,opt,name=large,proto3" json:"large,omitempty"` Original string `protobuf:"bytes,5,opt,name=original,proto3" json:"original,omitempty"` Meta *KitsuAnimeImageMeta `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*KitsuAnimeImage) Descriptor
deprecated
func (*KitsuAnimeImage) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeImage.ProtoReflect.Descriptor instead.
func (*KitsuAnimeImage) GetLarge ¶
func (x *KitsuAnimeImage) GetLarge() string
func (*KitsuAnimeImage) GetMedium ¶
func (x *KitsuAnimeImage) GetMedium() string
func (*KitsuAnimeImage) GetMeta ¶
func (x *KitsuAnimeImage) GetMeta() *KitsuAnimeImageMeta
func (*KitsuAnimeImage) GetOriginal ¶
func (x *KitsuAnimeImage) GetOriginal() string
func (*KitsuAnimeImage) GetSmall ¶
func (x *KitsuAnimeImage) GetSmall() string
func (*KitsuAnimeImage) GetTiny ¶
func (x *KitsuAnimeImage) GetTiny() string
func (*KitsuAnimeImage) ProtoMessage ¶
func (*KitsuAnimeImage) ProtoMessage()
func (*KitsuAnimeImage) ProtoReflect ¶
func (x *KitsuAnimeImage) ProtoReflect() protoreflect.Message
func (*KitsuAnimeImage) QueryString ¶
func (u *KitsuAnimeImage) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeImage
func (*KitsuAnimeImage) Reset ¶
func (x *KitsuAnimeImage) Reset()
func (*KitsuAnimeImage) String ¶
func (x *KitsuAnimeImage) String() string
func (*KitsuAnimeImage) Validate ¶
func (this *KitsuAnimeImage) Validate() error
type KitsuAnimeImageDimension ¶
type KitsuAnimeImageDimension struct { Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*KitsuAnimeImageDimension) Descriptor
deprecated
func (*KitsuAnimeImageDimension) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeImageDimension.ProtoReflect.Descriptor instead.
func (*KitsuAnimeImageDimension) GetHeight ¶
func (x *KitsuAnimeImageDimension) GetHeight() int32
func (*KitsuAnimeImageDimension) GetWidth ¶
func (x *KitsuAnimeImageDimension) GetWidth() int32
func (*KitsuAnimeImageDimension) ProtoMessage ¶
func (*KitsuAnimeImageDimension) ProtoMessage()
func (*KitsuAnimeImageDimension) ProtoReflect ¶
func (x *KitsuAnimeImageDimension) ProtoReflect() protoreflect.Message
func (*KitsuAnimeImageDimension) QueryString ¶
func (u *KitsuAnimeImageDimension) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeImageDimension
func (*KitsuAnimeImageDimension) Reset ¶
func (x *KitsuAnimeImageDimension) Reset()
func (*KitsuAnimeImageDimension) String ¶
func (x *KitsuAnimeImageDimension) String() string
func (*KitsuAnimeImageDimension) Validate ¶
func (this *KitsuAnimeImageDimension) Validate() error
type KitsuAnimeImageMeta ¶
type KitsuAnimeImageMeta struct { Dimensions map[string]*KitsuAnimeImageDimension `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*KitsuAnimeImageMeta) Descriptor
deprecated
func (*KitsuAnimeImageMeta) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeImageMeta.ProtoReflect.Descriptor instead.
func (*KitsuAnimeImageMeta) GetDimensions ¶
func (x *KitsuAnimeImageMeta) GetDimensions() map[string]*KitsuAnimeImageDimension
func (*KitsuAnimeImageMeta) ProtoMessage ¶
func (*KitsuAnimeImageMeta) ProtoMessage()
func (*KitsuAnimeImageMeta) ProtoReflect ¶
func (x *KitsuAnimeImageMeta) ProtoReflect() protoreflect.Message
func (*KitsuAnimeImageMeta) QueryString ¶
func (u *KitsuAnimeImageMeta) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeImageMeta
func (*KitsuAnimeImageMeta) Reset ¶
func (x *KitsuAnimeImageMeta) Reset()
func (*KitsuAnimeImageMeta) String ¶
func (x *KitsuAnimeImageMeta) String() string
func (*KitsuAnimeImageMeta) Validate ¶
func (this *KitsuAnimeImageMeta) Validate() error
type KitsuAnimeItem ¶
type KitsuAnimeItem struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Links *KitsuAnimeLinks `protobuf:"bytes,3,opt,name=links,proto3" json:"links,omitempty"` Attributes *KitsuAnimeAttributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"` Relationships *KitsuAnimeRelationships `protobuf:"bytes,5,opt,name=relationships,proto3" json:"relationships,omitempty"` // contains filtered or unexported fields }
func (*KitsuAnimeItem) Descriptor
deprecated
func (*KitsuAnimeItem) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeItem.ProtoReflect.Descriptor instead.
func (*KitsuAnimeItem) GetAttributes ¶
func (x *KitsuAnimeItem) GetAttributes() *KitsuAnimeAttributes
func (*KitsuAnimeItem) GetId ¶
func (x *KitsuAnimeItem) GetId() string
func (*KitsuAnimeItem) GetLinks ¶
func (x *KitsuAnimeItem) GetLinks() *KitsuAnimeLinks
func (*KitsuAnimeItem) GetRelationships ¶
func (x *KitsuAnimeItem) GetRelationships() *KitsuAnimeRelationships
func (*KitsuAnimeItem) GetType ¶
func (x *KitsuAnimeItem) GetType() string
func (*KitsuAnimeItem) ProtoMessage ¶
func (*KitsuAnimeItem) ProtoMessage()
func (*KitsuAnimeItem) ProtoReflect ¶
func (x *KitsuAnimeItem) ProtoReflect() protoreflect.Message
func (*KitsuAnimeItem) QueryString ¶
func (u *KitsuAnimeItem) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeItem
func (*KitsuAnimeItem) Reset ¶
func (x *KitsuAnimeItem) Reset()
func (*KitsuAnimeItem) String ¶
func (x *KitsuAnimeItem) String() string
func (*KitsuAnimeItem) Validate ¶
func (this *KitsuAnimeItem) Validate() error
type KitsuAnimeLinks ¶
type KitsuAnimeLinks struct { Self string `protobuf:"bytes,1,opt,name=self,proto3" json:"self,omitempty"` Related string `protobuf:"bytes,2,opt,name=related,proto3" json:"related,omitempty"` Next string `protobuf:"bytes,3,opt,name=next,proto3" json:"next,omitempty"` Last string `protobuf:"bytes,4,opt,name=last,proto3" json:"last,omitempty"` // contains filtered or unexported fields }
func (*KitsuAnimeLinks) Descriptor
deprecated
func (*KitsuAnimeLinks) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeLinks.ProtoReflect.Descriptor instead.
func (*KitsuAnimeLinks) GetLast ¶
func (x *KitsuAnimeLinks) GetLast() string
func (*KitsuAnimeLinks) GetNext ¶
func (x *KitsuAnimeLinks) GetNext() string
func (*KitsuAnimeLinks) GetRelated ¶
func (x *KitsuAnimeLinks) GetRelated() string
func (*KitsuAnimeLinks) GetSelf ¶
func (x *KitsuAnimeLinks) GetSelf() string
func (*KitsuAnimeLinks) ProtoMessage ¶
func (*KitsuAnimeLinks) ProtoMessage()
func (*KitsuAnimeLinks) ProtoReflect ¶
func (x *KitsuAnimeLinks) ProtoReflect() protoreflect.Message
func (*KitsuAnimeLinks) QueryString ¶
func (u *KitsuAnimeLinks) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeLinks
func (*KitsuAnimeLinks) Reset ¶
func (x *KitsuAnimeLinks) Reset()
func (*KitsuAnimeLinks) String ¶
func (x *KitsuAnimeLinks) String() string
func (*KitsuAnimeLinks) Validate ¶
func (this *KitsuAnimeLinks) Validate() error
type KitsuAnimeListRequest ¶
type KitsuAnimeListRequest struct { // page[limit], page[offset] Page map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*KitsuAnimeListRequest) Descriptor
deprecated
func (*KitsuAnimeListRequest) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeListRequest.ProtoReflect.Descriptor instead.
func (*KitsuAnimeListRequest) GetPage ¶
func (x *KitsuAnimeListRequest) GetPage() map[string]string
func (*KitsuAnimeListRequest) ProtoMessage ¶
func (*KitsuAnimeListRequest) ProtoMessage()
func (*KitsuAnimeListRequest) ProtoReflect ¶
func (x *KitsuAnimeListRequest) ProtoReflect() protoreflect.Message
func (*KitsuAnimeListRequest) QueryString ¶
func (u *KitsuAnimeListRequest) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeListRequest
func (*KitsuAnimeListRequest) Reset ¶
func (x *KitsuAnimeListRequest) Reset()
func (*KitsuAnimeListRequest) String ¶
func (x *KitsuAnimeListRequest) String() string
func (*KitsuAnimeListRequest) Validate ¶
func (this *KitsuAnimeListRequest) Validate() error
type KitsuAnimeListResponse ¶
type KitsuAnimeListResponse struct { ContentSource ContentSource `protobuf:"varint,1,opt,name=contentSource,proto3,enum=myservice.ContentSource" json:"contentSource,omitempty"` // Data []*KitsuAnimeItem `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*KitsuAnimeListResponse) Descriptor
deprecated
func (*KitsuAnimeListResponse) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeListResponse.ProtoReflect.Descriptor instead.
func (*KitsuAnimeListResponse) GetContentSource ¶
func (x *KitsuAnimeListResponse) GetContentSource() ContentSource
func (*KitsuAnimeListResponse) GetData ¶
func (x *KitsuAnimeListResponse) GetData() []*KitsuAnimeItem
func (*KitsuAnimeListResponse) ProtoMessage ¶
func (*KitsuAnimeListResponse) ProtoMessage()
func (*KitsuAnimeListResponse) ProtoReflect ¶
func (x *KitsuAnimeListResponse) ProtoReflect() protoreflect.Message
func (*KitsuAnimeListResponse) QueryString ¶
func (u *KitsuAnimeListResponse) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeListResponse
func (*KitsuAnimeListResponse) Reset ¶
func (x *KitsuAnimeListResponse) Reset()
func (*KitsuAnimeListResponse) String ¶
func (x *KitsuAnimeListResponse) String() string
func (*KitsuAnimeListResponse) Validate ¶
func (this *KitsuAnimeListResponse) Validate() error
type KitsuAnimeRelationKitsuAnimeItemItem ¶
type KitsuAnimeRelationKitsuAnimeItemItem struct { Links *KitsuAnimeLinks `protobuf:"bytes,1,opt,name=links,proto3" json:"links,omitempty"` // contains filtered or unexported fields }
func (*KitsuAnimeRelationKitsuAnimeItemItem) Descriptor
deprecated
func (*KitsuAnimeRelationKitsuAnimeItemItem) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeRelationKitsuAnimeItemItem.ProtoReflect.Descriptor instead.
func (*KitsuAnimeRelationKitsuAnimeItemItem) GetLinks ¶
func (x *KitsuAnimeRelationKitsuAnimeItemItem) GetLinks() *KitsuAnimeLinks
func (*KitsuAnimeRelationKitsuAnimeItemItem) ProtoMessage ¶
func (*KitsuAnimeRelationKitsuAnimeItemItem) ProtoMessage()
func (*KitsuAnimeRelationKitsuAnimeItemItem) ProtoReflect ¶
func (x *KitsuAnimeRelationKitsuAnimeItemItem) ProtoReflect() protoreflect.Message
func (*KitsuAnimeRelationKitsuAnimeItemItem) QueryString ¶
func (u *KitsuAnimeRelationKitsuAnimeItemItem) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationKitsuAnimeItemItem) Reset ¶
func (x *KitsuAnimeRelationKitsuAnimeItemItem) Reset()
func (*KitsuAnimeRelationKitsuAnimeItemItem) String ¶
func (x *KitsuAnimeRelationKitsuAnimeItemItem) String() string
func (*KitsuAnimeRelationKitsuAnimeItemItem) Validate ¶
func (this *KitsuAnimeRelationKitsuAnimeItemItem) Validate() error
type KitsuAnimeRelationships ¶
type KitsuAnimeRelationships struct { Genres *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,1,opt,name=genres,proto3" json:"genres,omitempty"` Categories *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,2,opt,name=categories,proto3" json:"categories,omitempty"` Castings *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,3,opt,name=castings,proto3" json:"castings,omitempty"` Installments *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,4,opt,name=installments,proto3" json:"installments,omitempty"` Mappings *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,5,opt,name=mappings,proto3" json:"mappings,omitempty"` Reviews *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,6,opt,name=reviews,proto3" json:"reviews,omitempty"` MediaRelationships *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,7,opt,name=mediaRelationships,proto3" json:"mediaRelationships,omitempty"` Characters *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,8,opt,name=characters,proto3" json:"characters,omitempty"` Staff *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,9,opt,name=staff,proto3" json:"staff,omitempty"` Productions *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,10,opt,name=productions,proto3" json:"productions,omitempty"` Quotes *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,11,opt,name=quotes,proto3" json:"quotes,omitempty"` Episodes *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,12,opt,name=episodes,proto3" json:"episodes,omitempty"` StreamingLinks *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,13,opt,name=streamingLinks,proto3" json:"streamingLinks,omitempty"` AnimeProductions *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,14,opt,name=animeProductions,proto3" json:"animeProductions,omitempty"` AnimeCharacters *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,15,opt,name=animeCharacters,proto3" json:"animeCharacters,omitempty"` AnimeStaff *KitsuAnimeRelationKitsuAnimeItemItem `protobuf:"bytes,16,opt,name=animeStaff,proto3" json:"animeStaff,omitempty"` // contains filtered or unexported fields }
func (*KitsuAnimeRelationships) Descriptor
deprecated
func (*KitsuAnimeRelationships) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeRelationships.ProtoReflect.Descriptor instead.
func (*KitsuAnimeRelationships) GetAnimeCharacters ¶
func (x *KitsuAnimeRelationships) GetAnimeCharacters() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetAnimeProductions ¶
func (x *KitsuAnimeRelationships) GetAnimeProductions() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetAnimeStaff ¶
func (x *KitsuAnimeRelationships) GetAnimeStaff() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetCastings ¶
func (x *KitsuAnimeRelationships) GetCastings() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetCategories ¶
func (x *KitsuAnimeRelationships) GetCategories() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetCharacters ¶
func (x *KitsuAnimeRelationships) GetCharacters() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetEpisodes ¶
func (x *KitsuAnimeRelationships) GetEpisodes() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetGenres ¶
func (x *KitsuAnimeRelationships) GetGenres() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetInstallments ¶
func (x *KitsuAnimeRelationships) GetInstallments() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetMappings ¶
func (x *KitsuAnimeRelationships) GetMappings() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetMediaRelationships ¶
func (x *KitsuAnimeRelationships) GetMediaRelationships() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetProductions ¶
func (x *KitsuAnimeRelationships) GetProductions() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetQuotes ¶
func (x *KitsuAnimeRelationships) GetQuotes() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetReviews ¶
func (x *KitsuAnimeRelationships) GetReviews() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetStaff ¶
func (x *KitsuAnimeRelationships) GetStaff() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) GetStreamingLinks ¶
func (x *KitsuAnimeRelationships) GetStreamingLinks() *KitsuAnimeRelationKitsuAnimeItemItem
func (*KitsuAnimeRelationships) ProtoMessage ¶
func (*KitsuAnimeRelationships) ProtoMessage()
func (*KitsuAnimeRelationships) ProtoReflect ¶
func (x *KitsuAnimeRelationships) ProtoReflect() protoreflect.Message
func (*KitsuAnimeRelationships) QueryString ¶
func (u *KitsuAnimeRelationships) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeRelationships
func (*KitsuAnimeRelationships) Reset ¶
func (x *KitsuAnimeRelationships) Reset()
func (*KitsuAnimeRelationships) String ¶
func (x *KitsuAnimeRelationships) String() string
func (*KitsuAnimeRelationships) Validate ¶
func (this *KitsuAnimeRelationships) Validate() error
type KitsuAnimeRequest ¶
type KitsuAnimeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*KitsuAnimeRequest) Descriptor
deprecated
func (*KitsuAnimeRequest) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeRequest.ProtoReflect.Descriptor instead.
func (*KitsuAnimeRequest) GetId ¶
func (x *KitsuAnimeRequest) GetId() string
func (*KitsuAnimeRequest) ProtoMessage ¶
func (*KitsuAnimeRequest) ProtoMessage()
func (*KitsuAnimeRequest) ProtoReflect ¶
func (x *KitsuAnimeRequest) ProtoReflect() protoreflect.Message
func (*KitsuAnimeRequest) QueryString ¶
func (u *KitsuAnimeRequest) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeRequest
func (*KitsuAnimeRequest) Reset ¶
func (x *KitsuAnimeRequest) Reset()
func (*KitsuAnimeRequest) String ¶
func (x *KitsuAnimeRequest) String() string
func (*KitsuAnimeRequest) Validate ¶
func (this *KitsuAnimeRequest) Validate() error
type KitsuAnimeResponse ¶
type KitsuAnimeResponse struct { ContentSource ContentSource `protobuf:"varint,1,opt,name=contentSource,proto3,enum=myservice.ContentSource" json:"contentSource,omitempty"` // Data *KitsuAnimeItem `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*KitsuAnimeResponse) Descriptor
deprecated
func (*KitsuAnimeResponse) Descriptor() ([]byte, []int)
Deprecated: Use KitsuAnimeResponse.ProtoReflect.Descriptor instead.
func (*KitsuAnimeResponse) GetContentSource ¶
func (x *KitsuAnimeResponse) GetContentSource() ContentSource
func (*KitsuAnimeResponse) GetData ¶
func (x *KitsuAnimeResponse) GetData() *KitsuAnimeItem
func (*KitsuAnimeResponse) ProtoMessage ¶
func (*KitsuAnimeResponse) ProtoMessage()
func (*KitsuAnimeResponse) ProtoReflect ¶
func (x *KitsuAnimeResponse) ProtoReflect() protoreflect.Message
func (*KitsuAnimeResponse) QueryString ¶
func (u *KitsuAnimeResponse) QueryString() url.Values
QueryString returns http url.Values of KitsuAnimeResponse
func (*KitsuAnimeResponse) Reset ¶
func (x *KitsuAnimeResponse) Reset()
func (*KitsuAnimeResponse) String ¶
func (x *KitsuAnimeResponse) String() string
func (*KitsuAnimeResponse) Validate ¶
func (this *KitsuAnimeResponse) Validate() error
type KitsuServiceClient ¶
type KitsuServiceClient interface { GetAnimeList(ctx context.Context, in *KitsuAnimeListRequest, opts ...grpc.CallOption) (*KitsuAnimeListResponse, error) GetAnime(ctx context.Context, in *KitsuAnimeRequest, opts ...grpc.CallOption) (*KitsuAnimeResponse, error) }
KitsuServiceClient is the client API for KitsuService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewKitsuServiceClient ¶
func NewKitsuServiceClient(cc grpc.ClientConnInterface) KitsuServiceClient
type KitsuServiceHTTPClient ¶
type KitsuServiceHTTPClient struct {
lib.HTTPClientService
}
KitsuServiceHTTPClient is http service client.
func NewKitsuServiceHTTPClient ¶
func NewKitsuServiceHTTPClient(baseURL string, client *http.Client, addt ...lib.HTTPServiceConstructorArg) (s *KitsuServiceHTTPClient)
NewKitsuServiceHTTPClient returns KitsuServiceHTTPClient
func (*KitsuServiceHTTPClient) GetAnime ¶
func (c *KitsuServiceHTTPClient) GetAnime(ctx context.Context, in *KitsuAnimeRequest, opts ...grpc.CallOption) (out *KitsuAnimeResponse, err error)
GetAnime returns KitsuAnimeResponse
func (*KitsuServiceHTTPClient) GetAnimeList ¶
func (c *KitsuServiceHTTPClient) GetAnimeList(ctx context.Context, in *KitsuAnimeListRequest, opts ...grpc.CallOption) (out *KitsuAnimeListResponse, err error)
GetAnimeList returns KitsuAnimeListResponse
type KitsuServiceServer ¶
type KitsuServiceServer interface { GetAnimeList(context.Context, *KitsuAnimeListRequest) (*KitsuAnimeListResponse, error) GetAnime(context.Context, *KitsuAnimeRequest) (*KitsuAnimeResponse, error) // contains filtered or unexported methods }
KitsuServiceServer is the server API for KitsuService service. All implementations must embed UnimplementedKitsuServiceServer for forward compatibility
type UnimplementedKitsuServiceServer ¶
type UnimplementedKitsuServiceServer struct { }
UnimplementedKitsuServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedKitsuServiceServer) GetAnime ¶
func (UnimplementedKitsuServiceServer) GetAnime(context.Context, *KitsuAnimeRequest) (*KitsuAnimeResponse, error)
func (UnimplementedKitsuServiceServer) GetAnimeList ¶
func (UnimplementedKitsuServiceServer) GetAnimeList(context.Context, *KitsuAnimeListRequest) (*KitsuAnimeListResponse, error)
type UnsafeKitsuServiceServer ¶
type UnsafeKitsuServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKitsuServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KitsuServiceServer will result in compilation errors.