proto

package
v0.0.0-...-535fbdb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTMDBServiceHandler

func RegisterTMDBServiceHandler(s server.Server, hdlr TMDBServiceHandler, opts ...server.HandlerOption) error

Types

type TMDBEmpty

type TMDBEmpty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TMDBEmpty) Descriptor

func (*TMDBEmpty) Descriptor() ([]byte, []int)

func (*TMDBEmpty) ProtoMessage

func (*TMDBEmpty) ProtoMessage()

func (*TMDBEmpty) Reset

func (m *TMDBEmpty) Reset()

func (*TMDBEmpty) String

func (m *TMDBEmpty) String() string

func (*TMDBEmpty) XXX_DiscardUnknown

func (m *TMDBEmpty) XXX_DiscardUnknown()

func (*TMDBEmpty) XXX_Marshal

func (m *TMDBEmpty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TMDBEmpty) XXX_Merge

func (m *TMDBEmpty) XXX_Merge(src proto.Message)

func (*TMDBEmpty) XXX_Size

func (m *TMDBEmpty) XXX_Size() int

func (*TMDBEmpty) XXX_Unmarshal

func (m *TMDBEmpty) XXX_Unmarshal(b []byte) error

type TMDBIDOptions

type TMDBIDOptions struct {
	Id                   uint64            `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Options              map[string]string `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*TMDBIDOptions) Descriptor

func (*TMDBIDOptions) Descriptor() ([]byte, []int)

func (*TMDBIDOptions) GetId

func (m *TMDBIDOptions) GetId() uint64

func (*TMDBIDOptions) GetOptions

func (m *TMDBIDOptions) GetOptions() map[string]string

func (*TMDBIDOptions) ProtoMessage

func (*TMDBIDOptions) ProtoMessage()

func (*TMDBIDOptions) Reset

func (m *TMDBIDOptions) Reset()

func (*TMDBIDOptions) String

func (m *TMDBIDOptions) String() string

func (*TMDBIDOptions) XXX_DiscardUnknown

func (m *TMDBIDOptions) XXX_DiscardUnknown()

func (*TMDBIDOptions) XXX_Marshal

func (m *TMDBIDOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TMDBIDOptions) XXX_Merge

func (m *TMDBIDOptions) XXX_Merge(src proto.Message)

func (*TMDBIDOptions) XXX_Size

func (m *TMDBIDOptions) XXX_Size() int

func (*TMDBIDOptions) XXX_Unmarshal

func (m *TMDBIDOptions) XXX_Unmarshal(b []byte) error

type TMDBQueryOptions

type TMDBQueryOptions struct {
	Query                string            `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Options              map[string]string `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*TMDBQueryOptions) Descriptor

func (*TMDBQueryOptions) Descriptor() ([]byte, []int)

func (*TMDBQueryOptions) GetOptions

func (m *TMDBQueryOptions) GetOptions() map[string]string

func (*TMDBQueryOptions) GetQuery

func (m *TMDBQueryOptions) GetQuery() string

func (*TMDBQueryOptions) ProtoMessage

func (*TMDBQueryOptions) ProtoMessage()

func (*TMDBQueryOptions) Reset

func (m *TMDBQueryOptions) Reset()

func (*TMDBQueryOptions) String

func (m *TMDBQueryOptions) String() string

func (*TMDBQueryOptions) XXX_DiscardUnknown

func (m *TMDBQueryOptions) XXX_DiscardUnknown()

func (*TMDBQueryOptions) XXX_Marshal

func (m *TMDBQueryOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TMDBQueryOptions) XXX_Merge

func (m *TMDBQueryOptions) XXX_Merge(src proto.Message)

func (*TMDBQueryOptions) XXX_Size

func (m *TMDBQueryOptions) XXX_Size() int

func (*TMDBQueryOptions) XXX_Unmarshal

func (m *TMDBQueryOptions) XXX_Unmarshal(b []byte) error

type TMDBQueryYearOptions

type TMDBQueryYearOptions struct {
	Query                string            `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Year                 uint64            `protobuf:"varint,2,opt,name=year,proto3" json:"year,omitempty"`
	Options              map[string]string `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*TMDBQueryYearOptions) Descriptor

func (*TMDBQueryYearOptions) Descriptor() ([]byte, []int)

func (*TMDBQueryYearOptions) GetOptions

func (m *TMDBQueryYearOptions) GetOptions() map[string]string

func (*TMDBQueryYearOptions) GetQuery

func (m *TMDBQueryYearOptions) GetQuery() string

func (*TMDBQueryYearOptions) GetYear

func (m *TMDBQueryYearOptions) GetYear() uint64

func (*TMDBQueryYearOptions) ProtoMessage

func (*TMDBQueryYearOptions) ProtoMessage()

func (*TMDBQueryYearOptions) Reset

func (m *TMDBQueryYearOptions) Reset()

func (*TMDBQueryYearOptions) String

func (m *TMDBQueryYearOptions) String() string

func (*TMDBQueryYearOptions) XXX_DiscardUnknown

func (m *TMDBQueryYearOptions) XXX_DiscardUnknown()

func (*TMDBQueryYearOptions) XXX_Marshal

func (m *TMDBQueryYearOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TMDBQueryYearOptions) XXX_Merge

func (m *TMDBQueryYearOptions) XXX_Merge(src proto.Message)

func (*TMDBQueryYearOptions) XXX_Size

func (m *TMDBQueryYearOptions) XXX_Size() int

func (*TMDBQueryYearOptions) XXX_Unmarshal

func (m *TMDBQueryYearOptions) XXX_Unmarshal(b []byte) error

type TMDBResponse

type TMDBResponse 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 (*TMDBResponse) Descriptor

func (*TMDBResponse) Descriptor() ([]byte, []int)

func (*TMDBResponse) GetResult

func (m *TMDBResponse) GetResult() []byte

func (*TMDBResponse) ProtoMessage

func (*TMDBResponse) ProtoMessage()

func (*TMDBResponse) Reset

func (m *TMDBResponse) Reset()

func (*TMDBResponse) String

func (m *TMDBResponse) String() string

func (*TMDBResponse) XXX_DiscardUnknown

func (m *TMDBResponse) XXX_DiscardUnknown()

func (*TMDBResponse) XXX_Marshal

func (m *TMDBResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TMDBResponse) XXX_Merge

func (m *TMDBResponse) XXX_Merge(src proto.Message)

func (*TMDBResponse) XXX_Size

func (m *TMDBResponse) XXX_Size() int

func (*TMDBResponse) XXX_Unmarshal

func (m *TMDBResponse) XXX_Unmarshal(b []byte) error

type TMDBSeason

type TMDBSeason struct {
	Id                   uint64            `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Season               uint64            `protobuf:"varint,2,opt,name=season,proto3" json:"season,omitempty"`
	Options              map[string]string `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*TMDBSeason) Descriptor

func (*TMDBSeason) Descriptor() ([]byte, []int)

func (*TMDBSeason) GetId

func (m *TMDBSeason) GetId() uint64

func (*TMDBSeason) GetOptions

func (m *TMDBSeason) GetOptions() map[string]string

func (*TMDBSeason) GetSeason

func (m *TMDBSeason) GetSeason() uint64

func (*TMDBSeason) ProtoMessage

func (*TMDBSeason) ProtoMessage()

func (*TMDBSeason) Reset

func (m *TMDBSeason) Reset()

func (*TMDBSeason) String

func (m *TMDBSeason) String() string

func (*TMDBSeason) XXX_DiscardUnknown

func (m *TMDBSeason) XXX_DiscardUnknown()

func (*TMDBSeason) XXX_Marshal

func (m *TMDBSeason) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TMDBSeason) XXX_Merge

func (m *TMDBSeason) XXX_Merge(src proto.Message)

func (*TMDBSeason) XXX_Size

func (m *TMDBSeason) XXX_Size() int

func (*TMDBSeason) XXX_Unmarshal

func (m *TMDBSeason) XXX_Unmarshal(b []byte) error

type TMDBSeasonEpisode

type TMDBSeasonEpisode struct {
	Id                   uint64            `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Season               uint64            `protobuf:"varint,2,opt,name=season,proto3" json:"season,omitempty"`
	Episode              uint64            `protobuf:"varint,3,opt,name=episode,proto3" json:"episode,omitempty"`
	Options              map[string]string `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*TMDBSeasonEpisode) Descriptor

func (*TMDBSeasonEpisode) Descriptor() ([]byte, []int)

func (*TMDBSeasonEpisode) GetEpisode

func (m *TMDBSeasonEpisode) GetEpisode() uint64

func (*TMDBSeasonEpisode) GetId

func (m *TMDBSeasonEpisode) GetId() uint64

func (*TMDBSeasonEpisode) GetOptions

func (m *TMDBSeasonEpisode) GetOptions() map[string]string

func (*TMDBSeasonEpisode) GetSeason

func (m *TMDBSeasonEpisode) GetSeason() uint64

func (*TMDBSeasonEpisode) ProtoMessage

func (*TMDBSeasonEpisode) ProtoMessage()

func (*TMDBSeasonEpisode) Reset

func (m *TMDBSeasonEpisode) Reset()

func (*TMDBSeasonEpisode) String

func (m *TMDBSeasonEpisode) String() string

func (*TMDBSeasonEpisode) XXX_DiscardUnknown

func (m *TMDBSeasonEpisode) XXX_DiscardUnknown()

func (*TMDBSeasonEpisode) XXX_Marshal

func (m *TMDBSeasonEpisode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TMDBSeasonEpisode) XXX_Merge

func (m *TMDBSeasonEpisode) XXX_Merge(src proto.Message)

func (*TMDBSeasonEpisode) XXX_Size

func (m *TMDBSeasonEpisode) XXX_Size() int

func (*TMDBSeasonEpisode) XXX_Unmarshal

func (m *TMDBSeasonEpisode) XXX_Unmarshal(b []byte) error

type TMDBService

type TMDBService interface {
	// Configuration RPC methods
	GetAPIConfiguration(ctx context.Context, in *TMDBEmpty, opts ...client.CallOption) (*TMDBResponse, error)
	GetCountries(ctx context.Context, in *TMDBEmpty, opts ...client.CallOption) (*TMDBResponse, error)
	GetLanguages(ctx context.Context, in *TMDBEmpty, opts ...client.CallOption) (*TMDBResponse, error)
	GetPrimaryTranslations(ctx context.Context, in *TMDBEmpty, opts ...client.CallOption) (*TMDBResponse, error)
	GetTimeZones(ctx context.Context, in *TMDBEmpty, opts ...client.CallOption) (*TMDBResponse, error)
	// Search RPC methods
	SearchCompanies(ctx context.Context, in *TMDBQueryOptions, opts ...client.CallOption) (*TMDBResponse, error)
	SearchMovies(ctx context.Context, in *TMDBQueryYearOptions, opts ...client.CallOption) (*TMDBResponse, error)
	SearchTV(ctx context.Context, in *TMDBQueryYearOptions, opts ...client.CallOption) (*TMDBResponse, error)
	// Movies RPC methods
	GetMovieInformation(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetMovieInformationForDatabase(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetMovieAlternativeTitles(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetMovieChanges(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetMovieCredits(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetMovieExternalIDs(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetMovieImages(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetMovieKeywords(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetMovieReleaseDates(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetMovieVideos(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetMovieTranslations(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	// Series RPC methods
	GetTVInformation(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVChanges(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVCredits(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVExternalIDs(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVImages(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVKeywords(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVVideos(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVTranslations(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	// Series Seasons RPC methods
	GetTVSeasonInformation(ctx context.Context, in *TMDBSeason, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVSeasonChanges(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVSeasonCredits(ctx context.Context, in *TMDBSeason, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVSeasonExternalIDs(ctx context.Context, in *TMDBSeason, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVSeasonImages(ctx context.Context, in *TMDBSeason, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVSeasonVideos(ctx context.Context, in *TMDBSeason, opts ...client.CallOption) (*TMDBResponse, error)
	// Series Episodes RPC methods
	GetTVEpisodeInformation(ctx context.Context, in *TMDBSeasonEpisode, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVEpisodeChanges(ctx context.Context, in *TMDBIDOptions, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVEpisodeCredits(ctx context.Context, in *TMDBSeasonEpisode, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVEpisodeExternalIDs(ctx context.Context, in *TMDBSeasonEpisode, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVEpisodeImages(ctx context.Context, in *TMDBSeasonEpisode, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVEpisodeTranslations(ctx context.Context, in *TMDBSeasonEpisode, opts ...client.CallOption) (*TMDBResponse, error)
	GetTVEpisodeVideos(ctx context.Context, in *TMDBSeasonEpisode, opts ...client.CallOption) (*TMDBResponse, error)
}

func NewTMDBService

func NewTMDBService(name string, c client.Client) TMDBService

type TMDBServiceHandler

type TMDBServiceHandler interface {
	// Configuration RPC methods
	GetAPIConfiguration(context.Context, *TMDBEmpty, *TMDBResponse) error
	GetCountries(context.Context, *TMDBEmpty, *TMDBResponse) error
	GetLanguages(context.Context, *TMDBEmpty, *TMDBResponse) error
	GetPrimaryTranslations(context.Context, *TMDBEmpty, *TMDBResponse) error
	GetTimeZones(context.Context, *TMDBEmpty, *TMDBResponse) error
	// Search RPC methods
	SearchCompanies(context.Context, *TMDBQueryOptions, *TMDBResponse) error
	SearchMovies(context.Context, *TMDBQueryYearOptions, *TMDBResponse) error
	SearchTV(context.Context, *TMDBQueryYearOptions, *TMDBResponse) error
	// Movies RPC methods
	GetMovieInformation(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetMovieInformationForDatabase(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetMovieAlternativeTitles(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetMovieChanges(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetMovieCredits(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetMovieExternalIDs(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetMovieImages(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetMovieKeywords(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetMovieReleaseDates(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetMovieVideos(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetMovieTranslations(context.Context, *TMDBIDOptions, *TMDBResponse) error
	// Series RPC methods
	GetTVInformation(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetTVChanges(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetTVCredits(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetTVExternalIDs(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetTVImages(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetTVKeywords(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetTVVideos(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetTVTranslations(context.Context, *TMDBIDOptions, *TMDBResponse) error
	// Series Seasons RPC methods
	GetTVSeasonInformation(context.Context, *TMDBSeason, *TMDBResponse) error
	GetTVSeasonChanges(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetTVSeasonCredits(context.Context, *TMDBSeason, *TMDBResponse) error
	GetTVSeasonExternalIDs(context.Context, *TMDBSeason, *TMDBResponse) error
	GetTVSeasonImages(context.Context, *TMDBSeason, *TMDBResponse) error
	GetTVSeasonVideos(context.Context, *TMDBSeason, *TMDBResponse) error
	// Series Episodes RPC methods
	GetTVEpisodeInformation(context.Context, *TMDBSeasonEpisode, *TMDBResponse) error
	GetTVEpisodeChanges(context.Context, *TMDBIDOptions, *TMDBResponse) error
	GetTVEpisodeCredits(context.Context, *TMDBSeasonEpisode, *TMDBResponse) error
	GetTVEpisodeExternalIDs(context.Context, *TMDBSeasonEpisode, *TMDBResponse) error
	GetTVEpisodeImages(context.Context, *TMDBSeasonEpisode, *TMDBResponse) error
	GetTVEpisodeTranslations(context.Context, *TMDBSeasonEpisode, *TMDBResponse) error
	GetTVEpisodeVideos(context.Context, *TMDBSeasonEpisode, *TMDBResponse) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL