v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1 is a generated protocol buffer package.

It is generated from these files:

app/service/main/ugcpay-rank/api/v1/api.proto

It has these top-level messages:

RankElecAVReq
RankElecUPReq
RankElecMonthReq
RankElecMonthResp
RankElecUPResp
RankElecAVResp
RankElecUpdateOrderReq
RankElecUpdateMessageReq

Index

Constants

View Source
const AppID = "ugcpay.service.rank"

AppID unique app id for service discovery

Variables

View Source
var (
	ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterUGCPayRankServer

func RegisterUGCPayRankServer(s *grpc.Server, srv UGCPayRankServer)

Types

type RankElecAVReq

type RankElecAVReq struct {
	UPMID    int64 `protobuf:"varint,1,opt,name=UPMID,proto3" json:"UPMID,omitempty"`
	AVID     int64 `protobuf:"varint,2,opt,name=AVID,proto3" json:"AVID,omitempty"`
	RankSize int   `protobuf:"varint,3,opt,name=RankSize,proto3,casttype=int" json:"RankSize,omitempty"`
}

func (*RankElecAVReq) Descriptor

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

func (*RankElecAVReq) Marshal

func (m *RankElecAVReq) Marshal() (dAtA []byte, err error)

func (*RankElecAVReq) MarshalTo

func (m *RankElecAVReq) MarshalTo(dAtA []byte) (int, error)

func (*RankElecAVReq) ProtoMessage

func (*RankElecAVReq) ProtoMessage()

func (*RankElecAVReq) Reset

func (m *RankElecAVReq) Reset()

func (*RankElecAVReq) Size

func (m *RankElecAVReq) Size() (n int)

func (*RankElecAVReq) String

func (m *RankElecAVReq) String() string

func (*RankElecAVReq) Unmarshal

func (m *RankElecAVReq) Unmarshal(dAtA []byte) error

type RankElecAVResp

type RankElecAVResp struct {
	AV *main_account_ugcpay_service_model.RankElecAVProto `protobuf:"bytes,1,opt,name=AV" json:"AV,omitempty"`
}

func (*RankElecAVResp) Descriptor

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

func (*RankElecAVResp) Marshal

func (m *RankElecAVResp) Marshal() (dAtA []byte, err error)

func (*RankElecAVResp) MarshalTo

func (m *RankElecAVResp) MarshalTo(dAtA []byte) (int, error)

func (*RankElecAVResp) ProtoMessage

func (*RankElecAVResp) ProtoMessage()

func (*RankElecAVResp) Reset

func (m *RankElecAVResp) Reset()

func (*RankElecAVResp) Size

func (m *RankElecAVResp) Size() (n int)

func (*RankElecAVResp) String

func (m *RankElecAVResp) String() string

func (*RankElecAVResp) Unmarshal

func (m *RankElecAVResp) Unmarshal(dAtA []byte) error

type RankElecMonthReq

type RankElecMonthReq struct {
	UPMID    int64 `protobuf:"varint,1,opt,name=UPMID,proto3" json:"UPMID,omitempty"`
	AVID     int64 `protobuf:"varint,2,opt,name=AVID,proto3" json:"AVID,omitempty"`
	RankSize int   `protobuf:"varint,3,opt,name=RankSize,proto3,casttype=int" json:"RankSize,omitempty"`
}

func (*RankElecMonthReq) Descriptor

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

func (*RankElecMonthReq) Marshal

func (m *RankElecMonthReq) Marshal() (dAtA []byte, err error)

func (*RankElecMonthReq) MarshalTo

func (m *RankElecMonthReq) MarshalTo(dAtA []byte) (int, error)

func (*RankElecMonthReq) ProtoMessage

func (*RankElecMonthReq) ProtoMessage()

func (*RankElecMonthReq) Reset

func (m *RankElecMonthReq) Reset()

func (*RankElecMonthReq) Size

func (m *RankElecMonthReq) Size() (n int)

func (*RankElecMonthReq) String

func (m *RankElecMonthReq) String() string

func (*RankElecMonthReq) Unmarshal

func (m *RankElecMonthReq) Unmarshal(dAtA []byte) error

type RankElecMonthResp

type RankElecMonthResp struct {
	UP *main_account_ugcpay_service_model.RankElecUPProto `protobuf:"bytes,1,opt,name=UP" json:"UP,omitempty"`
	AV *main_account_ugcpay_service_model.RankElecAVProto `protobuf:"bytes,2,opt,name=AV" json:"AV,omitempty"`
}

func (*RankElecMonthResp) Descriptor

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

func (*RankElecMonthResp) Marshal

func (m *RankElecMonthResp) Marshal() (dAtA []byte, err error)

func (*RankElecMonthResp) MarshalTo

func (m *RankElecMonthResp) MarshalTo(dAtA []byte) (int, error)

func (*RankElecMonthResp) ProtoMessage

func (*RankElecMonthResp) ProtoMessage()

func (*RankElecMonthResp) Reset

func (m *RankElecMonthResp) Reset()

func (*RankElecMonthResp) Size

func (m *RankElecMonthResp) Size() (n int)

func (*RankElecMonthResp) String

func (m *RankElecMonthResp) String() string

func (*RankElecMonthResp) Unmarshal

func (m *RankElecMonthResp) Unmarshal(dAtA []byte) error

type RankElecUPReq

type RankElecUPReq struct {
	UPMID    int64 `protobuf:"varint,1,opt,name=UPMID,proto3" json:"UPMID,omitempty"`
	RankSize int   `protobuf:"varint,2,opt,name=RankSize,proto3,casttype=int" json:"RankSize,omitempty"`
}

func (*RankElecUPReq) Descriptor

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

func (*RankElecUPReq) Marshal

func (m *RankElecUPReq) Marshal() (dAtA []byte, err error)

func (*RankElecUPReq) MarshalTo

func (m *RankElecUPReq) MarshalTo(dAtA []byte) (int, error)

func (*RankElecUPReq) ProtoMessage

func (*RankElecUPReq) ProtoMessage()

func (*RankElecUPReq) Reset

func (m *RankElecUPReq) Reset()

func (*RankElecUPReq) Size

func (m *RankElecUPReq) Size() (n int)

func (*RankElecUPReq) String

func (m *RankElecUPReq) String() string

func (*RankElecUPReq) Unmarshal

func (m *RankElecUPReq) Unmarshal(dAtA []byte) error

type RankElecUPResp

type RankElecUPResp struct {
	UP *main_account_ugcpay_service_model.RankElecUPProto `protobuf:"bytes,1,opt,name=UP" json:"UP,omitempty"`
}

func (*RankElecUPResp) Descriptor

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

func (*RankElecUPResp) Marshal

func (m *RankElecUPResp) Marshal() (dAtA []byte, err error)

func (*RankElecUPResp) MarshalTo

func (m *RankElecUPResp) MarshalTo(dAtA []byte) (int, error)

func (*RankElecUPResp) ProtoMessage

func (*RankElecUPResp) ProtoMessage()

func (*RankElecUPResp) Reset

func (m *RankElecUPResp) Reset()

func (*RankElecUPResp) Size

func (m *RankElecUPResp) Size() (n int)

func (*RankElecUPResp) String

func (m *RankElecUPResp) String() string

func (*RankElecUPResp) Unmarshal

func (m *RankElecUPResp) Unmarshal(dAtA []byte) error

type RankElecUpdateMessageReq

type RankElecUpdateMessageReq struct {
	AVID    int64  `protobuf:"varint,1,opt,name=AVID,proto3" json:"AVID,omitempty"`
	UPMID   int64  `protobuf:"varint,2,opt,name=UPMID,proto3" json:"UPMID,omitempty"`
	PayMID  int64  `protobuf:"varint,3,opt,name=PayMID,proto3" json:"PayMID,omitempty"`
	Ver     int64  `protobuf:"varint,4,opt,name=Ver,proto3" json:"Ver,omitempty"`
	Message string `protobuf:"bytes,5,opt,name=Message,proto3" json:"Message,omitempty"`
	Hidden  bool   `protobuf:"varint,6,opt,name=Hidden,proto3" json:"Hidden,omitempty"`
}

func (*RankElecUpdateMessageReq) Descriptor

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

func (*RankElecUpdateMessageReq) Marshal

func (m *RankElecUpdateMessageReq) Marshal() (dAtA []byte, err error)

func (*RankElecUpdateMessageReq) MarshalTo

func (m *RankElecUpdateMessageReq) MarshalTo(dAtA []byte) (int, error)

func (*RankElecUpdateMessageReq) ProtoMessage

func (*RankElecUpdateMessageReq) ProtoMessage()

func (*RankElecUpdateMessageReq) Reset

func (m *RankElecUpdateMessageReq) Reset()

func (*RankElecUpdateMessageReq) Size

func (m *RankElecUpdateMessageReq) Size() (n int)

func (*RankElecUpdateMessageReq) String

func (m *RankElecUpdateMessageReq) String() string

func (*RankElecUpdateMessageReq) Unmarshal

func (m *RankElecUpdateMessageReq) Unmarshal(dAtA []byte) error

type RankElecUpdateOrderReq

type RankElecUpdateOrderReq struct {
	AVID   int64 `protobuf:"varint,1,opt,name=AVID,proto3" json:"AVID,omitempty"`
	UPMID  int64 `protobuf:"varint,2,opt,name=UPMID,proto3" json:"UPMID,omitempty"`
	PayMID int64 `protobuf:"varint,3,opt,name=PayMID,proto3" json:"PayMID,omitempty"`
	Ver    int64 `protobuf:"varint,4,opt,name=Ver,proto3" json:"Ver,omitempty"`
	Fee    int64 `protobuf:"varint,5,opt,name=Fee,proto3" json:"Fee,omitempty"`
}

func (*RankElecUpdateOrderReq) Descriptor

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

func (*RankElecUpdateOrderReq) Marshal

func (m *RankElecUpdateOrderReq) Marshal() (dAtA []byte, err error)

func (*RankElecUpdateOrderReq) MarshalTo

func (m *RankElecUpdateOrderReq) MarshalTo(dAtA []byte) (int, error)

func (*RankElecUpdateOrderReq) ProtoMessage

func (*RankElecUpdateOrderReq) ProtoMessage()

func (*RankElecUpdateOrderReq) Reset

func (m *RankElecUpdateOrderReq) Reset()

func (*RankElecUpdateOrderReq) Size

func (m *RankElecUpdateOrderReq) Size() (n int)

func (*RankElecUpdateOrderReq) String

func (m *RankElecUpdateOrderReq) String() string

func (*RankElecUpdateOrderReq) Unmarshal

func (m *RankElecUpdateOrderReq) Unmarshal(dAtA []byte) error

type UGCPayRankClient

type UGCPayRankClient interface {
	RankElecAllAV(ctx context.Context, in *RankElecAVReq, opts ...grpc.CallOption) (*RankElecAVResp, error)
	RankElecMonthAV(ctx context.Context, in *RankElecAVReq, opts ...grpc.CallOption) (*RankElecAVResp, error)
	RankElecMonthUP(ctx context.Context, in *RankElecUPReq, opts ...grpc.CallOption) (*RankElecUPResp, error)
	RankElecMonth(ctx context.Context, in *RankElecMonthReq, opts ...grpc.CallOption) (*RankElecMonthResp, error)
	RankElecUpdateOrder(ctx context.Context, in *RankElecUpdateOrderReq, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
	RankElecUpdateMessage(ctx context.Context, in *RankElecUpdateMessageReq, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
}

func NewClient

func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (UGCPayRankClient, error)

NewClient new identify grpc client

func NewUGCPayRankClient

func NewUGCPayRankClient(cc *grpc.ClientConn) UGCPayRankClient

Jump to

Keyboard shortcuts

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