Documentation
¶
Index ¶
- func RegisterGenreServiceHandler(s server.Server, hdlr GenreServiceHandler, opts ...server.HandlerOption) error
- func RegisterLanguageServiceHandler(s server.Server, hdlr LanguageServiceHandler, opts ...server.HandlerOption) error
- func RegisterMovieServiceHandler(s server.Server, hdlr MovieServiceHandler, opts ...server.HandlerOption) error
- func RegisterPermissionServiceHandler(s server.Server, hdlr PermissionServiceHandler, opts ...server.HandlerOption) error
- func RegisterUserServiceHandler(s server.Server, hdlr UserServiceHandler, opts ...server.HandlerOption) error
- type DatabaseEmpty
- func (*DatabaseEmpty) Descriptor() ([]byte, []int)
- func (*DatabaseEmpty) ProtoMessage()
- func (m *DatabaseEmpty) Reset()
- func (m *DatabaseEmpty) String() string
- func (m *DatabaseEmpty) XXX_DiscardUnknown()
- func (m *DatabaseEmpty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatabaseEmpty) XXX_Merge(src proto.Message)
- func (m *DatabaseEmpty) XXX_Size() int
- func (m *DatabaseEmpty) XXX_Unmarshal(b []byte) error
- type DatabaseID
- func (*DatabaseID) Descriptor() ([]byte, []int)
- func (m *DatabaseID) GetValue() uint64
- func (*DatabaseID) ProtoMessage()
- func (m *DatabaseID) Reset()
- func (m *DatabaseID) String() string
- func (m *DatabaseID) XXX_DiscardUnknown()
- func (m *DatabaseID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatabaseID) XXX_Merge(src proto.Message)
- func (m *DatabaseID) XXX_Size() int
- func (m *DatabaseID) XXX_Unmarshal(b []byte) error
- type DatabaseIDs
- func (*DatabaseIDs) Descriptor() ([]byte, []int)
- func (m *DatabaseIDs) GetValues() []uint64
- func (*DatabaseIDs) ProtoMessage()
- func (m *DatabaseIDs) Reset()
- func (m *DatabaseIDs) String() string
- func (m *DatabaseIDs) XXX_DiscardUnknown()
- func (m *DatabaseIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatabaseIDs) XXX_Merge(src proto.Message)
- func (m *DatabaseIDs) XXX_Size() int
- func (m *DatabaseIDs) XXX_Unmarshal(b []byte) error
- type DatabaseResponse
- func (*DatabaseResponse) Descriptor() ([]byte, []int)
- func (m *DatabaseResponse) GetResult() []byte
- func (*DatabaseResponse) ProtoMessage()
- func (m *DatabaseResponse) Reset()
- func (m *DatabaseResponse) String() string
- func (m *DatabaseResponse) XXX_DiscardUnknown()
- func (m *DatabaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatabaseResponse) XXX_Merge(src proto.Message)
- func (m *DatabaseResponse) XXX_Size() int
- func (m *DatabaseResponse) XXX_Unmarshal(b []byte) error
- type DatabaseString
- func (*DatabaseString) Descriptor() ([]byte, []int)
- func (m *DatabaseString) GetValue() string
- func (*DatabaseString) ProtoMessage()
- func (m *DatabaseString) Reset()
- func (m *DatabaseString) String() string
- func (m *DatabaseString) XXX_DiscardUnknown()
- func (m *DatabaseString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatabaseString) XXX_Merge(src proto.Message)
- func (m *DatabaseString) XXX_Size() int
- func (m *DatabaseString) XXX_Unmarshal(b []byte) error
- type DatabaseStrings
- func (*DatabaseStrings) Descriptor() ([]byte, []int)
- func (m *DatabaseStrings) GetValues() []string
- func (*DatabaseStrings) ProtoMessage()
- func (m *DatabaseStrings) Reset()
- func (m *DatabaseStrings) String() string
- func (m *DatabaseStrings) XXX_DiscardUnknown()
- func (m *DatabaseStrings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatabaseStrings) XXX_Merge(src proto.Message)
- func (m *DatabaseStrings) XXX_Size() int
- func (m *DatabaseStrings) XXX_Unmarshal(b []byte) error
- type Genre
- func (*Genre) Descriptor() ([]byte, []int)
- func (m *Genre) GetCreatedAt() int64
- func (m *Genre) GetId() uint64
- func (m *Genre) GetName() string
- func (m *Genre) GetUpdatedAt() int64
- func (m *Genre) GetUpdatedFields() []string
- func (*Genre) ProtoMessage()
- func (m *Genre) Reset()
- func (m *Genre) String() string
- func (m *Genre) XXX_DiscardUnknown()
- func (m *Genre) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Genre) XXX_Merge(src proto.Message)
- func (m *Genre) XXX_Size() int
- func (m *Genre) XXX_Unmarshal(b []byte) error
- type GenreService
- type GenreServiceHandler
- type Language
- func (*Language) Descriptor() ([]byte, []int)
- func (m *Language) GetCreatedAt() int64
- func (m *Language) GetEnglishName() string
- func (m *Language) GetId() uint64
- func (m *Language) GetIso() string
- func (m *Language) GetName() string
- func (m *Language) GetUpdatedAt() int64
- func (m *Language) GetUpdatedFields() []string
- func (*Language) ProtoMessage()
- func (m *Language) Reset()
- func (m *Language) String() string
- func (m *Language) XXX_DiscardUnknown()
- func (m *Language) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Language) XXX_Merge(src proto.Message)
- func (m *Language) XXX_Size() int
- func (m *Language) XXX_Unmarshal(b []byte) error
- type LanguageService
- type LanguageServiceHandler
- type Movie
- func (*Movie) Descriptor() ([]byte, []int)
- func (m *Movie) GetAdult() bool
- func (m *Movie) GetBackdrop() string
- func (m *Movie) GetBudget() uint64
- func (m *Movie) GetCreatedAt() int64
- func (m *Movie) GetGenres() []byte
- func (m *Movie) GetHomepage() string
- func (m *Movie) GetId() uint64
- func (m *Movie) GetImdbId() string
- func (m *Movie) GetLanguages() []byte
- func (m *Movie) GetLocalTitle() string
- func (m *Movie) GetOriginalLanguage() string
- func (m *Movie) GetOriginalTitle() string
- func (m *Movie) GetOverview() string
- func (m *Movie) GetPopularity() float64
- func (m *Movie) GetPoster() string
- func (m *Movie) GetProductionCompanies() []byte
- func (m *Movie) GetProductionCountries() []byte
- func (m *Movie) GetReleaseDate() string
- func (m *Movie) GetRevenue() uint64
- func (m *Movie) GetRuntime() uint64
- func (m *Movie) GetStatus() uint64
- func (m *Movie) GetTagline() string
- func (m *Movie) GetTitle() string
- func (m *Movie) GetUpdatedAt() int64
- func (m *Movie) GetUpdatedFields() []string
- func (m *Movie) GetVoteAverage() float64
- func (m *Movie) GetVoteCount() uint64
- func (*Movie) ProtoMessage()
- func (m *Movie) Reset()
- func (m *Movie) String() string
- func (m *Movie) XXX_DiscardUnknown()
- func (m *Movie) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Movie) XXX_Merge(src proto.Message)
- func (m *Movie) XXX_Size() int
- func (m *Movie) XXX_Unmarshal(b []byte) error
- type MovieService
- type MovieServiceHandler
- type PermissionService
- type PermissionServiceHandler
- type UserService
- type UserServiceHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGenreServiceHandler ¶
func RegisterGenreServiceHandler(s server.Server, hdlr GenreServiceHandler, opts ...server.HandlerOption) error
func RegisterLanguageServiceHandler ¶
func RegisterLanguageServiceHandler(s server.Server, hdlr LanguageServiceHandler, opts ...server.HandlerOption) error
func RegisterMovieServiceHandler ¶
func RegisterMovieServiceHandler(s server.Server, hdlr MovieServiceHandler, opts ...server.HandlerOption) error
func RegisterPermissionServiceHandler ¶
func RegisterPermissionServiceHandler(s server.Server, hdlr PermissionServiceHandler, opts ...server.HandlerOption) error
func RegisterUserServiceHandler ¶
func RegisterUserServiceHandler(s server.Server, hdlr UserServiceHandler, opts ...server.HandlerOption) error
Types ¶
type DatabaseEmpty ¶
type DatabaseEmpty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DatabaseEmpty) Descriptor ¶
func (*DatabaseEmpty) Descriptor() ([]byte, []int)
func (*DatabaseEmpty) ProtoMessage ¶
func (*DatabaseEmpty) ProtoMessage()
func (*DatabaseEmpty) Reset ¶
func (m *DatabaseEmpty) Reset()
func (*DatabaseEmpty) String ¶
func (m *DatabaseEmpty) String() string
func (*DatabaseEmpty) XXX_DiscardUnknown ¶
func (m *DatabaseEmpty) XXX_DiscardUnknown()
func (*DatabaseEmpty) XXX_Marshal ¶
func (m *DatabaseEmpty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatabaseEmpty) XXX_Merge ¶
func (m *DatabaseEmpty) XXX_Merge(src proto.Message)
func (*DatabaseEmpty) XXX_Size ¶
func (m *DatabaseEmpty) XXX_Size() int
func (*DatabaseEmpty) XXX_Unmarshal ¶
func (m *DatabaseEmpty) XXX_Unmarshal(b []byte) error
type DatabaseID ¶
type DatabaseID struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DatabaseID) Descriptor ¶
func (*DatabaseID) Descriptor() ([]byte, []int)
func (*DatabaseID) GetValue ¶
func (m *DatabaseID) GetValue() uint64
func (*DatabaseID) ProtoMessage ¶
func (*DatabaseID) ProtoMessage()
func (*DatabaseID) Reset ¶
func (m *DatabaseID) Reset()
func (*DatabaseID) String ¶
func (m *DatabaseID) String() string
func (*DatabaseID) XXX_DiscardUnknown ¶
func (m *DatabaseID) XXX_DiscardUnknown()
func (*DatabaseID) XXX_Marshal ¶
func (m *DatabaseID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatabaseID) XXX_Merge ¶
func (m *DatabaseID) XXX_Merge(src proto.Message)
func (*DatabaseID) XXX_Size ¶
func (m *DatabaseID) XXX_Size() int
func (*DatabaseID) XXX_Unmarshal ¶
func (m *DatabaseID) XXX_Unmarshal(b []byte) error
type DatabaseIDs ¶
type DatabaseIDs struct { Values []uint64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DatabaseIDs) Descriptor ¶
func (*DatabaseIDs) Descriptor() ([]byte, []int)
func (*DatabaseIDs) GetValues ¶
func (m *DatabaseIDs) GetValues() []uint64
func (*DatabaseIDs) ProtoMessage ¶
func (*DatabaseIDs) ProtoMessage()
func (*DatabaseIDs) Reset ¶
func (m *DatabaseIDs) Reset()
func (*DatabaseIDs) String ¶
func (m *DatabaseIDs) String() string
func (*DatabaseIDs) XXX_DiscardUnknown ¶
func (m *DatabaseIDs) XXX_DiscardUnknown()
func (*DatabaseIDs) XXX_Marshal ¶
func (m *DatabaseIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatabaseIDs) XXX_Merge ¶
func (m *DatabaseIDs) XXX_Merge(src proto.Message)
func (*DatabaseIDs) XXX_Size ¶
func (m *DatabaseIDs) XXX_Size() int
func (*DatabaseIDs) XXX_Unmarshal ¶
func (m *DatabaseIDs) XXX_Unmarshal(b []byte) error
type DatabaseResponse ¶
type DatabaseResponse struct { Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DatabaseResponse) Descriptor ¶
func (*DatabaseResponse) Descriptor() ([]byte, []int)
func (*DatabaseResponse) GetResult ¶
func (m *DatabaseResponse) GetResult() []byte
func (*DatabaseResponse) ProtoMessage ¶
func (*DatabaseResponse) ProtoMessage()
func (*DatabaseResponse) Reset ¶
func (m *DatabaseResponse) Reset()
func (*DatabaseResponse) String ¶
func (m *DatabaseResponse) String() string
func (*DatabaseResponse) XXX_DiscardUnknown ¶
func (m *DatabaseResponse) XXX_DiscardUnknown()
func (*DatabaseResponse) XXX_Marshal ¶
func (m *DatabaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatabaseResponse) XXX_Merge ¶
func (m *DatabaseResponse) XXX_Merge(src proto.Message)
func (*DatabaseResponse) XXX_Size ¶
func (m *DatabaseResponse) XXX_Size() int
func (*DatabaseResponse) XXX_Unmarshal ¶
func (m *DatabaseResponse) XXX_Unmarshal(b []byte) error
type DatabaseString ¶
type DatabaseString struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DatabaseString) Descriptor ¶
func (*DatabaseString) Descriptor() ([]byte, []int)
func (*DatabaseString) GetValue ¶
func (m *DatabaseString) GetValue() string
func (*DatabaseString) ProtoMessage ¶
func (*DatabaseString) ProtoMessage()
func (*DatabaseString) Reset ¶
func (m *DatabaseString) Reset()
func (*DatabaseString) String ¶
func (m *DatabaseString) String() string
func (*DatabaseString) XXX_DiscardUnknown ¶
func (m *DatabaseString) XXX_DiscardUnknown()
func (*DatabaseString) XXX_Marshal ¶
func (m *DatabaseString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatabaseString) XXX_Merge ¶
func (m *DatabaseString) XXX_Merge(src proto.Message)
func (*DatabaseString) XXX_Size ¶
func (m *DatabaseString) XXX_Size() int
func (*DatabaseString) XXX_Unmarshal ¶
func (m *DatabaseString) XXX_Unmarshal(b []byte) error
type DatabaseStrings ¶
type DatabaseStrings struct { Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DatabaseStrings) Descriptor ¶
func (*DatabaseStrings) Descriptor() ([]byte, []int)
func (*DatabaseStrings) GetValues ¶
func (m *DatabaseStrings) GetValues() []string
func (*DatabaseStrings) ProtoMessage ¶
func (*DatabaseStrings) ProtoMessage()
func (*DatabaseStrings) Reset ¶
func (m *DatabaseStrings) Reset()
func (*DatabaseStrings) String ¶
func (m *DatabaseStrings) String() string
func (*DatabaseStrings) XXX_DiscardUnknown ¶
func (m *DatabaseStrings) XXX_DiscardUnknown()
func (*DatabaseStrings) XXX_Marshal ¶
func (m *DatabaseStrings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatabaseStrings) XXX_Merge ¶
func (m *DatabaseStrings) XXX_Merge(src proto.Message)
func (*DatabaseStrings) XXX_Size ¶
func (m *DatabaseStrings) XXX_Size() int
func (*DatabaseStrings) XXX_Unmarshal ¶
func (m *DatabaseStrings) XXX_Unmarshal(b []byte) error
type Genre ¶
type Genre struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedFields []string `protobuf:"bytes,5,rep,name=updated_fields,json=updatedFields,proto3" json:"updated_fields,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Genre) Descriptor ¶
func (*Genre) GetCreatedAt ¶
func (*Genre) GetUpdatedAt ¶
func (*Genre) GetUpdatedFields ¶
func (*Genre) ProtoMessage ¶
func (*Genre) ProtoMessage()
func (*Genre) XXX_DiscardUnknown ¶
func (m *Genre) XXX_DiscardUnknown()
func (*Genre) XXX_Marshal ¶
func (*Genre) XXX_Unmarshal ¶
type GenreService ¶
type GenreService interface { Create(ctx context.Context, in *Genre, opts ...client.CallOption) (*DatabaseResponse, error) Update(ctx context.Context, in *Genre, opts ...client.CallOption) (*DatabaseResponse, error) SoftDelete(ctx context.Context, in *Genre, opts ...client.CallOption) (*DatabaseResponse, error) ForceDelete(ctx context.Context, in *Genre, opts ...client.CallOption) (*DatabaseResponse, error) FindAll(ctx context.Context, in *DatabaseEmpty, opts ...client.CallOption) (*DatabaseResponse, error) FindOneByID(ctx context.Context, in *DatabaseID, opts ...client.CallOption) (*DatabaseResponse, error) FindManyByID(ctx context.Context, in *DatabaseIDs, opts ...client.CallOption) (*DatabaseResponse, error) FindOneByName(ctx context.Context, in *DatabaseString, opts ...client.CallOption) (*DatabaseResponse, error) FindManyByName(ctx context.Context, in *DatabaseStrings, opts ...client.CallOption) (*DatabaseResponse, error) }
func NewGenreService ¶
func NewGenreService(name string, c client.Client) GenreService
type GenreServiceHandler ¶
type GenreServiceHandler interface { Create(context.Context, *Genre, *DatabaseResponse) error Update(context.Context, *Genre, *DatabaseResponse) error SoftDelete(context.Context, *Genre, *DatabaseResponse) error ForceDelete(context.Context, *Genre, *DatabaseResponse) error FindAll(context.Context, *DatabaseEmpty, *DatabaseResponse) error FindOneByID(context.Context, *DatabaseID, *DatabaseResponse) error FindManyByID(context.Context, *DatabaseIDs, *DatabaseResponse) error FindOneByName(context.Context, *DatabaseString, *DatabaseResponse) error FindManyByName(context.Context, *DatabaseStrings, *DatabaseResponse) error }
type Language ¶
type Language struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Iso string `protobuf:"bytes,2,opt,name=iso,proto3" json:"iso,omitempty"` EnglishName string `protobuf:"bytes,3,opt,name=english_name,json=englishName,proto3" json:"english_name,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedFields []string `protobuf:"bytes,7,rep,name=updated_fields,json=updatedFields,proto3" json:"updated_fields,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Language) Descriptor ¶
func (*Language) GetCreatedAt ¶
func (*Language) GetEnglishName ¶
func (*Language) GetUpdatedAt ¶
func (*Language) GetUpdatedFields ¶
func (*Language) ProtoMessage ¶
func (*Language) ProtoMessage()
func (*Language) XXX_DiscardUnknown ¶
func (m *Language) XXX_DiscardUnknown()
func (*Language) XXX_Marshal ¶
func (*Language) XXX_Unmarshal ¶
type LanguageService ¶
type LanguageService interface { Create(ctx context.Context, in *Language, opts ...client.CallOption) (*DatabaseResponse, error) Update(ctx context.Context, in *Language, opts ...client.CallOption) (*DatabaseResponse, error) SoftDelete(ctx context.Context, in *Language, opts ...client.CallOption) (*DatabaseResponse, error) ForceDelete(ctx context.Context, in *Language, opts ...client.CallOption) (*DatabaseResponse, error) FindAll(ctx context.Context, in *DatabaseEmpty, opts ...client.CallOption) (*DatabaseResponse, error) FindOneByISO(ctx context.Context, in *DatabaseString, opts ...client.CallOption) (*DatabaseResponse, error) FindManyByISO(ctx context.Context, in *DatabaseStrings, opts ...client.CallOption) (*DatabaseResponse, error) }
func NewLanguageService ¶
func NewLanguageService(name string, c client.Client) LanguageService
type LanguageServiceHandler ¶
type LanguageServiceHandler interface { Create(context.Context, *Language, *DatabaseResponse) error Update(context.Context, *Language, *DatabaseResponse) error SoftDelete(context.Context, *Language, *DatabaseResponse) error ForceDelete(context.Context, *Language, *DatabaseResponse) error FindAll(context.Context, *DatabaseEmpty, *DatabaseResponse) error FindOneByISO(context.Context, *DatabaseString, *DatabaseResponse) error FindManyByISO(context.Context, *DatabaseStrings, *DatabaseResponse) error }
type Movie ¶
type Movie struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` OriginalTitle string `protobuf:"bytes,3,opt,name=original_title,json=originalTitle,proto3" json:"original_title,omitempty"` LocalTitle string `protobuf:"bytes,4,opt,name=local_title,json=localTitle,proto3" json:"local_title,omitempty"` OriginalLanguage string `protobuf:"bytes,5,opt,name=original_language,json=originalLanguage,proto3" json:"original_language,omitempty"` Languages []byte `protobuf:"bytes,6,opt,name=languages,proto3" json:"languages,omitempty"` Overview string `protobuf:"bytes,7,opt,name=overview,proto3" json:"overview,omitempty"` Tagline string `protobuf:"bytes,8,opt,name=tagline,proto3" json:"tagline,omitempty"` Genres []byte `protobuf:"bytes,9,opt,name=genres,proto3" json:"genres,omitempty"` Homepage string `protobuf:"bytes,10,opt,name=homepage,proto3" json:"homepage,omitempty"` Runtime uint64 `protobuf:"varint,11,opt,name=runtime,proto3" json:"runtime,omitempty"` Status uint64 `protobuf:"varint,12,opt,name=status,proto3" json:"status,omitempty"` Adult bool `protobuf:"varint,13,opt,name=adult,proto3" json:"adult,omitempty"` ImdbId string `protobuf:"bytes,14,opt,name=imdb_id,json=imdbId,proto3" json:"imdb_id,omitempty"` ReleaseDate string `protobuf:"bytes,15,opt,name=release_date,json=releaseDate,proto3" json:"release_date,omitempty"` ProductionCompanies []byte `protobuf:"bytes,16,opt,name=production_companies,json=productionCompanies,proto3" json:"production_companies,omitempty"` ProductionCountries []byte `protobuf:"bytes,17,opt,name=production_countries,json=productionCountries,proto3" json:"production_countries,omitempty"` VoteAverage float64 `protobuf:"fixed64,18,opt,name=vote_average,json=voteAverage,proto3" json:"vote_average,omitempty"` VoteCount uint64 `protobuf:"varint,19,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` Popularity float64 `protobuf:"fixed64,20,opt,name=popularity,proto3" json:"popularity,omitempty"` Budget uint64 `protobuf:"varint,21,opt,name=budget,proto3" json:"budget,omitempty"` Revenue uint64 `protobuf:"varint,22,opt,name=revenue,proto3" json:"revenue,omitempty"` Backdrop string `protobuf:"bytes,23,opt,name=backdrop,proto3" json:"backdrop,omitempty"` Poster string `protobuf:"bytes,24,opt,name=poster,proto3" json:"poster,omitempty"` CreatedAt int64 `protobuf:"varint,25,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,26,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedFields []string `protobuf:"bytes,27,rep,name=updated_fields,json=updatedFields,proto3" json:"updated_fields,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Movie) Descriptor ¶
func (*Movie) GetBackdrop ¶
func (*Movie) GetCreatedAt ¶
func (*Movie) GetHomepage ¶
func (*Movie) GetLanguages ¶
func (*Movie) GetLocalTitle ¶
func (*Movie) GetOriginalLanguage ¶
func (*Movie) GetOriginalTitle ¶
func (*Movie) GetOverview ¶
func (*Movie) GetPopularity ¶
func (*Movie) GetProductionCompanies ¶
func (*Movie) GetProductionCountries ¶
func (*Movie) GetReleaseDate ¶
func (*Movie) GetRevenue ¶
func (*Movie) GetRuntime ¶
func (*Movie) GetTagline ¶
func (*Movie) GetUpdatedAt ¶
func (*Movie) GetUpdatedFields ¶
func (*Movie) GetVoteAverage ¶
func (*Movie) GetVoteCount ¶
func (*Movie) ProtoMessage ¶
func (*Movie) ProtoMessage()
func (*Movie) XXX_DiscardUnknown ¶
func (m *Movie) XXX_DiscardUnknown()
func (*Movie) XXX_Marshal ¶
func (*Movie) XXX_Unmarshal ¶
type MovieService ¶
type MovieService interface { Create(ctx context.Context, in *Movie, opts ...client.CallOption) (*DatabaseResponse, error) Update(ctx context.Context, in *Movie, opts ...client.CallOption) (*DatabaseResponse, error) SoftDelete(ctx context.Context, in *Movie, opts ...client.CallOption) (*DatabaseResponse, error) ForceDelete(ctx context.Context, in *Movie, opts ...client.CallOption) (*DatabaseResponse, error) FindAll(ctx context.Context, in *DatabaseEmpty, opts ...client.CallOption) (*DatabaseResponse, error) FindOnlyIDs(ctx context.Context, in *DatabaseEmpty, opts ...client.CallOption) (*DatabaseResponse, error) FindDownloaded(ctx context.Context, in *DatabaseEmpty, opts ...client.CallOption) (*DatabaseResponse, error) FindOneByID(ctx context.Context, in *DatabaseID, opts ...client.CallOption) (*DatabaseResponse, error) FindManyByID(ctx context.Context, in *DatabaseIDs, opts ...client.CallOption) (*DatabaseResponse, error) FindOneByTitle(ctx context.Context, in *DatabaseString, opts ...client.CallOption) (*DatabaseResponse, error) FindManyByTitle(ctx context.Context, in *DatabaseStrings, opts ...client.CallOption) (*DatabaseResponse, error) FindOneByOriginalTitle(ctx context.Context, in *DatabaseString, opts ...client.CallOption) (*DatabaseResponse, error) FindManyByOriginalTitle(ctx context.Context, in *DatabaseStrings, opts ...client.CallOption) (*DatabaseResponse, error) FindOneByLocalTitle(ctx context.Context, in *DatabaseString, opts ...client.CallOption) (*DatabaseResponse, error) FindManyByLocalTitle(ctx context.Context, in *DatabaseStrings, opts ...client.CallOption) (*DatabaseResponse, error) }
func NewMovieService ¶
func NewMovieService(name string, c client.Client) MovieService
type MovieServiceHandler ¶
type MovieServiceHandler interface { Create(context.Context, *Movie, *DatabaseResponse) error Update(context.Context, *Movie, *DatabaseResponse) error SoftDelete(context.Context, *Movie, *DatabaseResponse) error ForceDelete(context.Context, *Movie, *DatabaseResponse) error FindAll(context.Context, *DatabaseEmpty, *DatabaseResponse) error FindOnlyIDs(context.Context, *DatabaseEmpty, *DatabaseResponse) error FindDownloaded(context.Context, *DatabaseEmpty, *DatabaseResponse) error FindOneByID(context.Context, *DatabaseID, *DatabaseResponse) error FindManyByID(context.Context, *DatabaseIDs, *DatabaseResponse) error FindOneByTitle(context.Context, *DatabaseString, *DatabaseResponse) error FindManyByTitle(context.Context, *DatabaseStrings, *DatabaseResponse) error FindOneByOriginalTitle(context.Context, *DatabaseString, *DatabaseResponse) error FindManyByOriginalTitle(context.Context, *DatabaseStrings, *DatabaseResponse) error FindOneByLocalTitle(context.Context, *DatabaseString, *DatabaseResponse) error FindManyByLocalTitle(context.Context, *DatabaseStrings, *DatabaseResponse) error }
type PermissionService ¶
type PermissionService interface { FindOneByID(ctx context.Context, in *DatabaseID, opts ...client.CallOption) (*DatabaseResponse, error) FindManyByID(ctx context.Context, in *DatabaseIDs, opts ...client.CallOption) (*DatabaseResponse, error) FindOneByName(ctx context.Context, in *DatabaseString, opts ...client.CallOption) (*DatabaseResponse, error) }
func NewPermissionService ¶
func NewPermissionService(name string, c client.Client) PermissionService
type PermissionServiceHandler ¶
type PermissionServiceHandler interface { FindOneByID(context.Context, *DatabaseID, *DatabaseResponse) error FindManyByID(context.Context, *DatabaseIDs, *DatabaseResponse) error FindOneByName(context.Context, *DatabaseString, *DatabaseResponse) error }
type UserService ¶
type UserService interface { FindOneByID(ctx context.Context, in *DatabaseID, opts ...client.CallOption) (*DatabaseResponse, error) FindManyByID(ctx context.Context, in *DatabaseIDs, opts ...client.CallOption) (*DatabaseResponse, error) FindOneByUsername(ctx context.Context, in *DatabaseString, opts ...client.CallOption) (*DatabaseResponse, error) FindManyByUsername(ctx context.Context, in *DatabaseStrings, opts ...client.CallOption) (*DatabaseResponse, error) FindOneByEmail(ctx context.Context, in *DatabaseString, opts ...client.CallOption) (*DatabaseResponse, error) FindManyByEmail(ctx context.Context, in *DatabaseStrings, opts ...client.CallOption) (*DatabaseResponse, error) }
func NewUserService ¶
func NewUserService(name string, c client.Client) UserService
type UserServiceHandler ¶
type UserServiceHandler interface { FindOneByID(context.Context, *DatabaseID, *DatabaseResponse) error FindManyByID(context.Context, *DatabaseIDs, *DatabaseResponse) error FindOneByUsername(context.Context, *DatabaseString, *DatabaseResponse) error FindManyByUsername(context.Context, *DatabaseStrings, *DatabaseResponse) error FindOneByEmail(context.Context, *DatabaseString, *DatabaseResponse) error FindManyByEmail(context.Context, *DatabaseStrings, *DatabaseResponse) error }
Click to show internal directories.
Click to hide internal directories.