Documentation
¶
Index ¶
- func RegisterAnimeServiceHandler(s server.Server, hdlr AnimeServiceHandler, opts ...server.HandlerOption) error
- type Anime
- func (*Anime) Descriptor() ([]byte, []int)
- func (m *Anime) GetEpisodes() int32
- func (m *Anime) GetId() string
- func (m *Anime) GetPicture() string
- func (m *Anime) GetRelations() []string
- func (m *Anime) GetSources() []string
- func (m *Anime) GetStatus() string
- func (m *Anime) GetSynonyms() []string
- func (m *Anime) GetThumbnail() string
- func (m *Anime) GetTitle() string
- func (m *Anime) GetType() string
- func (*Anime) ProtoMessage()
- func (m *Anime) Reset()
- func (m *Anime) String() string
- func (m *Anime) XXX_DiscardUnknown()
- func (m *Anime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Anime) XXX_Merge(src proto.Message)
- func (m *Anime) XXX_Size() int
- func (m *Anime) XXX_Unmarshal(b []byte) error
- type AnimeService
- type AnimeServiceHandler
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetAnimeId() string
- func (m *Request) GetTitle() string
- func (m *Request) GetType() string
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type Results
- func (*Results) Descriptor() ([]byte, []int)
- func (m *Results) GetAnimes() []*Anime
- func (*Results) ProtoMessage()
- func (m *Results) Reset()
- func (m *Results) String() string
- func (m *Results) XXX_DiscardUnknown()
- func (m *Results) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Results) XXX_Merge(src proto.Message)
- func (m *Results) XXX_Size() int
- func (m *Results) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAnimeServiceHandler ¶
func RegisterAnimeServiceHandler(s server.Server, hdlr AnimeServiceHandler, opts ...server.HandlerOption) error
Types ¶
type Anime ¶
type Anime struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` Sources []string `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Episodes int32 `protobuf:"varint,5,opt,name=episodes,proto3" json:"episodes,omitempty"` Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` Picture string `protobuf:"bytes,7,opt,name=picture,proto3" json:"picture,omitempty"` Thumbnail string `protobuf:"bytes,8,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` Synonyms []string `protobuf:"bytes,9,rep,name=synonyms,proto3" json:"synonyms,omitempty"` Relations []string `protobuf:"bytes,10,rep,name=relations,proto3" json:"relations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Anime) Descriptor ¶
func (*Anime) GetEpisodes ¶
func (*Anime) GetPicture ¶
func (*Anime) GetRelations ¶
func (*Anime) GetSources ¶
func (*Anime) GetSynonyms ¶
func (*Anime) GetThumbnail ¶
func (*Anime) ProtoMessage ¶
func (*Anime) ProtoMessage()
func (*Anime) XXX_DiscardUnknown ¶
func (m *Anime) XXX_DiscardUnknown()
func (*Anime) XXX_Marshal ¶
func (*Anime) XXX_Unmarshal ¶
type AnimeService ¶
type AnimeService interface { GetAnimes(ctx context.Context, in *Request, opts ...client.CallOption) (*Results, error) GetAll(ctx context.Context, in *Request, opts ...client.CallOption) (*Results, error) }
func NewAnimeService ¶
func NewAnimeService(name string, c client.Client) AnimeService
type AnimeServiceHandler ¶
type Request ¶
type Request struct { AnimeId string `protobuf:"bytes,1,opt,name=animeId,proto3" json:"animeId,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Request) Descriptor ¶
func (*Request) GetAnimeId ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type Results ¶
type Results struct { Animes []*Anime `protobuf:"bytes,1,rep,name=animes,proto3" json:"animes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Results) Descriptor ¶
func (*Results) ProtoMessage ¶
func (*Results) ProtoMessage()
func (*Results) XXX_DiscardUnknown ¶
func (m *Results) XXX_DiscardUnknown()
func (*Results) XXX_Marshal ¶
func (*Results) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.