Documentation ¶
Overview ¶
Package v1 is a generated protocol buffer package.
use {app_id}.{version} as package name
It is generated from these files:
app/service/main/card/api/grpc/v1/api.proto
It has these top-level messages:
AllGroupReply AllGroupReq CardHotsReply CardHotsReq CardReply CardReq CardsByGidReply CardsByGidReq DemountEquipReply DemountEquipReq EquipReply EquipReq ModelAllGroupResp ModelArgEquip ModelCard ModelGroupInfo ModelUserCard UserCardReply UserCardReq UserCardsReply UserCardsReq
Index ¶
- Constants
- Variables
- func RegisterCardServer(s *grpc.Server, srv CardServer)
- type AllGroupReply
- func (*AllGroupReply) Descriptor() ([]byte, []int)
- func (m *AllGroupReply) GetRes() *ModelAllGroupResp
- func (m *AllGroupReply) Marshal() (dAtA []byte, err error)
- func (m *AllGroupReply) MarshalTo(dAtA []byte) (int, error)
- func (*AllGroupReply) ProtoMessage()
- func (m *AllGroupReply) Reset()
- func (m *AllGroupReply) Size() (n int)
- func (m *AllGroupReply) String() string
- func (m *AllGroupReply) Unmarshal(dAtA []byte) error
- type AllGroupReq
- func (*AllGroupReq) Descriptor() ([]byte, []int)
- func (m *AllGroupReq) GetMid() int64
- func (m *AllGroupReq) Marshal() (dAtA []byte, err error)
- func (m *AllGroupReq) MarshalTo(dAtA []byte) (int, error)
- func (*AllGroupReq) ProtoMessage()
- func (m *AllGroupReq) Reset()
- func (m *AllGroupReq) Size() (n int)
- func (m *AllGroupReq) String() string
- func (m *AllGroupReq) Unmarshal(dAtA []byte) error
- type CardClient
- type CardHotsReply
- func (*CardHotsReply) Descriptor() ([]byte, []int)
- func (m *CardHotsReply) GetData_0() []*ModelCard
- func (m *CardHotsReply) Marshal() (dAtA []byte, err error)
- func (m *CardHotsReply) MarshalTo(dAtA []byte) (int, error)
- func (*CardHotsReply) ProtoMessage()
- func (m *CardHotsReply) Reset()
- func (m *CardHotsReply) Size() (n int)
- func (m *CardHotsReply) String() string
- func (m *CardHotsReply) Unmarshal(dAtA []byte) error
- type CardHotsReq
- func (*CardHotsReq) Descriptor() ([]byte, []int)
- func (m *CardHotsReq) Marshal() (dAtA []byte, err error)
- func (m *CardHotsReq) MarshalTo(dAtA []byte) (int, error)
- func (*CardHotsReq) ProtoMessage()
- func (m *CardHotsReq) Reset()
- func (m *CardHotsReq) Size() (n int)
- func (m *CardHotsReq) String() string
- func (m *CardHotsReq) Unmarshal(dAtA []byte) error
- type CardReply
- func (*CardReply) Descriptor() ([]byte, []int)
- func (m *CardReply) GetData_0() *ModelCard
- func (m *CardReply) Marshal() (dAtA []byte, err error)
- func (m *CardReply) MarshalTo(dAtA []byte) (int, error)
- func (*CardReply) ProtoMessage()
- func (m *CardReply) Reset()
- func (m *CardReply) Size() (n int)
- func (m *CardReply) String() string
- func (m *CardReply) Unmarshal(dAtA []byte) error
- type CardReq
- func (*CardReq) Descriptor() ([]byte, []int)
- func (m *CardReq) GetId() int64
- func (m *CardReq) Marshal() (dAtA []byte, err error)
- func (m *CardReq) MarshalTo(dAtA []byte) (int, error)
- func (*CardReq) ProtoMessage()
- func (m *CardReq) Reset()
- func (m *CardReq) Size() (n int)
- func (m *CardReq) String() string
- func (m *CardReq) Unmarshal(dAtA []byte) error
- type CardServer
- type CardsByGidReply
- func (*CardsByGidReply) Descriptor() ([]byte, []int)
- func (m *CardsByGidReply) GetData_0() []*ModelCard
- func (m *CardsByGidReply) Marshal() (dAtA []byte, err error)
- func (m *CardsByGidReply) MarshalTo(dAtA []byte) (int, error)
- func (*CardsByGidReply) ProtoMessage()
- func (m *CardsByGidReply) Reset()
- func (m *CardsByGidReply) Size() (n int)
- func (m *CardsByGidReply) String() string
- func (m *CardsByGidReply) Unmarshal(dAtA []byte) error
- type CardsByGidReq
- func (*CardsByGidReq) Descriptor() ([]byte, []int)
- func (m *CardsByGidReq) GetGid() int64
- func (m *CardsByGidReq) Marshal() (dAtA []byte, err error)
- func (m *CardsByGidReq) MarshalTo(dAtA []byte) (int, error)
- func (*CardsByGidReq) ProtoMessage()
- func (m *CardsByGidReq) Reset()
- func (m *CardsByGidReq) Size() (n int)
- func (m *CardsByGidReq) String() string
- func (m *CardsByGidReq) Unmarshal(dAtA []byte) error
- type DemountEquipReply
- func (*DemountEquipReply) Descriptor() ([]byte, []int)
- func (m *DemountEquipReply) Marshal() (dAtA []byte, err error)
- func (m *DemountEquipReply) MarshalTo(dAtA []byte) (int, error)
- func (*DemountEquipReply) ProtoMessage()
- func (m *DemountEquipReply) Reset()
- func (m *DemountEquipReply) Size() (n int)
- func (m *DemountEquipReply) String() string
- func (m *DemountEquipReply) Unmarshal(dAtA []byte) error
- type DemountEquipReq
- func (*DemountEquipReq) Descriptor() ([]byte, []int)
- func (m *DemountEquipReq) GetMid() int64
- func (m *DemountEquipReq) Marshal() (dAtA []byte, err error)
- func (m *DemountEquipReq) MarshalTo(dAtA []byte) (int, error)
- func (*DemountEquipReq) ProtoMessage()
- func (m *DemountEquipReq) Reset()
- func (m *DemountEquipReq) Size() (n int)
- func (m *DemountEquipReq) String() string
- func (m *DemountEquipReq) Unmarshal(dAtA []byte) error
- type EquipReply
- func (*EquipReply) Descriptor() ([]byte, []int)
- func (m *EquipReply) Marshal() (dAtA []byte, err error)
- func (m *EquipReply) MarshalTo(dAtA []byte) (int, error)
- func (*EquipReply) ProtoMessage()
- func (m *EquipReply) Reset()
- func (m *EquipReply) Size() (n int)
- func (m *EquipReply) String() string
- func (m *EquipReply) Unmarshal(dAtA []byte) error
- type EquipReq
- func (*EquipReq) Descriptor() ([]byte, []int)
- func (m *EquipReq) GetArg() *ModelArgEquip
- func (m *EquipReq) Marshal() (dAtA []byte, err error)
- func (m *EquipReq) MarshalTo(dAtA []byte) (int, error)
- func (*EquipReq) ProtoMessage()
- func (m *EquipReq) Reset()
- func (m *EquipReq) Size() (n int)
- func (m *EquipReq) String() string
- func (m *EquipReq) Unmarshal(dAtA []byte) error
- type ModelAllGroupResp
- func (*ModelAllGroupResp) Descriptor() ([]byte, []int)
- func (m *ModelAllGroupResp) GetList() []*ModelGroupInfo
- func (m *ModelAllGroupResp) GetUserCard() *ModelUserCard
- func (m *ModelAllGroupResp) Marshal() (dAtA []byte, err error)
- func (m *ModelAllGroupResp) MarshalTo(dAtA []byte) (int, error)
- func (*ModelAllGroupResp) ProtoMessage()
- func (m *ModelAllGroupResp) Reset()
- func (m *ModelAllGroupResp) Size() (n int)
- func (m *ModelAllGroupResp) String() string
- func (m *ModelAllGroupResp) Unmarshal(dAtA []byte) error
- type ModelArgEquip
- func (*ModelArgEquip) Descriptor() ([]byte, []int)
- func (m *ModelArgEquip) GetCardId() int64
- func (m *ModelArgEquip) GetMid() int64
- func (m *ModelArgEquip) Marshal() (dAtA []byte, err error)
- func (m *ModelArgEquip) MarshalTo(dAtA []byte) (int, error)
- func (*ModelArgEquip) ProtoMessage()
- func (m *ModelArgEquip) Reset()
- func (m *ModelArgEquip) Size() (n int)
- func (m *ModelArgEquip) String() string
- func (m *ModelArgEquip) Unmarshal(dAtA []byte) error
- type ModelCard
- func (*ModelCard) Descriptor() ([]byte, []int)
- func (m *ModelCard) GetBigCardUrl() string
- func (m *ModelCard) GetCardType() int32
- func (m *ModelCard) GetCardTypeName() string
- func (m *ModelCard) GetCardUrl() string
- func (m *ModelCard) GetDeleted() int32
- func (m *ModelCard) GetId() int64
- func (m *ModelCard) GetIsHot() int32
- func (m *ModelCard) GetName() string
- func (m *ModelCard) GetState() int32
- func (m *ModelCard) Marshal() (dAtA []byte, err error)
- func (m *ModelCard) MarshalTo(dAtA []byte) (int, error)
- func (*ModelCard) ProtoMessage()
- func (m *ModelCard) Reset()
- func (m *ModelCard) Size() (n int)
- func (m *ModelCard) String() string
- func (m *ModelCard) Unmarshal(dAtA []byte) error
- type ModelGroupInfo
- func (*ModelGroupInfo) Descriptor() ([]byte, []int)
- func (m *ModelGroupInfo) GetCards() []*ModelCard
- func (m *ModelGroupInfo) GetGroupId() int64
- func (m *ModelGroupInfo) GetGroupName() string
- func (m *ModelGroupInfo) Marshal() (dAtA []byte, err error)
- func (m *ModelGroupInfo) MarshalTo(dAtA []byte) (int, error)
- func (*ModelGroupInfo) ProtoMessage()
- func (m *ModelGroupInfo) Reset()
- func (m *ModelGroupInfo) Size() (n int)
- func (m *ModelGroupInfo) String() string
- func (m *ModelGroupInfo) Unmarshal(dAtA []byte) error
- type ModelUserCard
- func (*ModelUserCard) Descriptor() ([]byte, []int)
- func (m *ModelUserCard) GetBigCardUrl() string
- func (m *ModelUserCard) GetCardType() int32
- func (m *ModelUserCard) GetCardTypeName() string
- func (m *ModelUserCard) GetCardUrl() string
- func (m *ModelUserCard) GetExpireTime() int64
- func (m *ModelUserCard) GetId() int64
- func (m *ModelUserCard) GetMid() int64
- func (m *ModelUserCard) GetName() string
- func (m *ModelUserCard) Marshal() (dAtA []byte, err error)
- func (m *ModelUserCard) MarshalTo(dAtA []byte) (int, error)
- func (*ModelUserCard) ProtoMessage()
- func (m *ModelUserCard) Reset()
- func (m *ModelUserCard) Size() (n int)
- func (m *ModelUserCard) String() string
- func (m *ModelUserCard) Unmarshal(dAtA []byte) error
- type UserCardReply
- func (*UserCardReply) Descriptor() ([]byte, []int)
- func (m *UserCardReply) GetRes() *ModelUserCard
- func (m *UserCardReply) Marshal() (dAtA []byte, err error)
- func (m *UserCardReply) MarshalTo(dAtA []byte) (int, error)
- func (*UserCardReply) ProtoMessage()
- func (m *UserCardReply) Reset()
- func (m *UserCardReply) Size() (n int)
- func (m *UserCardReply) String() string
- func (m *UserCardReply) Unmarshal(dAtA []byte) error
- type UserCardReq
- func (*UserCardReq) Descriptor() ([]byte, []int)
- func (m *UserCardReq) GetMid() int64
- func (m *UserCardReq) Marshal() (dAtA []byte, err error)
- func (m *UserCardReq) MarshalTo(dAtA []byte) (int, error)
- func (*UserCardReq) ProtoMessage()
- func (m *UserCardReq) Reset()
- func (m *UserCardReq) Size() (n int)
- func (m *UserCardReq) String() string
- func (m *UserCardReq) Unmarshal(dAtA []byte) error
- type UserCardsReply
- func (*UserCardsReply) Descriptor() ([]byte, []int)
- func (m *UserCardsReply) GetRes() map[int64]*ModelUserCard
- func (m *UserCardsReply) Marshal() (dAtA []byte, err error)
- func (m *UserCardsReply) MarshalTo(dAtA []byte) (int, error)
- func (*UserCardsReply) ProtoMessage()
- func (m *UserCardsReply) Reset()
- func (m *UserCardsReply) Size() (n int)
- func (m *UserCardsReply) String() string
- func (m *UserCardsReply) Unmarshal(dAtA []byte) error
- type UserCardsReq
- func (*UserCardsReq) Descriptor() ([]byte, []int)
- func (m *UserCardsReq) GetMids() []int64
- func (m *UserCardsReq) Marshal() (dAtA []byte, err error)
- func (m *UserCardsReq) MarshalTo(dAtA []byte) (int, error)
- func (*UserCardsReq) ProtoMessage()
- func (m *UserCardsReq) Reset()
- func (m *UserCardsReq) Size() (n int)
- func (m *UserCardsReq) String() string
- func (m *UserCardsReq) Unmarshal(dAtA []byte) error
Constants ¶
View Source
const AppID = "card.service"
AppID .
Variables ¶
View Source
var ( ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterCardServer ¶
func RegisterCardServer(s *grpc.Server, srv CardServer)
Types ¶
type AllGroupReply ¶
type AllGroupReply struct {
Res *ModelAllGroupResp `protobuf:"bytes,1,opt,name=res" json:"res,omitempty"`
}
func (*AllGroupReply) Descriptor ¶
func (*AllGroupReply) Descriptor() ([]byte, []int)
func (*AllGroupReply) GetRes ¶
func (m *AllGroupReply) GetRes() *ModelAllGroupResp
func (*AllGroupReply) Marshal ¶
func (m *AllGroupReply) Marshal() (dAtA []byte, err error)
func (*AllGroupReply) ProtoMessage ¶
func (*AllGroupReply) ProtoMessage()
func (*AllGroupReply) Reset ¶
func (m *AllGroupReply) Reset()
func (*AllGroupReply) Size ¶
func (m *AllGroupReply) Size() (n int)
func (*AllGroupReply) String ¶
func (m *AllGroupReply) String() string
func (*AllGroupReply) Unmarshal ¶
func (m *AllGroupReply) Unmarshal(dAtA []byte) error
type AllGroupReq ¶
type AllGroupReq struct {
Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
}
func (*AllGroupReq) Descriptor ¶
func (*AllGroupReq) Descriptor() ([]byte, []int)
func (*AllGroupReq) GetMid ¶
func (m *AllGroupReq) GetMid() int64
func (*AllGroupReq) Marshal ¶
func (m *AllGroupReq) Marshal() (dAtA []byte, err error)
func (*AllGroupReq) ProtoMessage ¶
func (*AllGroupReq) ProtoMessage()
func (*AllGroupReq) Reset ¶
func (m *AllGroupReq) Reset()
func (*AllGroupReq) Size ¶
func (m *AllGroupReq) Size() (n int)
func (*AllGroupReq) String ¶
func (m *AllGroupReq) String() string
func (*AllGroupReq) Unmarshal ¶
func (m *AllGroupReq) Unmarshal(dAtA []byte) error
type CardClient ¶
type CardClient interface { // Card get card info. Card(ctx context.Context, in *CardReq, opts ...grpc.CallOption) (*CardReply, error) // CardHots get card hots. CardHots(ctx context.Context, in *CardHotsReq, opts ...grpc.CallOption) (*CardHotsReply, error) // CardsByGid get card by gid. CardsByGid(ctx context.Context, in *CardsByGidReq, opts ...grpc.CallOption) (*CardsByGidReply, error) // UserCard get user card info. UserCard(ctx context.Context, in *UserCardReq, opts ...grpc.CallOption) (*UserCardReply, error) // UserCards get user card infos. UserCards(ctx context.Context, in *UserCardsReq, opts ...grpc.CallOption) (*UserCardsReply, error) // Equip user equip card. Equip(ctx context.Context, in *EquipReq, opts ...grpc.CallOption) (*EquipReply, error) // DemountEquip delete equip. DemountEquip(ctx context.Context, in *DemountEquipReq, opts ...grpc.CallOption) (*DemountEquipReply, error) // AllGroup all group. AllGroup(ctx context.Context, in *AllGroupReq, opts ...grpc.CallOption) (*AllGroupReply, error) }
func NewCardClient ¶
func NewCardClient(cc *grpc.ClientConn) CardClient
func NewClient ¶
func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (CardClient, error)
NewClient new grpc client
type CardHotsReply ¶
type CardHotsReply struct {
Data_0 []*ModelCard `protobuf:"bytes,1,rep,name=data_0,json=data0" json:"data_0,omitempty"`
}
func (*CardHotsReply) Descriptor ¶
func (*CardHotsReply) Descriptor() ([]byte, []int)
func (*CardHotsReply) GetData_0 ¶
func (m *CardHotsReply) GetData_0() []*ModelCard
func (*CardHotsReply) Marshal ¶
func (m *CardHotsReply) Marshal() (dAtA []byte, err error)
func (*CardHotsReply) ProtoMessage ¶
func (*CardHotsReply) ProtoMessage()
func (*CardHotsReply) Reset ¶
func (m *CardHotsReply) Reset()
func (*CardHotsReply) Size ¶
func (m *CardHotsReply) Size() (n int)
func (*CardHotsReply) String ¶
func (m *CardHotsReply) String() string
func (*CardHotsReply) Unmarshal ¶
func (m *CardHotsReply) Unmarshal(dAtA []byte) error
type CardHotsReq ¶
type CardHotsReq struct { }
func (*CardHotsReq) Descriptor ¶
func (*CardHotsReq) Descriptor() ([]byte, []int)
func (*CardHotsReq) Marshal ¶
func (m *CardHotsReq) Marshal() (dAtA []byte, err error)
func (*CardHotsReq) ProtoMessage ¶
func (*CardHotsReq) ProtoMessage()
func (*CardHotsReq) Reset ¶
func (m *CardHotsReq) Reset()
func (*CardHotsReq) Size ¶
func (m *CardHotsReq) Size() (n int)
func (*CardHotsReq) String ¶
func (m *CardHotsReq) String() string
func (*CardHotsReq) Unmarshal ¶
func (m *CardHotsReq) Unmarshal(dAtA []byte) error
type CardReply ¶
type CardReply struct {
Data_0 *ModelCard `protobuf:"bytes,1,opt,name=data_0,json=data0" json:"data_0,omitempty"`
}
func (*CardReply) Descriptor ¶
func (*CardReply) ProtoMessage ¶
func (*CardReply) ProtoMessage()
type CardReq ¶
type CardReq struct {
Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
}
func (*CardReq) Descriptor ¶
func (*CardReq) ProtoMessage ¶
func (*CardReq) ProtoMessage()
type CardServer ¶
type CardServer interface { // Card get card info. Card(context.Context, *CardReq) (*CardReply, error) // CardHots get card hots. CardHots(context.Context, *CardHotsReq) (*CardHotsReply, error) // CardsByGid get card by gid. CardsByGid(context.Context, *CardsByGidReq) (*CardsByGidReply, error) // UserCard get user card info. UserCard(context.Context, *UserCardReq) (*UserCardReply, error) // UserCards get user card infos. UserCards(context.Context, *UserCardsReq) (*UserCardsReply, error) // Equip user equip card. Equip(context.Context, *EquipReq) (*EquipReply, error) // DemountEquip delete equip. DemountEquip(context.Context, *DemountEquipReq) (*DemountEquipReply, error) // AllGroup all group. AllGroup(context.Context, *AllGroupReq) (*AllGroupReply, error) }
type CardsByGidReply ¶
type CardsByGidReply struct {
Data_0 []*ModelCard `protobuf:"bytes,1,rep,name=data_0,json=data0" json:"data_0,omitempty"`
}
func (*CardsByGidReply) Descriptor ¶
func (*CardsByGidReply) Descriptor() ([]byte, []int)
func (*CardsByGidReply) GetData_0 ¶
func (m *CardsByGidReply) GetData_0() []*ModelCard
func (*CardsByGidReply) Marshal ¶
func (m *CardsByGidReply) Marshal() (dAtA []byte, err error)
func (*CardsByGidReply) ProtoMessage ¶
func (*CardsByGidReply) ProtoMessage()
func (*CardsByGidReply) Reset ¶
func (m *CardsByGidReply) Reset()
func (*CardsByGidReply) Size ¶
func (m *CardsByGidReply) Size() (n int)
func (*CardsByGidReply) String ¶
func (m *CardsByGidReply) String() string
func (*CardsByGidReply) Unmarshal ¶
func (m *CardsByGidReply) Unmarshal(dAtA []byte) error
type CardsByGidReq ¶
type CardsByGidReq struct {
Gid int64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"`
}
func (*CardsByGidReq) Descriptor ¶
func (*CardsByGidReq) Descriptor() ([]byte, []int)
func (*CardsByGidReq) GetGid ¶
func (m *CardsByGidReq) GetGid() int64
func (*CardsByGidReq) Marshal ¶
func (m *CardsByGidReq) Marshal() (dAtA []byte, err error)
func (*CardsByGidReq) ProtoMessage ¶
func (*CardsByGidReq) ProtoMessage()
func (*CardsByGidReq) Reset ¶
func (m *CardsByGidReq) Reset()
func (*CardsByGidReq) Size ¶
func (m *CardsByGidReq) Size() (n int)
func (*CardsByGidReq) String ¶
func (m *CardsByGidReq) String() string
func (*CardsByGidReq) Unmarshal ¶
func (m *CardsByGidReq) Unmarshal(dAtA []byte) error
type DemountEquipReply ¶
type DemountEquipReply struct { }
func (*DemountEquipReply) Descriptor ¶
func (*DemountEquipReply) Descriptor() ([]byte, []int)
func (*DemountEquipReply) Marshal ¶
func (m *DemountEquipReply) Marshal() (dAtA []byte, err error)
func (*DemountEquipReply) MarshalTo ¶
func (m *DemountEquipReply) MarshalTo(dAtA []byte) (int, error)
func (*DemountEquipReply) ProtoMessage ¶
func (*DemountEquipReply) ProtoMessage()
func (*DemountEquipReply) Reset ¶
func (m *DemountEquipReply) Reset()
func (*DemountEquipReply) Size ¶
func (m *DemountEquipReply) Size() (n int)
func (*DemountEquipReply) String ¶
func (m *DemountEquipReply) String() string
func (*DemountEquipReply) Unmarshal ¶
func (m *DemountEquipReply) Unmarshal(dAtA []byte) error
type DemountEquipReq ¶
type DemountEquipReq struct {
Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
}
func (*DemountEquipReq) Descriptor ¶
func (*DemountEquipReq) Descriptor() ([]byte, []int)
func (*DemountEquipReq) GetMid ¶
func (m *DemountEquipReq) GetMid() int64
func (*DemountEquipReq) Marshal ¶
func (m *DemountEquipReq) Marshal() (dAtA []byte, err error)
func (*DemountEquipReq) ProtoMessage ¶
func (*DemountEquipReq) ProtoMessage()
func (*DemountEquipReq) Reset ¶
func (m *DemountEquipReq) Reset()
func (*DemountEquipReq) Size ¶
func (m *DemountEquipReq) Size() (n int)
func (*DemountEquipReq) String ¶
func (m *DemountEquipReq) String() string
func (*DemountEquipReq) Unmarshal ¶
func (m *DemountEquipReq) Unmarshal(dAtA []byte) error
type EquipReply ¶
type EquipReply struct { }
func (*EquipReply) Descriptor ¶
func (*EquipReply) Descriptor() ([]byte, []int)
func (*EquipReply) Marshal ¶
func (m *EquipReply) Marshal() (dAtA []byte, err error)
func (*EquipReply) ProtoMessage ¶
func (*EquipReply) ProtoMessage()
func (*EquipReply) Reset ¶
func (m *EquipReply) Reset()
func (*EquipReply) Size ¶
func (m *EquipReply) Size() (n int)
func (*EquipReply) String ¶
func (m *EquipReply) String() string
func (*EquipReply) Unmarshal ¶
func (m *EquipReply) Unmarshal(dAtA []byte) error
type EquipReq ¶
type EquipReq struct {
Arg *ModelArgEquip `protobuf:"bytes,2,opt,name=arg" json:"arg,omitempty"`
}
func (*EquipReq) Descriptor ¶
func (*EquipReq) GetArg ¶
func (m *EquipReq) GetArg() *ModelArgEquip
func (*EquipReq) ProtoMessage ¶
func (*EquipReq) ProtoMessage()
type ModelAllGroupResp ¶
type ModelAllGroupResp struct { List []*ModelGroupInfo `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"` UserCard *ModelUserCard `protobuf:"bytes,2,opt,name=user_card,json=userCard" json:"user_card,omitempty"` }
func (*ModelAllGroupResp) Descriptor ¶
func (*ModelAllGroupResp) Descriptor() ([]byte, []int)
func (*ModelAllGroupResp) GetList ¶
func (m *ModelAllGroupResp) GetList() []*ModelGroupInfo
func (*ModelAllGroupResp) GetUserCard ¶
func (m *ModelAllGroupResp) GetUserCard() *ModelUserCard
func (*ModelAllGroupResp) Marshal ¶
func (m *ModelAllGroupResp) Marshal() (dAtA []byte, err error)
func (*ModelAllGroupResp) MarshalTo ¶
func (m *ModelAllGroupResp) MarshalTo(dAtA []byte) (int, error)
func (*ModelAllGroupResp) ProtoMessage ¶
func (*ModelAllGroupResp) ProtoMessage()
func (*ModelAllGroupResp) Reset ¶
func (m *ModelAllGroupResp) Reset()
func (*ModelAllGroupResp) Size ¶
func (m *ModelAllGroupResp) Size() (n int)
func (*ModelAllGroupResp) String ¶
func (m *ModelAllGroupResp) String() string
func (*ModelAllGroupResp) Unmarshal ¶
func (m *ModelAllGroupResp) Unmarshal(dAtA []byte) error
type ModelArgEquip ¶
type ModelArgEquip struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"` CardId int64 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"` }
func (*ModelArgEquip) Descriptor ¶
func (*ModelArgEquip) Descriptor() ([]byte, []int)
func (*ModelArgEquip) GetCardId ¶
func (m *ModelArgEquip) GetCardId() int64
func (*ModelArgEquip) GetMid ¶
func (m *ModelArgEquip) GetMid() int64
func (*ModelArgEquip) Marshal ¶
func (m *ModelArgEquip) Marshal() (dAtA []byte, err error)
func (*ModelArgEquip) ProtoMessage ¶
func (*ModelArgEquip) ProtoMessage()
func (*ModelArgEquip) Reset ¶
func (m *ModelArgEquip) Reset()
func (*ModelArgEquip) Size ¶
func (m *ModelArgEquip) Size() (n int)
func (*ModelArgEquip) String ¶
func (m *ModelArgEquip) String() string
func (*ModelArgEquip) Unmarshal ¶
func (m *ModelArgEquip) Unmarshal(dAtA []byte) error
type ModelCard ¶
type ModelCard struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` State int32 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"` Deleted int32 `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"` IsHot int32 `protobuf:"varint,5,opt,name=is_hot,json=isHot,proto3" json:"is_hot,omitempty"` CardUrl string `protobuf:"bytes,6,opt,name=card_url,json=cardUrl,proto3" json:"card_url,omitempty"` BigCardUrl string `protobuf:"bytes,7,opt,name=big_card_url,json=bigCardUrl,proto3" json:"big_card_url,omitempty"` CardType int32 `protobuf:"varint,8,opt,name=card_type,json=cardType,proto3" json:"card_type,omitempty"` CardTypeName string `protobuf:"bytes,9,opt,name=card_type_name,json=cardTypeName,proto3" json:"card_type_name,omitempty"` }
func (*ModelCard) Descriptor ¶
func (*ModelCard) GetBigCardUrl ¶
func (*ModelCard) GetCardType ¶
func (*ModelCard) GetCardTypeName ¶
func (*ModelCard) GetCardUrl ¶
func (*ModelCard) GetDeleted ¶
func (*ModelCard) ProtoMessage ¶
func (*ModelCard) ProtoMessage()
type ModelGroupInfo ¶
type ModelGroupInfo struct { GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` Cards []*ModelCard `protobuf:"bytes,3,rep,name=cards" json:"cards,omitempty"` }
func (*ModelGroupInfo) Descriptor ¶
func (*ModelGroupInfo) Descriptor() ([]byte, []int)
func (*ModelGroupInfo) GetCards ¶
func (m *ModelGroupInfo) GetCards() []*ModelCard
func (*ModelGroupInfo) GetGroupId ¶
func (m *ModelGroupInfo) GetGroupId() int64
func (*ModelGroupInfo) GetGroupName ¶
func (m *ModelGroupInfo) GetGroupName() string
func (*ModelGroupInfo) Marshal ¶
func (m *ModelGroupInfo) Marshal() (dAtA []byte, err error)
func (*ModelGroupInfo) ProtoMessage ¶
func (*ModelGroupInfo) ProtoMessage()
func (*ModelGroupInfo) Reset ¶
func (m *ModelGroupInfo) Reset()
func (*ModelGroupInfo) Size ¶
func (m *ModelGroupInfo) Size() (n int)
func (*ModelGroupInfo) String ¶
func (m *ModelGroupInfo) String() string
func (*ModelGroupInfo) Unmarshal ¶
func (m *ModelGroupInfo) Unmarshal(dAtA []byte) error
type ModelUserCard ¶
type ModelUserCard struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` CardUrl string `protobuf:"bytes,3,opt,name=card_url,json=cardUrl,proto3" json:"card_url,omitempty"` CardType int32 `protobuf:"varint,4,opt,name=card_type,json=cardType,proto3" json:"card_type,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` ExpireTime int64 `protobuf:"varint,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` CardTypeName string `protobuf:"bytes,7,opt,name=card_type_name,json=cardTypeName,proto3" json:"card_type_name,omitempty"` BigCardUrl string `protobuf:"bytes,8,opt,name=big_card_url,json=bigCardUrl,proto3" json:"big_card_url,omitempty"` }
func (*ModelUserCard) Descriptor ¶
func (*ModelUserCard) Descriptor() ([]byte, []int)
func (*ModelUserCard) GetBigCardUrl ¶
func (m *ModelUserCard) GetBigCardUrl() string
func (*ModelUserCard) GetCardType ¶
func (m *ModelUserCard) GetCardType() int32
func (*ModelUserCard) GetCardTypeName ¶
func (m *ModelUserCard) GetCardTypeName() string
func (*ModelUserCard) GetCardUrl ¶
func (m *ModelUserCard) GetCardUrl() string
func (*ModelUserCard) GetExpireTime ¶
func (m *ModelUserCard) GetExpireTime() int64
func (*ModelUserCard) GetId ¶
func (m *ModelUserCard) GetId() int64
func (*ModelUserCard) GetMid ¶
func (m *ModelUserCard) GetMid() int64
func (*ModelUserCard) GetName ¶
func (m *ModelUserCard) GetName() string
func (*ModelUserCard) Marshal ¶
func (m *ModelUserCard) Marshal() (dAtA []byte, err error)
func (*ModelUserCard) ProtoMessage ¶
func (*ModelUserCard) ProtoMessage()
func (*ModelUserCard) Reset ¶
func (m *ModelUserCard) Reset()
func (*ModelUserCard) Size ¶
func (m *ModelUserCard) Size() (n int)
func (*ModelUserCard) String ¶
func (m *ModelUserCard) String() string
func (*ModelUserCard) Unmarshal ¶
func (m *ModelUserCard) Unmarshal(dAtA []byte) error
type UserCardReply ¶
type UserCardReply struct {
Res *ModelUserCard `protobuf:"bytes,1,opt,name=res" json:"res,omitempty"`
}
func (*UserCardReply) Descriptor ¶
func (*UserCardReply) Descriptor() ([]byte, []int)
func (*UserCardReply) GetRes ¶
func (m *UserCardReply) GetRes() *ModelUserCard
func (*UserCardReply) Marshal ¶
func (m *UserCardReply) Marshal() (dAtA []byte, err error)
func (*UserCardReply) ProtoMessage ¶
func (*UserCardReply) ProtoMessage()
func (*UserCardReply) Reset ¶
func (m *UserCardReply) Reset()
func (*UserCardReply) Size ¶
func (m *UserCardReply) Size() (n int)
func (*UserCardReply) String ¶
func (m *UserCardReply) String() string
func (*UserCardReply) Unmarshal ¶
func (m *UserCardReply) Unmarshal(dAtA []byte) error
type UserCardReq ¶
type UserCardReq struct {
Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
}
func (*UserCardReq) Descriptor ¶
func (*UserCardReq) Descriptor() ([]byte, []int)
func (*UserCardReq) GetMid ¶
func (m *UserCardReq) GetMid() int64
func (*UserCardReq) Marshal ¶
func (m *UserCardReq) Marshal() (dAtA []byte, err error)
func (*UserCardReq) ProtoMessage ¶
func (*UserCardReq) ProtoMessage()
func (*UserCardReq) Reset ¶
func (m *UserCardReq) Reset()
func (*UserCardReq) Size ¶
func (m *UserCardReq) Size() (n int)
func (*UserCardReq) String ¶
func (m *UserCardReq) String() string
func (*UserCardReq) Unmarshal ¶
func (m *UserCardReq) Unmarshal(dAtA []byte) error
type UserCardsReply ¶
type UserCardsReply struct {
Res map[int64]*ModelUserCard `` /* 134-byte string literal not displayed */
}
func (*UserCardsReply) Descriptor ¶
func (*UserCardsReply) Descriptor() ([]byte, []int)
func (*UserCardsReply) GetRes ¶
func (m *UserCardsReply) GetRes() map[int64]*ModelUserCard
func (*UserCardsReply) Marshal ¶
func (m *UserCardsReply) Marshal() (dAtA []byte, err error)
func (*UserCardsReply) ProtoMessage ¶
func (*UserCardsReply) ProtoMessage()
func (*UserCardsReply) Reset ¶
func (m *UserCardsReply) Reset()
func (*UserCardsReply) Size ¶
func (m *UserCardsReply) Size() (n int)
func (*UserCardsReply) String ¶
func (m *UserCardsReply) String() string
func (*UserCardsReply) Unmarshal ¶
func (m *UserCardsReply) Unmarshal(dAtA []byte) error
type UserCardsReq ¶
type UserCardsReq struct {
Mids []int64 `protobuf:"varint,2,rep,packed,name=mids" json:"mids,omitempty"`
}
func (*UserCardsReq) Descriptor ¶
func (*UserCardsReq) Descriptor() ([]byte, []int)
func (*UserCardsReq) GetMids ¶
func (m *UserCardsReq) GetMids() []int64
func (*UserCardsReq) Marshal ¶
func (m *UserCardsReq) Marshal() (dAtA []byte, err error)
func (*UserCardsReq) ProtoMessage ¶
func (*UserCardsReq) ProtoMessage()
func (*UserCardsReq) Reset ¶
func (m *UserCardsReq) Reset()
func (*UserCardsReq) Size ¶
func (m *UserCardsReq) Size() (n int)
func (*UserCardsReq) String ¶
func (m *UserCardsReq) String() string
func (*UserCardsReq) Unmarshal ¶
func (m *UserCardsReq) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.