Documentation ¶
Overview ¶
Package v1 is a generated protocol buffer package.
It is generated from these files:
app/service/main/ugcpay/api/grpc/v1/api.proto
It has these top-level messages:
EmptyStruct AssetRegisterReq AssetQueryReq AssetQueryResp AssetRelationReq AssetRelationResp AssetRelationDetailReq AssetRelationDetailResp TradeCreateReq TradeCreateResp TradeOrderReq TradeOrderResp IncomeUserAssetOverviewReq IncomeUserAssetOverviewResp IncomeUserAssetListReq IncomeUserAssetListResp IncomeUserAsset Page
Index ¶
- Constants
- Variables
- func RegisterUGCPayServer(s *grpc.Server, srv UGCPayServer)
- type AssetQueryReq
- func (*AssetQueryReq) Descriptor() ([]byte, []int)
- func (m *AssetQueryReq) GetCurrency() string
- func (m *AssetQueryReq) GetOid() int64
- func (m *AssetQueryReq) GetOtype() string
- func (m *AssetQueryReq) Marshal() (dAtA []byte, err error)
- func (m *AssetQueryReq) MarshalTo(dAtA []byte) (int, error)
- func (*AssetQueryReq) ProtoMessage()
- func (m *AssetQueryReq) Reset()
- func (m *AssetQueryReq) Size() (n int)
- func (m *AssetQueryReq) String() string
- func (m *AssetQueryReq) Unmarshal(dAtA []byte) error
- type AssetQueryResp
- func (*AssetQueryResp) Descriptor() ([]byte, []int)
- func (m *AssetQueryResp) GetPlatformPrice() map[string]int64
- func (m *AssetQueryResp) GetPrice() int64
- func (m *AssetQueryResp) Marshal() (dAtA []byte, err error)
- func (m *AssetQueryResp) MarshalTo(dAtA []byte) (int, error)
- func (*AssetQueryResp) ProtoMessage()
- func (m *AssetQueryResp) Reset()
- func (m *AssetQueryResp) Size() (n int)
- func (m *AssetQueryResp) String() string
- func (m *AssetQueryResp) Unmarshal(dAtA []byte) error
- type AssetRegisterReq
- func (*AssetRegisterReq) Descriptor() ([]byte, []int)
- func (m *AssetRegisterReq) GetCurrency() string
- func (m *AssetRegisterReq) GetMid() int64
- func (m *AssetRegisterReq) GetOid() int64
- func (m *AssetRegisterReq) GetOtype() string
- func (m *AssetRegisterReq) GetPrice() int64
- func (m *AssetRegisterReq) Marshal() (dAtA []byte, err error)
- func (m *AssetRegisterReq) MarshalTo(dAtA []byte) (int, error)
- func (*AssetRegisterReq) ProtoMessage()
- func (m *AssetRegisterReq) Reset()
- func (m *AssetRegisterReq) Size() (n int)
- func (m *AssetRegisterReq) String() string
- func (m *AssetRegisterReq) Unmarshal(dAtA []byte) error
- type AssetRelationDetailReq
- func (*AssetRelationDetailReq) Descriptor() ([]byte, []int)
- func (m *AssetRelationDetailReq) GetCurrency() string
- func (m *AssetRelationDetailReq) GetMid() int64
- func (m *AssetRelationDetailReq) GetOid() int64
- func (m *AssetRelationDetailReq) GetOtype() string
- func (m *AssetRelationDetailReq) Marshal() (dAtA []byte, err error)
- func (m *AssetRelationDetailReq) MarshalTo(dAtA []byte) (int, error)
- func (*AssetRelationDetailReq) ProtoMessage()
- func (m *AssetRelationDetailReq) Reset()
- func (m *AssetRelationDetailReq) Size() (n int)
- func (m *AssetRelationDetailReq) String() string
- func (m *AssetRelationDetailReq) Unmarshal(dAtA []byte) error
- type AssetRelationDetailResp
- func (*AssetRelationDetailResp) Descriptor() ([]byte, []int)
- func (m *AssetRelationDetailResp) GetAssetPlatformPrice() map[string]int64
- func (m *AssetRelationDetailResp) GetAssetPrice() int64
- func (m *AssetRelationDetailResp) GetRelationState() string
- func (m *AssetRelationDetailResp) Marshal() (dAtA []byte, err error)
- func (m *AssetRelationDetailResp) MarshalTo(dAtA []byte) (int, error)
- func (*AssetRelationDetailResp) ProtoMessage()
- func (m *AssetRelationDetailResp) Reset()
- func (m *AssetRelationDetailResp) Size() (n int)
- func (m *AssetRelationDetailResp) String() string
- func (m *AssetRelationDetailResp) Unmarshal(dAtA []byte) error
- type AssetRelationReq
- func (*AssetRelationReq) Descriptor() ([]byte, []int)
- func (m *AssetRelationReq) GetMid() int64
- func (m *AssetRelationReq) GetOid() int64
- func (m *AssetRelationReq) GetOtype() string
- func (m *AssetRelationReq) Marshal() (dAtA []byte, err error)
- func (m *AssetRelationReq) MarshalTo(dAtA []byte) (int, error)
- func (*AssetRelationReq) ProtoMessage()
- func (m *AssetRelationReq) Reset()
- func (m *AssetRelationReq) Size() (n int)
- func (m *AssetRelationReq) String() string
- func (m *AssetRelationReq) Unmarshal(dAtA []byte) error
- type AssetRelationResp
- func (*AssetRelationResp) Descriptor() ([]byte, []int)
- func (m *AssetRelationResp) GetState() string
- func (m *AssetRelationResp) Marshal() (dAtA []byte, err error)
- func (m *AssetRelationResp) MarshalTo(dAtA []byte) (int, error)
- func (*AssetRelationResp) ProtoMessage()
- func (m *AssetRelationResp) Reset()
- func (m *AssetRelationResp) Size() (n int)
- func (m *AssetRelationResp) String() string
- func (m *AssetRelationResp) Unmarshal(dAtA []byte) error
- type EmptyStruct
- func (*EmptyStruct) Descriptor() ([]byte, []int)
- func (m *EmptyStruct) Marshal() (dAtA []byte, err error)
- func (m *EmptyStruct) MarshalTo(dAtA []byte) (int, error)
- func (*EmptyStruct) ProtoMessage()
- func (m *EmptyStruct) Reset()
- func (m *EmptyStruct) Size() (n int)
- func (m *EmptyStruct) String() string
- func (m *EmptyStruct) Unmarshal(dAtA []byte) error
- type IncomeUserAsset
- func (*IncomeUserAsset) Descriptor() ([]byte, []int)
- func (m *IncomeUserAsset) GetCurrency() string
- func (m *IncomeUserAsset) GetNewBuyTimes() int64
- func (m *IncomeUserAsset) GetNewErrTimes() int64
- func (m *IncomeUserAsset) GetOid() int64
- func (m *IncomeUserAsset) GetOtype() string
- func (m *IncomeUserAsset) GetPrice() int64
- func (m *IncomeUserAsset) GetTotalBuyTimes() int64
- func (m *IncomeUserAsset) GetTotalErrTimes() int64
- func (m *IncomeUserAsset) Marshal() (dAtA []byte, err error)
- func (m *IncomeUserAsset) MarshalTo(dAtA []byte) (int, error)
- func (*IncomeUserAsset) ProtoMessage()
- func (m *IncomeUserAsset) Reset()
- func (m *IncomeUserAsset) Size() (n int)
- func (m *IncomeUserAsset) String() string
- func (m *IncomeUserAsset) Unmarshal(dAtA []byte) error
- type IncomeUserAssetListReq
- func (*IncomeUserAssetListReq) Descriptor() ([]byte, []int)
- func (m *IncomeUserAssetListReq) GetMid() int64
- func (m *IncomeUserAssetListReq) GetPn() int64
- func (m *IncomeUserAssetListReq) GetPs() int64
- func (m *IncomeUserAssetListReq) GetVer() int64
- func (m *IncomeUserAssetListReq) Marshal() (dAtA []byte, err error)
- func (m *IncomeUserAssetListReq) MarshalTo(dAtA []byte) (int, error)
- func (*IncomeUserAssetListReq) ProtoMessage()
- func (m *IncomeUserAssetListReq) Reset()
- func (m *IncomeUserAssetListReq) Size() (n int)
- func (m *IncomeUserAssetListReq) String() string
- func (m *IncomeUserAssetListReq) Unmarshal(dAtA []byte) error
- type IncomeUserAssetListResp
- func (*IncomeUserAssetListResp) Descriptor() ([]byte, []int)
- func (m *IncomeUserAssetListResp) GetList() []*IncomeUserAsset
- func (m *IncomeUserAssetListResp) GetPage() *Page
- func (m *IncomeUserAssetListResp) Marshal() (dAtA []byte, err error)
- func (m *IncomeUserAssetListResp) MarshalTo(dAtA []byte) (int, error)
- func (*IncomeUserAssetListResp) ProtoMessage()
- func (m *IncomeUserAssetListResp) Reset()
- func (m *IncomeUserAssetListResp) Size() (n int)
- func (m *IncomeUserAssetListResp) String() string
- func (m *IncomeUserAssetListResp) Unmarshal(dAtA []byte) error
- type IncomeUserAssetOverviewReq
- func (*IncomeUserAssetOverviewReq) Descriptor() ([]byte, []int)
- func (m *IncomeUserAssetOverviewReq) GetMid() int64
- func (m *IncomeUserAssetOverviewReq) Marshal() (dAtA []byte, err error)
- func (m *IncomeUserAssetOverviewReq) MarshalTo(dAtA []byte) (int, error)
- func (*IncomeUserAssetOverviewReq) ProtoMessage()
- func (m *IncomeUserAssetOverviewReq) Reset()
- func (m *IncomeUserAssetOverviewReq) Size() (n int)
- func (m *IncomeUserAssetOverviewReq) String() string
- func (m *IncomeUserAssetOverviewReq) Unmarshal(dAtA []byte) error
- type IncomeUserAssetOverviewResp
- func (*IncomeUserAssetOverviewResp) Descriptor() ([]byte, []int)
- func (m *IncomeUserAssetOverviewResp) GetDayNew() int64
- func (m *IncomeUserAssetOverviewResp) GetMonthNew() int64
- func (m *IncomeUserAssetOverviewResp) GetTotal() int64
- func (m *IncomeUserAssetOverviewResp) GetTotalBuyTimes() int64
- func (m *IncomeUserAssetOverviewResp) Marshal() (dAtA []byte, err error)
- func (m *IncomeUserAssetOverviewResp) MarshalTo(dAtA []byte) (int, error)
- func (*IncomeUserAssetOverviewResp) ProtoMessage()
- func (m *IncomeUserAssetOverviewResp) Reset()
- func (m *IncomeUserAssetOverviewResp) Size() (n int)
- func (m *IncomeUserAssetOverviewResp) String() string
- func (m *IncomeUserAssetOverviewResp) Unmarshal(dAtA []byte) error
- type Page
- func (*Page) Descriptor() ([]byte, []int)
- func (m *Page) GetNum() int64
- func (m *Page) GetSize_() int64
- func (m *Page) GetTotal() int64
- func (m *Page) Marshal() (dAtA []byte, err error)
- func (m *Page) MarshalTo(dAtA []byte) (int, error)
- func (*Page) ProtoMessage()
- func (m *Page) Reset()
- func (m *Page) Size() (n int)
- func (m *Page) String() string
- func (m *Page) Unmarshal(dAtA []byte) error
- type TradeCreateReq
- func (*TradeCreateReq) Descriptor() ([]byte, []int)
- func (m *TradeCreateReq) GetCurrency() string
- func (m *TradeCreateReq) GetMid() int64
- func (m *TradeCreateReq) GetOid() int64
- func (m *TradeCreateReq) GetOtype() string
- func (m *TradeCreateReq) GetPlatform() string
- func (m *TradeCreateReq) Marshal() (dAtA []byte, err error)
- func (m *TradeCreateReq) MarshalTo(dAtA []byte) (int, error)
- func (*TradeCreateReq) ProtoMessage()
- func (m *TradeCreateReq) Reset()
- func (m *TradeCreateReq) Size() (n int)
- func (m *TradeCreateReq) String() string
- func (m *TradeCreateReq) Unmarshal(dAtA []byte) error
- type TradeCreateResp
- func (*TradeCreateResp) Descriptor() ([]byte, []int)
- func (m *TradeCreateResp) GetOrderId() string
- func (m *TradeCreateResp) GetPayData() string
- func (m *TradeCreateResp) Marshal() (dAtA []byte, err error)
- func (m *TradeCreateResp) MarshalTo(dAtA []byte) (int, error)
- func (*TradeCreateResp) ProtoMessage()
- func (m *TradeCreateResp) Reset()
- func (m *TradeCreateResp) Size() (n int)
- func (m *TradeCreateResp) String() string
- func (m *TradeCreateResp) Unmarshal(dAtA []byte) error
- type TradeOrderReq
- func (*TradeOrderReq) Descriptor() ([]byte, []int)
- func (m *TradeOrderReq) GetId() string
- func (m *TradeOrderReq) Marshal() (dAtA []byte, err error)
- func (m *TradeOrderReq) MarshalTo(dAtA []byte) (int, error)
- func (*TradeOrderReq) ProtoMessage()
- func (m *TradeOrderReq) Reset()
- func (m *TradeOrderReq) Size() (n int)
- func (m *TradeOrderReq) String() string
- func (m *TradeOrderReq) Unmarshal(dAtA []byte) error
- type TradeOrderResp
- func (*TradeOrderResp) Descriptor() ([]byte, []int)
- func (m *TradeOrderResp) GetBiz() string
- func (m *TradeOrderResp) GetCurrency() string
- func (m *TradeOrderResp) GetFee() int64
- func (m *TradeOrderResp) GetMid() int64
- func (m *TradeOrderResp) GetOid() int64
- func (m *TradeOrderResp) GetOrderId() string
- func (m *TradeOrderResp) GetOtype() string
- func (m *TradeOrderResp) GetPayId() string
- func (m *TradeOrderResp) GetPlatform() string
- func (m *TradeOrderResp) GetReason() string
- func (m *TradeOrderResp) GetState() string
- func (m *TradeOrderResp) Marshal() (dAtA []byte, err error)
- func (m *TradeOrderResp) MarshalTo(dAtA []byte) (int, error)
- func (*TradeOrderResp) ProtoMessage()
- func (m *TradeOrderResp) Reset()
- func (m *TradeOrderResp) Size() (n int)
- func (m *TradeOrderResp) String() string
- func (m *TradeOrderResp) Unmarshal(dAtA []byte) error
- type UGCPayClient
- type UGCPayServer
Constants ¶
View Source
const AppID = "account.service.ugcpay"
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 RegisterUGCPayServer ¶
func RegisterUGCPayServer(s *grpc.Server, srv UGCPayServer)
Types ¶
type AssetQueryReq ¶
type AssetQueryReq struct { // oid 内容ID Oid int64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` // otype 内容类型 Otype string `protobuf:"bytes,2,opt,name=otype,proto3" json:"otype,omitempty"` // currency 货币类型 Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"` }
func (*AssetQueryReq) Descriptor ¶
func (*AssetQueryReq) Descriptor() ([]byte, []int)
func (*AssetQueryReq) GetCurrency ¶
func (m *AssetQueryReq) GetCurrency() string
func (*AssetQueryReq) GetOid ¶
func (m *AssetQueryReq) GetOid() int64
func (*AssetQueryReq) GetOtype ¶
func (m *AssetQueryReq) GetOtype() string
func (*AssetQueryReq) Marshal ¶
func (m *AssetQueryReq) Marshal() (dAtA []byte, err error)
func (*AssetQueryReq) ProtoMessage ¶
func (*AssetQueryReq) ProtoMessage()
func (*AssetQueryReq) Reset ¶
func (m *AssetQueryReq) Reset()
func (*AssetQueryReq) Size ¶
func (m *AssetQueryReq) Size() (n int)
func (*AssetQueryReq) String ¶
func (m *AssetQueryReq) String() string
func (*AssetQueryReq) Unmarshal ¶
func (m *AssetQueryReq) Unmarshal(dAtA []byte) error
type AssetQueryResp ¶
type AssetQueryResp struct { // price 内容注册价格(分) Price int64 `protobuf:"varint,1,opt,name=price,proto3" json:"price,omitempty"` // platform_price 平台价格(分) PlatformPrice map[string]int64 `` /* 182-byte string literal not displayed */ }
func (*AssetQueryResp) Descriptor ¶
func (*AssetQueryResp) Descriptor() ([]byte, []int)
func (*AssetQueryResp) GetPlatformPrice ¶
func (m *AssetQueryResp) GetPlatformPrice() map[string]int64
func (*AssetQueryResp) GetPrice ¶
func (m *AssetQueryResp) GetPrice() int64
func (*AssetQueryResp) Marshal ¶
func (m *AssetQueryResp) Marshal() (dAtA []byte, err error)
func (*AssetQueryResp) ProtoMessage ¶
func (*AssetQueryResp) ProtoMessage()
func (*AssetQueryResp) Reset ¶
func (m *AssetQueryResp) Reset()
func (*AssetQueryResp) Size ¶
func (m *AssetQueryResp) Size() (n int)
func (*AssetQueryResp) String ¶
func (m *AssetQueryResp) String() string
func (*AssetQueryResp) Unmarshal ¶
func (m *AssetQueryResp) Unmarshal(dAtA []byte) error
type AssetRegisterReq ¶
type AssetRegisterReq struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"` // oid 内容ID Oid int64 `protobuf:"varint,2,opt,name=oid,proto3" json:"oid,omitempty"` // otype 内容类型 Otype string `protobuf:"bytes,3,opt,name=otype,proto3" json:"otype,omitempty"` // currency 货币类型 Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"` // price 注册价格(分) Price int64 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"` }
func (*AssetRegisterReq) Descriptor ¶
func (*AssetRegisterReq) Descriptor() ([]byte, []int)
func (*AssetRegisterReq) GetCurrency ¶
func (m *AssetRegisterReq) GetCurrency() string
func (*AssetRegisterReq) GetMid ¶
func (m *AssetRegisterReq) GetMid() int64
func (*AssetRegisterReq) GetOid ¶
func (m *AssetRegisterReq) GetOid() int64
func (*AssetRegisterReq) GetOtype ¶
func (m *AssetRegisterReq) GetOtype() string
func (*AssetRegisterReq) GetPrice ¶
func (m *AssetRegisterReq) GetPrice() int64
func (*AssetRegisterReq) Marshal ¶
func (m *AssetRegisterReq) Marshal() (dAtA []byte, err error)
func (*AssetRegisterReq) ProtoMessage ¶
func (*AssetRegisterReq) ProtoMessage()
func (*AssetRegisterReq) Reset ¶
func (m *AssetRegisterReq) Reset()
func (*AssetRegisterReq) Size ¶
func (m *AssetRegisterReq) Size() (n int)
func (*AssetRegisterReq) String ¶
func (m *AssetRegisterReq) String() string
func (*AssetRegisterReq) Unmarshal ¶
func (m *AssetRegisterReq) Unmarshal(dAtA []byte) error
type AssetRelationDetailReq ¶
type AssetRelationDetailReq struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"` // oid 内容ID Oid int64 `protobuf:"varint,2,opt,name=oid,proto3" json:"oid,omitempty"` // otype 内容类型 Otype string `protobuf:"bytes,3,opt,name=otype,proto3" json:"otype,omitempty"` // currency 货币类型 Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"` }
func (*AssetRelationDetailReq) Descriptor ¶
func (*AssetRelationDetailReq) Descriptor() ([]byte, []int)
func (*AssetRelationDetailReq) GetCurrency ¶
func (m *AssetRelationDetailReq) GetCurrency() string
func (*AssetRelationDetailReq) GetMid ¶
func (m *AssetRelationDetailReq) GetMid() int64
func (*AssetRelationDetailReq) GetOid ¶
func (m *AssetRelationDetailReq) GetOid() int64
func (*AssetRelationDetailReq) GetOtype ¶
func (m *AssetRelationDetailReq) GetOtype() string
func (*AssetRelationDetailReq) Marshal ¶
func (m *AssetRelationDetailReq) Marshal() (dAtA []byte, err error)
func (*AssetRelationDetailReq) MarshalTo ¶
func (m *AssetRelationDetailReq) MarshalTo(dAtA []byte) (int, error)
func (*AssetRelationDetailReq) ProtoMessage ¶
func (*AssetRelationDetailReq) ProtoMessage()
func (*AssetRelationDetailReq) Reset ¶
func (m *AssetRelationDetailReq) Reset()
func (*AssetRelationDetailReq) Size ¶
func (m *AssetRelationDetailReq) Size() (n int)
func (*AssetRelationDetailReq) String ¶
func (m *AssetRelationDetailReq) String() string
func (*AssetRelationDetailReq) Unmarshal ¶
func (m *AssetRelationDetailReq) Unmarshal(dAtA []byte) error
type AssetRelationDetailResp ¶
type AssetRelationDetailResp struct { // relation_state 关系状态 RelationState string `protobuf:"bytes,1,opt,name=relation_state,json=relationState,proto3" json:"relation_state,omitempty"` // asset_price 内容注册价格(分) AssetPrice int64 `protobuf:"varint,2,opt,name=asset_price,json=assetPrice,proto3" json:"asset_price,omitempty"` // asset_platform_price 平台价格(分) AssetPlatformPrice map[string]int64 `` /* 199-byte string literal not displayed */ }
func (*AssetRelationDetailResp) Descriptor ¶
func (*AssetRelationDetailResp) Descriptor() ([]byte, []int)
func (*AssetRelationDetailResp) GetAssetPlatformPrice ¶
func (m *AssetRelationDetailResp) GetAssetPlatformPrice() map[string]int64
func (*AssetRelationDetailResp) GetAssetPrice ¶
func (m *AssetRelationDetailResp) GetAssetPrice() int64
func (*AssetRelationDetailResp) GetRelationState ¶
func (m *AssetRelationDetailResp) GetRelationState() string
func (*AssetRelationDetailResp) Marshal ¶
func (m *AssetRelationDetailResp) Marshal() (dAtA []byte, err error)
func (*AssetRelationDetailResp) MarshalTo ¶
func (m *AssetRelationDetailResp) MarshalTo(dAtA []byte) (int, error)
func (*AssetRelationDetailResp) ProtoMessage ¶
func (*AssetRelationDetailResp) ProtoMessage()
func (*AssetRelationDetailResp) Reset ¶
func (m *AssetRelationDetailResp) Reset()
func (*AssetRelationDetailResp) Size ¶
func (m *AssetRelationDetailResp) Size() (n int)
func (*AssetRelationDetailResp) String ¶
func (m *AssetRelationDetailResp) String() string
func (*AssetRelationDetailResp) Unmarshal ¶
func (m *AssetRelationDetailResp) Unmarshal(dAtA []byte) error
type AssetRelationReq ¶
type AssetRelationReq struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"` // oid 内容ID Oid int64 `protobuf:"varint,2,opt,name=oid,proto3" json:"oid,omitempty"` // otype 内容类型 Otype string `protobuf:"bytes,3,opt,name=otype,proto3" json:"otype,omitempty"` }
func (*AssetRelationReq) Descriptor ¶
func (*AssetRelationReq) Descriptor() ([]byte, []int)
func (*AssetRelationReq) GetMid ¶
func (m *AssetRelationReq) GetMid() int64
func (*AssetRelationReq) GetOid ¶
func (m *AssetRelationReq) GetOid() int64
func (*AssetRelationReq) GetOtype ¶
func (m *AssetRelationReq) GetOtype() string
func (*AssetRelationReq) Marshal ¶
func (m *AssetRelationReq) Marshal() (dAtA []byte, err error)
func (*AssetRelationReq) ProtoMessage ¶
func (*AssetRelationReq) ProtoMessage()
func (*AssetRelationReq) Reset ¶
func (m *AssetRelationReq) Reset()
func (*AssetRelationReq) Size ¶
func (m *AssetRelationReq) Size() (n int)
func (*AssetRelationReq) String ¶
func (m *AssetRelationReq) String() string
func (*AssetRelationReq) Unmarshal ¶
func (m *AssetRelationReq) Unmarshal(dAtA []byte) error
type AssetRelationResp ¶
type AssetRelationResp struct { // state 关系状态 State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` }
func (*AssetRelationResp) Descriptor ¶
func (*AssetRelationResp) Descriptor() ([]byte, []int)
func (*AssetRelationResp) GetState ¶
func (m *AssetRelationResp) GetState() string
func (*AssetRelationResp) Marshal ¶
func (m *AssetRelationResp) Marshal() (dAtA []byte, err error)
func (*AssetRelationResp) MarshalTo ¶
func (m *AssetRelationResp) MarshalTo(dAtA []byte) (int, error)
func (*AssetRelationResp) ProtoMessage ¶
func (*AssetRelationResp) ProtoMessage()
func (*AssetRelationResp) Reset ¶
func (m *AssetRelationResp) Reset()
func (*AssetRelationResp) Size ¶
func (m *AssetRelationResp) Size() (n int)
func (*AssetRelationResp) String ¶
func (m *AssetRelationResp) String() string
func (*AssetRelationResp) Unmarshal ¶
func (m *AssetRelationResp) Unmarshal(dAtA []byte) error
type EmptyStruct ¶
type EmptyStruct struct { }
EmptyStruct,填充返回值
func (*EmptyStruct) Descriptor ¶
func (*EmptyStruct) Descriptor() ([]byte, []int)
func (*EmptyStruct) Marshal ¶
func (m *EmptyStruct) Marshal() (dAtA []byte, err error)
func (*EmptyStruct) ProtoMessage ¶
func (*EmptyStruct) ProtoMessage()
func (*EmptyStruct) Reset ¶
func (m *EmptyStruct) Reset()
func (*EmptyStruct) Size ¶
func (m *EmptyStruct) Size() (n int)
func (*EmptyStruct) String ¶
func (m *EmptyStruct) String() string
func (*EmptyStruct) Unmarshal ¶
func (m *EmptyStruct) Unmarshal(dAtA []byte) error
type IncomeUserAsset ¶
type IncomeUserAsset struct { Oid int64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` Otype string `protobuf:"bytes,2,opt,name=otype,proto3" json:"otype,omitempty"` Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"` Price int64 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"` TotalBuyTimes int64 `protobuf:"varint,5,opt,name=total_buy_times,json=totalBuyTimes,proto3" json:"total_buy_times,omitempty"` NewBuyTimes int64 `protobuf:"varint,6,opt,name=new_buy_times,json=newBuyTimes,proto3" json:"new_buy_times,omitempty"` TotalErrTimes int64 `protobuf:"varint,7,opt,name=total_err_times,json=totalErrTimes,proto3" json:"total_err_times,omitempty"` NewErrTimes int64 `protobuf:"varint,8,opt,name=new_err_times,json=newErrTimes,proto3" json:"new_err_times,omitempty"` }
func (*IncomeUserAsset) Descriptor ¶
func (*IncomeUserAsset) Descriptor() ([]byte, []int)
func (*IncomeUserAsset) GetCurrency ¶
func (m *IncomeUserAsset) GetCurrency() string
func (*IncomeUserAsset) GetNewBuyTimes ¶
func (m *IncomeUserAsset) GetNewBuyTimes() int64
func (*IncomeUserAsset) GetNewErrTimes ¶
func (m *IncomeUserAsset) GetNewErrTimes() int64
func (*IncomeUserAsset) GetOid ¶
func (m *IncomeUserAsset) GetOid() int64
func (*IncomeUserAsset) GetOtype ¶
func (m *IncomeUserAsset) GetOtype() string
func (*IncomeUserAsset) GetPrice ¶
func (m *IncomeUserAsset) GetPrice() int64
func (*IncomeUserAsset) GetTotalBuyTimes ¶
func (m *IncomeUserAsset) GetTotalBuyTimes() int64
func (*IncomeUserAsset) GetTotalErrTimes ¶
func (m *IncomeUserAsset) GetTotalErrTimes() int64
func (*IncomeUserAsset) Marshal ¶
func (m *IncomeUserAsset) Marshal() (dAtA []byte, err error)
func (*IncomeUserAsset) ProtoMessage ¶
func (*IncomeUserAsset) ProtoMessage()
func (*IncomeUserAsset) Reset ¶
func (m *IncomeUserAsset) Reset()
func (*IncomeUserAsset) Size ¶
func (m *IncomeUserAsset) Size() (n int)
func (*IncomeUserAsset) String ¶
func (m *IncomeUserAsset) String() string
func (*IncomeUserAsset) Unmarshal ¶
func (m *IncomeUserAsset) Unmarshal(dAtA []byte) error
type IncomeUserAssetListReq ¶
type IncomeUserAssetListReq struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"` // ver 月版本号,如:201809 Ver int64 `protobuf:"varint,2,opt,name=ver,proto3" json:"ver,omitempty"` Ps int64 `protobuf:"varint,3,opt,name=ps,proto3" json:"ps,omitempty"` Pn int64 `protobuf:"varint,4,opt,name=pn,proto3" json:"pn,omitempty"` }
func (*IncomeUserAssetListReq) Descriptor ¶
func (*IncomeUserAssetListReq) Descriptor() ([]byte, []int)
func (*IncomeUserAssetListReq) GetMid ¶
func (m *IncomeUserAssetListReq) GetMid() int64
func (*IncomeUserAssetListReq) GetPn ¶
func (m *IncomeUserAssetListReq) GetPn() int64
func (*IncomeUserAssetListReq) GetPs ¶
func (m *IncomeUserAssetListReq) GetPs() int64
func (*IncomeUserAssetListReq) GetVer ¶
func (m *IncomeUserAssetListReq) GetVer() int64
func (*IncomeUserAssetListReq) Marshal ¶
func (m *IncomeUserAssetListReq) Marshal() (dAtA []byte, err error)
func (*IncomeUserAssetListReq) MarshalTo ¶
func (m *IncomeUserAssetListReq) MarshalTo(dAtA []byte) (int, error)
func (*IncomeUserAssetListReq) ProtoMessage ¶
func (*IncomeUserAssetListReq) ProtoMessage()
func (*IncomeUserAssetListReq) Reset ¶
func (m *IncomeUserAssetListReq) Reset()
func (*IncomeUserAssetListReq) Size ¶
func (m *IncomeUserAssetListReq) Size() (n int)
func (*IncomeUserAssetListReq) String ¶
func (m *IncomeUserAssetListReq) String() string
func (*IncomeUserAssetListReq) Unmarshal ¶
func (m *IncomeUserAssetListReq) Unmarshal(dAtA []byte) error
type IncomeUserAssetListResp ¶
type IncomeUserAssetListResp struct { // list 内容维度月收入信息 List []*IncomeUserAsset `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"` Page *Page `protobuf:"bytes,2,opt,name=page" json:"page,omitempty"` }
func (*IncomeUserAssetListResp) Descriptor ¶
func (*IncomeUserAssetListResp) Descriptor() ([]byte, []int)
func (*IncomeUserAssetListResp) GetList ¶
func (m *IncomeUserAssetListResp) GetList() []*IncomeUserAsset
func (*IncomeUserAssetListResp) GetPage ¶
func (m *IncomeUserAssetListResp) GetPage() *Page
func (*IncomeUserAssetListResp) Marshal ¶
func (m *IncomeUserAssetListResp) Marshal() (dAtA []byte, err error)
func (*IncomeUserAssetListResp) MarshalTo ¶
func (m *IncomeUserAssetListResp) MarshalTo(dAtA []byte) (int, error)
func (*IncomeUserAssetListResp) ProtoMessage ¶
func (*IncomeUserAssetListResp) ProtoMessage()
func (*IncomeUserAssetListResp) Reset ¶
func (m *IncomeUserAssetListResp) Reset()
func (*IncomeUserAssetListResp) Size ¶
func (m *IncomeUserAssetListResp) Size() (n int)
func (*IncomeUserAssetListResp) String ¶
func (m *IncomeUserAssetListResp) String() string
func (*IncomeUserAssetListResp) Unmarshal ¶
func (m *IncomeUserAssetListResp) Unmarshal(dAtA []byte) error
type IncomeUserAssetOverviewReq ¶
type IncomeUserAssetOverviewReq struct {
Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
}
func (*IncomeUserAssetOverviewReq) Descriptor ¶
func (*IncomeUserAssetOverviewReq) Descriptor() ([]byte, []int)
func (*IncomeUserAssetOverviewReq) GetMid ¶
func (m *IncomeUserAssetOverviewReq) GetMid() int64
func (*IncomeUserAssetOverviewReq) Marshal ¶
func (m *IncomeUserAssetOverviewReq) Marshal() (dAtA []byte, err error)
func (*IncomeUserAssetOverviewReq) MarshalTo ¶
func (m *IncomeUserAssetOverviewReq) MarshalTo(dAtA []byte) (int, error)
func (*IncomeUserAssetOverviewReq) ProtoMessage ¶
func (*IncomeUserAssetOverviewReq) ProtoMessage()
func (*IncomeUserAssetOverviewReq) Reset ¶
func (m *IncomeUserAssetOverviewReq) Reset()
func (*IncomeUserAssetOverviewReq) Size ¶
func (m *IncomeUserAssetOverviewReq) Size() (n int)
func (*IncomeUserAssetOverviewReq) String ¶
func (m *IncomeUserAssetOverviewReq) String() string
func (*IncomeUserAssetOverviewReq) Unmarshal ¶
func (m *IncomeUserAssetOverviewReq) Unmarshal(dAtA []byte) error
type IncomeUserAssetOverviewResp ¶
type IncomeUserAssetOverviewResp struct { // total 累计收入 Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // total_buy_times 累计购买次数 TotalBuyTimes int64 `protobuf:"varint,2,opt,name=total_buy_times,json=totalBuyTimes,proto3" json:"total_buy_times,omitempty"` // month_new �新增月收入(待结算) MonthNew int64 `protobuf:"varint,3,opt,name=month_new,json=monthNew,proto3" json:"month_new,omitempty"` // day_new 新增日收入(待结算) DayNew int64 `protobuf:"varint,4,opt,name=day_new,json=dayNew,proto3" json:"day_new,omitempty"` }
func (*IncomeUserAssetOverviewResp) Descriptor ¶
func (*IncomeUserAssetOverviewResp) Descriptor() ([]byte, []int)
func (*IncomeUserAssetOverviewResp) GetDayNew ¶
func (m *IncomeUserAssetOverviewResp) GetDayNew() int64
func (*IncomeUserAssetOverviewResp) GetMonthNew ¶
func (m *IncomeUserAssetOverviewResp) GetMonthNew() int64
func (*IncomeUserAssetOverviewResp) GetTotal ¶
func (m *IncomeUserAssetOverviewResp) GetTotal() int64
func (*IncomeUserAssetOverviewResp) GetTotalBuyTimes ¶
func (m *IncomeUserAssetOverviewResp) GetTotalBuyTimes() int64
func (*IncomeUserAssetOverviewResp) Marshal ¶
func (m *IncomeUserAssetOverviewResp) Marshal() (dAtA []byte, err error)
func (*IncomeUserAssetOverviewResp) MarshalTo ¶
func (m *IncomeUserAssetOverviewResp) MarshalTo(dAtA []byte) (int, error)
func (*IncomeUserAssetOverviewResp) ProtoMessage ¶
func (*IncomeUserAssetOverviewResp) ProtoMessage()
func (*IncomeUserAssetOverviewResp) Reset ¶
func (m *IncomeUserAssetOverviewResp) Reset()
func (*IncomeUserAssetOverviewResp) Size ¶
func (m *IncomeUserAssetOverviewResp) Size() (n int)
func (*IncomeUserAssetOverviewResp) String ¶
func (m *IncomeUserAssetOverviewResp) String() string
func (*IncomeUserAssetOverviewResp) Unmarshal ¶
func (m *IncomeUserAssetOverviewResp) Unmarshal(dAtA []byte) error
type Page ¶
type Page struct { Num int64 `protobuf:"varint,1,opt,name=Num,proto3" json:"Num,omitempty"` Size_ int64 `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"` Total int64 `protobuf:"varint,3,opt,name=Total,proto3" json:"Total,omitempty"` }
func (*Page) Descriptor ¶
func (*Page) ProtoMessage ¶
func (*Page) ProtoMessage()
type TradeCreateReq ¶
type TradeCreateReq struct { // platform 支付平台 Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"` // oid 内容ID Oid int64 `protobuf:"varint,3,opt,name=oid,proto3" json:"oid,omitempty"` // otype 内容类型 Otype string `protobuf:"bytes,4,opt,name=otype,proto3" json:"otype,omitempty"` // currency 货币类型 Currency string `protobuf:"bytes,5,opt,name=currency,proto3" json:"currency,omitempty"` }
func (*TradeCreateReq) Descriptor ¶
func (*TradeCreateReq) Descriptor() ([]byte, []int)
func (*TradeCreateReq) GetCurrency ¶
func (m *TradeCreateReq) GetCurrency() string
func (*TradeCreateReq) GetMid ¶
func (m *TradeCreateReq) GetMid() int64
func (*TradeCreateReq) GetOid ¶
func (m *TradeCreateReq) GetOid() int64
func (*TradeCreateReq) GetOtype ¶
func (m *TradeCreateReq) GetOtype() string
func (*TradeCreateReq) GetPlatform ¶
func (m *TradeCreateReq) GetPlatform() string
func (*TradeCreateReq) Marshal ¶
func (m *TradeCreateReq) Marshal() (dAtA []byte, err error)
func (*TradeCreateReq) ProtoMessage ¶
func (*TradeCreateReq) ProtoMessage()
func (*TradeCreateReq) Reset ¶
func (m *TradeCreateReq) Reset()
func (*TradeCreateReq) Size ¶
func (m *TradeCreateReq) Size() (n int)
func (*TradeCreateReq) String ¶
func (m *TradeCreateReq) String() string
func (*TradeCreateReq) Unmarshal ¶
func (m *TradeCreateReq) Unmarshal(dAtA []byte) error
type TradeCreateResp ¶
type TradeCreateResp struct { // order_id 订单ID OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // pay_data 支付平台参数 PayData string `protobuf:"bytes,2,opt,name=pay_data,json=payData,proto3" json:"pay_data,omitempty"` }
func (*TradeCreateResp) Descriptor ¶
func (*TradeCreateResp) Descriptor() ([]byte, []int)
func (*TradeCreateResp) GetOrderId ¶
func (m *TradeCreateResp) GetOrderId() string
func (*TradeCreateResp) GetPayData ¶
func (m *TradeCreateResp) GetPayData() string
func (*TradeCreateResp) Marshal ¶
func (m *TradeCreateResp) Marshal() (dAtA []byte, err error)
func (*TradeCreateResp) ProtoMessage ¶
func (*TradeCreateResp) ProtoMessage()
func (*TradeCreateResp) Reset ¶
func (m *TradeCreateResp) Reset()
func (*TradeCreateResp) Size ¶
func (m *TradeCreateResp) Size() (n int)
func (*TradeCreateResp) String ¶
func (m *TradeCreateResp) String() string
func (*TradeCreateResp) Unmarshal ¶
func (m *TradeCreateResp) Unmarshal(dAtA []byte) error
type TradeOrderReq ¶
type TradeOrderReq struct { // id 订单号 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` }
func (*TradeOrderReq) Descriptor ¶
func (*TradeOrderReq) Descriptor() ([]byte, []int)
func (*TradeOrderReq) GetId ¶
func (m *TradeOrderReq) GetId() string
func (*TradeOrderReq) Marshal ¶
func (m *TradeOrderReq) Marshal() (dAtA []byte, err error)
func (*TradeOrderReq) ProtoMessage ¶
func (*TradeOrderReq) ProtoMessage()
func (*TradeOrderReq) Reset ¶
func (m *TradeOrderReq) Reset()
func (*TradeOrderReq) Size ¶
func (m *TradeOrderReq) Size() (n int)
func (*TradeOrderReq) String ¶
func (m *TradeOrderReq) String() string
func (*TradeOrderReq) Unmarshal ¶
func (m *TradeOrderReq) Unmarshal(dAtA []byte) error
type TradeOrderResp ¶
type TradeOrderResp struct { // order_id 订单号 OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"` // biz 业务渠道 Biz string `protobuf:"bytes,3,opt,name=biz,proto3" json:"biz,omitempty"` // platform 支付平台 Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"` Oid int64 `protobuf:"varint,5,opt,name=oid,proto3" json:"oid,omitempty"` Otype string `protobuf:"bytes,6,opt,name=otype,proto3" json:"otype,omitempty"` // fee 支付费用 Fee int64 `protobuf:"varint,7,opt,name=fee,proto3" json:"fee,omitempty"` // currency 货币类型 Currency string `protobuf:"bytes,8,opt,name=currency,proto3" json:"currency,omitempty"` // pay_id 支付平台支付ID PayId string `protobuf:"bytes,9,opt,name=pay_id,json=payId,proto3" json:"pay_id,omitempty"` // state 订单状态 State string `protobuf:"bytes,10,opt,name=state,proto3" json:"state,omitempty"` Reason string `protobuf:"bytes,11,opt,name=reason,proto3" json:"reason,omitempty"` }
func (*TradeOrderResp) Descriptor ¶
func (*TradeOrderResp) Descriptor() ([]byte, []int)
func (*TradeOrderResp) GetBiz ¶
func (m *TradeOrderResp) GetBiz() string
func (*TradeOrderResp) GetCurrency ¶
func (m *TradeOrderResp) GetCurrency() string
func (*TradeOrderResp) GetFee ¶
func (m *TradeOrderResp) GetFee() int64
func (*TradeOrderResp) GetMid ¶
func (m *TradeOrderResp) GetMid() int64
func (*TradeOrderResp) GetOid ¶
func (m *TradeOrderResp) GetOid() int64
func (*TradeOrderResp) GetOrderId ¶
func (m *TradeOrderResp) GetOrderId() string
func (*TradeOrderResp) GetOtype ¶
func (m *TradeOrderResp) GetOtype() string
func (*TradeOrderResp) GetPayId ¶
func (m *TradeOrderResp) GetPayId() string
func (*TradeOrderResp) GetPlatform ¶
func (m *TradeOrderResp) GetPlatform() string
func (*TradeOrderResp) GetReason ¶
func (m *TradeOrderResp) GetReason() string
func (*TradeOrderResp) GetState ¶
func (m *TradeOrderResp) GetState() string
func (*TradeOrderResp) Marshal ¶
func (m *TradeOrderResp) Marshal() (dAtA []byte, err error)
func (*TradeOrderResp) ProtoMessage ¶
func (*TradeOrderResp) ProtoMessage()
func (*TradeOrderResp) Reset ¶
func (m *TradeOrderResp) Reset()
func (*TradeOrderResp) Size ¶
func (m *TradeOrderResp) Size() (n int)
func (*TradeOrderResp) String ¶
func (m *TradeOrderResp) String() string
func (*TradeOrderResp) Unmarshal ¶
func (m *TradeOrderResp) Unmarshal(dAtA []byte) error
type UGCPayClient ¶
type UGCPayClient interface { // AssetRegister 内容注册 AssetRegister(ctx context.Context, in *AssetRegisterReq, opts ...grpc.CallOption) (*EmptyStruct, error) // AssetQuery 内容查询 AssetQuery(ctx context.Context, in *AssetQueryReq, opts ...grpc.CallOption) (*AssetQueryResp, error) // AssetRelation 内容关系查询 AssetRelation(ctx context.Context, in *AssetRelationReq, opts ...grpc.CallOption) (*AssetRelationResp, error) // AssetRelationDetail 内容关系详情 AssetRelationDetail(ctx context.Context, in *AssetRelationDetailReq, opts ...grpc.CallOption) (*AssetRelationDetailResp, error) // TradeCreate �支付创建 TradeCreate(ctx context.Context, in *TradeCreateReq, opts ...grpc.CallOption) (*TradeCreateResp, error) // TradeQuery 支付查询 TradeQuery(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*TradeOrderResp, error) // TradeCancel 支付取消 TradeCancel(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*EmptyStruct, error) // TradeConfirm 支付确认(请求支付平台) TradeConfirm(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*TradeOrderResp, error) // TradeRefund 支付退款(原路返回) TradeRefund(ctx context.Context, in *TradeOrderReq, opts ...grpc.CallOption) (*EmptyStruct, error) // IncomeUserAssetOverview 用户收入总览 IncomeUserAssetOverview(ctx context.Context, in *IncomeUserAssetOverviewReq, opts ...grpc.CallOption) (*IncomeUserAssetOverviewResp, error) // IncomeUserAssetList 用户资产维度收入 IncomeUserAssetList(ctx context.Context, in *IncomeUserAssetListReq, opts ...grpc.CallOption) (*IncomeUserAssetListResp, error) }
func NewClient ¶
func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (UGCPayClient, error)
NewClient new identify grpc client
func NewUGCPayClient ¶
func NewUGCPayClient(cc *grpc.ClientConn) UGCPayClient
type UGCPayServer ¶
type UGCPayServer interface { // AssetRegister 内容注册 AssetRegister(context.Context, *AssetRegisterReq) (*EmptyStruct, error) // AssetQuery 内容查询 AssetQuery(context.Context, *AssetQueryReq) (*AssetQueryResp, error) // AssetRelation 内容关系查询 AssetRelation(context.Context, *AssetRelationReq) (*AssetRelationResp, error) // AssetRelationDetail 内容关系详情 AssetRelationDetail(context.Context, *AssetRelationDetailReq) (*AssetRelationDetailResp, error) // TradeCreate �支付创建 TradeCreate(context.Context, *TradeCreateReq) (*TradeCreateResp, error) // TradeQuery 支付查询 TradeQuery(context.Context, *TradeOrderReq) (*TradeOrderResp, error) // TradeCancel 支付取消 TradeCancel(context.Context, *TradeOrderReq) (*EmptyStruct, error) // TradeConfirm 支付确认(请求支付平台) TradeConfirm(context.Context, *TradeOrderReq) (*TradeOrderResp, error) // TradeRefund 支付退款(原路返回) TradeRefund(context.Context, *TradeOrderReq) (*EmptyStruct, error) // IncomeUserAssetOverview 用户收入总览 IncomeUserAssetOverview(context.Context, *IncomeUserAssetOverviewReq) (*IncomeUserAssetOverviewResp, error) // IncomeUserAssetList 用户资产维度收入 IncomeUserAssetList(context.Context, *IncomeUserAssetListReq) (*IncomeUserAssetListResp, error) }
Click to show internal directories.
Click to hide internal directories.