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: 8 Imported by: 0

Documentation

Overview

Package v1 is a generated liverpc stub package. This code was generated with go-common/app/tool/liverpc/protoc-gen-liverpc v0.1.

It is generated from these files:

v1/Gift.proto

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type Gift

type Gift interface {
	// * 增加包裹道具
	//
	AddFreeGift(context.Context, *GiftAddFreeGiftReq) (*GiftAddFreeGiftResp, error)
}

func NewGiftRpcClient

func NewGiftRpcClient(client *liverpc.Client) Gift

NewGiftRpcClient creates a Rpc client that implements the Gift interface. It communicates using Rpc and can be configured with a custom HTTPClient.

type GiftAddFreeGiftReq

type GiftAddFreeGiftReq struct {
	// 用户uid
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
	// 礼物id
	Giftid int64 `protobuf:"varint,2,opt,name=giftid,proto3" json:"giftid"`
	// 数量
	Num int64 `protobuf:"varint,3,opt,name=num,proto3" json:"num"`
	// 过期时间
	Expireat int64 `protobuf:"varint,4,opt,name=expireat,proto3" json:"expireat"`
	//
	Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code"`
	//
	Caller string `protobuf:"bytes,6,opt,name=caller,proto3" json:"caller"`
}

func (*GiftAddFreeGiftReq) Descriptor

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

func (*GiftAddFreeGiftReq) GetCaller

func (m *GiftAddFreeGiftReq) GetCaller() string

func (*GiftAddFreeGiftReq) GetCode

func (m *GiftAddFreeGiftReq) GetCode() string

func (*GiftAddFreeGiftReq) GetExpireat

func (m *GiftAddFreeGiftReq) GetExpireat() int64

func (*GiftAddFreeGiftReq) GetGiftid

func (m *GiftAddFreeGiftReq) GetGiftid() int64

func (*GiftAddFreeGiftReq) GetNum

func (m *GiftAddFreeGiftReq) GetNum() int64

func (*GiftAddFreeGiftReq) GetUid

func (m *GiftAddFreeGiftReq) GetUid() int64

func (*GiftAddFreeGiftReq) Marshal

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

func (*GiftAddFreeGiftReq) MarshalTo

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

func (*GiftAddFreeGiftReq) ProtoMessage

func (*GiftAddFreeGiftReq) ProtoMessage()

func (*GiftAddFreeGiftReq) Reset

func (m *GiftAddFreeGiftReq) Reset()

func (*GiftAddFreeGiftReq) Size

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

func (*GiftAddFreeGiftReq) String

func (m *GiftAddFreeGiftReq) String() string

func (*GiftAddFreeGiftReq) Unmarshal

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

func (*GiftAddFreeGiftReq) XXX_DiscardUnknown

func (m *GiftAddFreeGiftReq) XXX_DiscardUnknown()

func (*GiftAddFreeGiftReq) XXX_Marshal

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

func (*GiftAddFreeGiftReq) XXX_Merge

func (dst *GiftAddFreeGiftReq) XXX_Merge(src proto.Message)

func (*GiftAddFreeGiftReq) XXX_Size

func (m *GiftAddFreeGiftReq) XXX_Size() int

func (*GiftAddFreeGiftReq) XXX_Unmarshal

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

type GiftAddFreeGiftResp

type GiftAddFreeGiftResp struct {
	//
	Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
	//
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
	//
	Data *GiftAddFreeGiftResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
}

func (*GiftAddFreeGiftResp) Descriptor

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

func (*GiftAddFreeGiftResp) GetCode

func (m *GiftAddFreeGiftResp) GetCode() int64

func (*GiftAddFreeGiftResp) GetData

func (*GiftAddFreeGiftResp) GetMsg

func (m *GiftAddFreeGiftResp) GetMsg() string

func (*GiftAddFreeGiftResp) Marshal

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

func (*GiftAddFreeGiftResp) MarshalTo

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

func (*GiftAddFreeGiftResp) ProtoMessage

func (*GiftAddFreeGiftResp) ProtoMessage()

func (*GiftAddFreeGiftResp) Reset

func (m *GiftAddFreeGiftResp) Reset()

func (*GiftAddFreeGiftResp) Size

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

func (*GiftAddFreeGiftResp) String

func (m *GiftAddFreeGiftResp) String() string

func (*GiftAddFreeGiftResp) Unmarshal

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

func (*GiftAddFreeGiftResp) XXX_DiscardUnknown

func (m *GiftAddFreeGiftResp) XXX_DiscardUnknown()

func (*GiftAddFreeGiftResp) XXX_Marshal

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

func (*GiftAddFreeGiftResp) XXX_Merge

func (dst *GiftAddFreeGiftResp) XXX_Merge(src proto.Message)

func (*GiftAddFreeGiftResp) XXX_Size

func (m *GiftAddFreeGiftResp) XXX_Size() int

func (*GiftAddFreeGiftResp) XXX_Unmarshal

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

type GiftAddFreeGiftResp_Data

type GiftAddFreeGiftResp_Data struct {
	//
	BagId int64 `protobuf:"varint,1,opt,name=bag_id,json=bagId,proto3" json:"bag_id"`
}

func (*GiftAddFreeGiftResp_Data) Descriptor

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

func (*GiftAddFreeGiftResp_Data) GetBagId

func (m *GiftAddFreeGiftResp_Data) GetBagId() int64

func (*GiftAddFreeGiftResp_Data) Marshal

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

func (*GiftAddFreeGiftResp_Data) MarshalTo

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

func (*GiftAddFreeGiftResp_Data) ProtoMessage

func (*GiftAddFreeGiftResp_Data) ProtoMessage()

func (*GiftAddFreeGiftResp_Data) Reset

func (m *GiftAddFreeGiftResp_Data) Reset()

func (*GiftAddFreeGiftResp_Data) Size

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

func (*GiftAddFreeGiftResp_Data) String

func (m *GiftAddFreeGiftResp_Data) String() string

func (*GiftAddFreeGiftResp_Data) Unmarshal

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

func (*GiftAddFreeGiftResp_Data) XXX_DiscardUnknown

func (m *GiftAddFreeGiftResp_Data) XXX_DiscardUnknown()

func (*GiftAddFreeGiftResp_Data) XXX_Marshal

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

func (*GiftAddFreeGiftResp_Data) XXX_Merge

func (dst *GiftAddFreeGiftResp_Data) XXX_Merge(src proto.Message)

func (*GiftAddFreeGiftResp_Data) XXX_Size

func (m *GiftAddFreeGiftResp_Data) XXX_Size() int

func (*GiftAddFreeGiftResp_Data) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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