v1beta1

package
v0.0.0-...-4a8207e Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAnimeServer

func RegisterAnimeServer(s *grpc.Server, srv AnimeServer)

Types

type AnimeClient

type AnimeClient interface {
	GetReviews(ctx context.Context, in *GetReviewsRequest, opts ...grpc.CallOption) (*GetReviewsResponse, error)
}

AnimeClient is the client API for Anime service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAnimeClient

func NewAnimeClient(cc grpc.ClientConnInterface) AnimeClient

type AnimeServer

type AnimeServer interface {
	GetReviews(context.Context, *GetReviewsRequest) (*GetReviewsResponse, error)
}

AnimeServer is the server API for Anime service.

type GetReviewsRequest

type GetReviewsRequest struct {
	Limit                *int32   `protobuf:"varint,1,req,name=limit" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetReviewsRequest) Descriptor

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

func (*GetReviewsRequest) GetLimit

func (m *GetReviewsRequest) GetLimit() int32

func (*GetReviewsRequest) ProtoMessage

func (*GetReviewsRequest) ProtoMessage()

func (*GetReviewsRequest) Reset

func (m *GetReviewsRequest) Reset()

func (*GetReviewsRequest) String

func (m *GetReviewsRequest) String() string

func (*GetReviewsRequest) XXX_DiscardUnknown

func (m *GetReviewsRequest) XXX_DiscardUnknown()

func (*GetReviewsRequest) XXX_Marshal

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

func (*GetReviewsRequest) XXX_Merge

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

func (*GetReviewsRequest) XXX_Size

func (m *GetReviewsRequest) XXX_Size() int

func (*GetReviewsRequest) XXX_Unmarshal

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

type GetReviewsResponse

type GetReviewsResponse struct {
	Results              []*GetReviewsResponse_Review `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*GetReviewsResponse) Descriptor

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

func (*GetReviewsResponse) GetResults

func (m *GetReviewsResponse) GetResults() []*GetReviewsResponse_Review

func (*GetReviewsResponse) ProtoMessage

func (*GetReviewsResponse) ProtoMessage()

func (*GetReviewsResponse) Reset

func (m *GetReviewsResponse) Reset()

func (*GetReviewsResponse) String

func (m *GetReviewsResponse) String() string

func (*GetReviewsResponse) XXX_DiscardUnknown

func (m *GetReviewsResponse) XXX_DiscardUnknown()

func (*GetReviewsResponse) XXX_Marshal

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

func (*GetReviewsResponse) XXX_Merge

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

func (*GetReviewsResponse) XXX_Size

func (m *GetReviewsResponse) XXX_Size() int

func (*GetReviewsResponse) XXX_Unmarshal

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

type GetReviewsResponse_Review

type GetReviewsResponse_Review struct {
	Score *int32 `protobuf:"varint,1,req,name=score" json:"score,omitempty"`
	//Anilist User Id
	Uid *int32 `protobuf:"varint,2,req,name=uid" json:"uid,omitempty"`
	//Anilist Media Id
	Mid                  *int32   `protobuf:"varint,3,req,name=mid" json:"mid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetReviewsResponse_Review) Descriptor

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

func (*GetReviewsResponse_Review) GetMid

func (m *GetReviewsResponse_Review) GetMid() int32

func (*GetReviewsResponse_Review) GetScore

func (m *GetReviewsResponse_Review) GetScore() int32

func (*GetReviewsResponse_Review) GetUid

func (m *GetReviewsResponse_Review) GetUid() int32

func (*GetReviewsResponse_Review) ProtoMessage

func (*GetReviewsResponse_Review) ProtoMessage()

func (*GetReviewsResponse_Review) Reset

func (m *GetReviewsResponse_Review) Reset()

func (*GetReviewsResponse_Review) String

func (m *GetReviewsResponse_Review) String() string

func (*GetReviewsResponse_Review) XXX_DiscardUnknown

func (m *GetReviewsResponse_Review) XXX_DiscardUnknown()

func (*GetReviewsResponse_Review) XXX_Marshal

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

func (*GetReviewsResponse_Review) XXX_Merge

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

func (*GetReviewsResponse_Review) XXX_Size

func (m *GetReviewsResponse_Review) XXX_Size() int

func (*GetReviewsResponse_Review) XXX_Unmarshal

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

type UnimplementedAnimeServer

type UnimplementedAnimeServer struct {
}

UnimplementedAnimeServer can be embedded to have forward compatible implementations.

func (*UnimplementedAnimeServer) GetReviews

Jump to

Keyboard shortcuts

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