Documentation ¶
Index ¶
- func ConvertAnimeCharacter(v db.AnimeCharacter) *apbv1.AnimeCharacterResponse
- func ConvertAnimeImages(v []db.AnimeImage) []*apbv1.ImageResponse
- func ConvertAnimeLink(v db.AnimeLink) *apbv1.AnimeLinkResponse
- func ConvertAnimeResource(v db.AnimeResource) *apbv1.AnimeResourceResponse
- func ConvertAnimeTags(v []db.AnimeTag) []*apbv1.AnimeTag
- func ConvertAnimeTrailers(v []db.AnimeTrailer) []*apbv1.AnimeTrailerResponse
- type AnimeServer
- func (server *AnimeServer) UpdateAnimeCharacter(ctx context.Context, req *apbv1.UpdateAnimeCharacterRequest) (*apbv1.UpdateAnimeCharacterResponse, error)
- func (server *AnimeServer) UpdateAnimeImage(ctx context.Context, req *apbv1.UpdateAnimeImageRequest) (*apbv1.UpdateAnimeImageResponse, error)
- func (server *AnimeServer) UpdateAnimeTag(ctx context.Context, req *apbv1.UpdateAnimeTagRequest) (*apbv1.UpdateAnimeTagResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAnimeCharacter ¶
func ConvertAnimeCharacter(v db.AnimeCharacter) *apbv1.AnimeCharacterResponse
func ConvertAnimeImages ¶
func ConvertAnimeImages(v []db.AnimeImage) []*apbv1.ImageResponse
func ConvertAnimeLink ¶
func ConvertAnimeLink(v db.AnimeLink) *apbv1.AnimeLinkResponse
func ConvertAnimeResource ¶
func ConvertAnimeResource(v db.AnimeResource) *apbv1.AnimeResourceResponse
func ConvertAnimeTrailers ¶
func ConvertAnimeTrailers(v []db.AnimeTrailer) []*apbv1.AnimeTrailerResponse
Types ¶
type AnimeServer ¶
type AnimeServer struct { apbv1.UnimplementedAnimeServiceServer // contains filtered or unexported fields }
AnimeServer serves gRPC requests for Anime endpoints.
func NewAnimeServer ¶
func NewAnimeServer(gojo db.Gojo, tokenMaker token.Maker) *AnimeServer
func (*AnimeServer) UpdateAnimeCharacter ¶
func (server *AnimeServer) UpdateAnimeCharacter(ctx context.Context, req *apbv1.UpdateAnimeCharacterRequest) (*apbv1.UpdateAnimeCharacterResponse, error)
func (*AnimeServer) UpdateAnimeImage ¶
func (server *AnimeServer) UpdateAnimeImage(ctx context.Context, req *apbv1.UpdateAnimeImageRequest) (*apbv1.UpdateAnimeImageResponse, error)
func (*AnimeServer) UpdateAnimeTag ¶
func (server *AnimeServer) UpdateAnimeTag(ctx context.Context, req *apbv1.UpdateAnimeTagRequest) (*apbv1.UpdateAnimeTagResponse, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.