Documentation ¶
Index ¶
- type InfoServer
- func (server *InfoServer) CreateActors(ctx context.Context, req *nfpbv1.CreateActorsRequest) (*nfpbv1.CreateActorsResponse, error)
- func (server *InfoServer) CreateGenres(ctx context.Context, req *nfpbv1.CreateGenresRequest) (*nfpbv1.CreateGenresResponse, error)
- func (server *InfoServer) CreateLanguages(ctx context.Context, req *nfpbv1.CreateLanguagesRequest) (*nfpbv1.CreateLanguagesResponse, error)
- func (server *InfoServer) CreateStudios(ctx context.Context, req *nfpbv1.CreateStudiosRequest) (*nfpbv1.CreateStudiosResponse, error)
- func (server *InfoServer) GetAllActors(ctx context.Context, req *nfpbv1.GetAllActorsRequest) (*nfpbv1.GetAllActorsResponse, error)
- func (server *InfoServer) GetAllGenres(ctx context.Context, req *nfpbv1.GetAllGenresRequest) (*nfpbv1.GetAllGenresResponse, error)
- func (server *InfoServer) GetAllLanguages(ctx context.Context, req *nfpbv1.GetAllLanguagesRequest) (*nfpbv1.GetAllLanguagesResponse, error)
- func (server *InfoServer) GetAllStudios(ctx context.Context, req *nfpbv1.GetAllStudiosRequest) (*nfpbv1.GetAllStudiosResponse, error)
- func (server *InfoServer) UpdateActor(ctx context.Context, req *nfpbv1.UpdateActorRequest) (*nfpbv1.UpdateActorResponse, error)
- func (server *InfoServer) UpdateGenre(ctx context.Context, req *nfpbv1.UpdateGenreRequest) (*nfpbv1.UpdateGenreResponse, error)
- func (server *InfoServer) UpdateLanguage(ctx context.Context, req *nfpbv1.UpdateLanguageRequest) (*nfpbv1.UpdateLanguageResponse, error)
- func (server *InfoServer) UpdateStudio(ctx context.Context, req *nfpbv1.UpdateStudioRequest) (*nfpbv1.UpdateStudioResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfoServer ¶
type InfoServer struct { nfpbv1.UnimplementedInfoServiceServer // contains filtered or unexported fields }
InfoServer serves gRPC requests for Info endpoints.
func NewInfoServer ¶
func NewInfoServer(gojo db.Gojo, tokenMaker token.Maker) *InfoServer
func (*InfoServer) CreateActors ¶
func (server *InfoServer) CreateActors(ctx context.Context, req *nfpbv1.CreateActorsRequest) (*nfpbv1.CreateActorsResponse, error)
func (*InfoServer) CreateGenres ¶
func (server *InfoServer) CreateGenres(ctx context.Context, req *nfpbv1.CreateGenresRequest) (*nfpbv1.CreateGenresResponse, error)
func (*InfoServer) CreateLanguages ¶
func (server *InfoServer) CreateLanguages(ctx context.Context, req *nfpbv1.CreateLanguagesRequest) (*nfpbv1.CreateLanguagesResponse, error)
func (*InfoServer) CreateStudios ¶
func (server *InfoServer) CreateStudios(ctx context.Context, req *nfpbv1.CreateStudiosRequest) (*nfpbv1.CreateStudiosResponse, error)
func (*InfoServer) GetAllActors ¶
func (server *InfoServer) GetAllActors(ctx context.Context, req *nfpbv1.GetAllActorsRequest) (*nfpbv1.GetAllActorsResponse, error)
func (*InfoServer) GetAllGenres ¶
func (server *InfoServer) GetAllGenres(ctx context.Context, req *nfpbv1.GetAllGenresRequest) (*nfpbv1.GetAllGenresResponse, error)
func (*InfoServer) GetAllLanguages ¶
func (server *InfoServer) GetAllLanguages(ctx context.Context, req *nfpbv1.GetAllLanguagesRequest) (*nfpbv1.GetAllLanguagesResponse, error)
func (*InfoServer) GetAllStudios ¶
func (server *InfoServer) GetAllStudios(ctx context.Context, req *nfpbv1.GetAllStudiosRequest) (*nfpbv1.GetAllStudiosResponse, error)
func (*InfoServer) UpdateActor ¶
func (server *InfoServer) UpdateActor(ctx context.Context, req *nfpbv1.UpdateActorRequest) (*nfpbv1.UpdateActorResponse, error)
func (*InfoServer) UpdateGenre ¶
func (server *InfoServer) UpdateGenre(ctx context.Context, req *nfpbv1.UpdateGenreRequest) (*nfpbv1.UpdateGenreResponse, error)
func (*InfoServer) UpdateLanguage ¶
func (server *InfoServer) UpdateLanguage(ctx context.Context, req *nfpbv1.UpdateLanguageRequest) (*nfpbv1.UpdateLanguageResponse, error)
func (*InfoServer) UpdateStudio ¶
func (server *InfoServer) UpdateStudio(ctx context.Context, req *nfpbv1.UpdateStudioRequest) (*nfpbv1.UpdateStudioResponse, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.