Documentation ¶
Overview ¶
Package v1 is a generated protocol buffer package.
It is generated from these files:
app/service/openplatform/ticket-item/api/grpc/v1/area.proto app/service/openplatform/ticket-item/api/grpc/v1/bulletin.proto app/service/openplatform/ticket-item/api/grpc/v1/guest.proto app/service/openplatform/ticket-item/api/grpc/v1/item.proto app/service/openplatform/ticket-item/api/grpc/v1/place.proto app/service/openplatform/ticket-item/api/grpc/v1/screen.proto app/service/openplatform/ticket-item/api/grpc/v1/seat.proto app/service/openplatform/ticket-item/api/grpc/v1/ticket.proto app/service/openplatform/ticket-item/api/grpc/v1/time.proto app/service/openplatform/ticket-item/api/grpc/v1/venue.proto
It has these top-level messages:
AreaInfo AreaInfoRequest AreaInfoReply DeleteAreaRequest DeleteAreaReply BulletinInfo BulletinInfoRequest BulletinCheckRequest BulletinStateRequest BulletinReply GuestInfoRequest GuestStatusRequest GuestInfoReply InfoRequest CardsRequest BillRequest InfoReply CardsReply CardReply BillReply ItemBase ItemExt ImgList BillOpt BuyNumLimit BnlLevel WishRequest WishReply FavRequest FavReply VersionRequest VersionReply BannerEditRequest BannerEditReply VersionReviewRequest VersionReviewReply VersionStatusRequest VersionStatusReply PlaceInfo PlaceInfoRequest PlaceInfoReply ScreenInfo AreaSeatInfo SeatInfoRequest SeatInfoReply SeatPrice SeatStockRequest SeatStockReply RemoveSeatOrdersRequest RemoveSeatOrdersReply TicketInfo TicketBuyNumLimit TicketStatus TicketPriceList ItemTime ScreenTime TicketTime VenueInfo VenueAddrInfo VenueInfoRequest VenueInfoReply
Index ¶
- Constants
- Variables
- func RegisterAreaServer(s *grpc.Server, srv AreaServer)
- func RegisterBulletinServer(s *grpc.Server, srv BulletinServer)
- func RegisterGuestServer(s *grpc.Server, srv GuestServer)
- func RegisterItemServer(s *grpc.Server, srv ItemServer)
- func RegisterPlaceServer(s *grpc.Server, srv PlaceServer)
- func RegisterSeatServer(s *grpc.Server, srv SeatServer)
- func RegisterVenueServer(s *grpc.Server, srv VenueServer)
- type AreaClient
- type AreaInfo
- func (*AreaInfo) Descriptor() ([]byte, []int)
- func (m *AreaInfo) Marshal() (dAtA []byte, err error)
- func (m *AreaInfo) MarshalTo(dAtA []byte) (int, error)
- func (*AreaInfo) ProtoMessage()
- func (m *AreaInfo) Reset()
- func (m *AreaInfo) Size() (n int)
- func (m *AreaInfo) String() string
- func (m *AreaInfo) Unmarshal(dAtA []byte) error
- type AreaInfoReply
- func (*AreaInfoReply) Descriptor() ([]byte, []int)
- func (m *AreaInfoReply) Marshal() (dAtA []byte, err error)
- func (m *AreaInfoReply) MarshalTo(dAtA []byte) (int, error)
- func (*AreaInfoReply) ProtoMessage()
- func (m *AreaInfoReply) Reset()
- func (m *AreaInfoReply) Size() (n int)
- func (m *AreaInfoReply) String() string
- func (m *AreaInfoReply) Unmarshal(dAtA []byte) error
- type AreaInfoRequest
- func (*AreaInfoRequest) Descriptor() ([]byte, []int)
- func (m *AreaInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *AreaInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (*AreaInfoRequest) ProtoMessage()
- func (m *AreaInfoRequest) Reset()
- func (m *AreaInfoRequest) Size() (n int)
- func (m *AreaInfoRequest) String() string
- func (m *AreaInfoRequest) Unmarshal(dAtA []byte) error
- type AreaSeatInfo
- func (*AreaSeatInfo) Descriptor() ([]byte, []int)
- func (m *AreaSeatInfo) Marshal() (dAtA []byte, err error)
- func (m *AreaSeatInfo) MarshalTo(dAtA []byte) (int, error)
- func (*AreaSeatInfo) ProtoMessage()
- func (m *AreaSeatInfo) Reset()
- func (m *AreaSeatInfo) Size() (n int)
- func (m *AreaSeatInfo) String() string
- func (m *AreaSeatInfo) Unmarshal(dAtA []byte) error
- type AreaServer
- type BannerEditReply
- func (*BannerEditReply) Descriptor() ([]byte, []int)
- func (m *BannerEditReply) Marshal() (dAtA []byte, err error)
- func (m *BannerEditReply) MarshalTo(dAtA []byte) (int, error)
- func (*BannerEditReply) ProtoMessage()
- func (m *BannerEditReply) Reset()
- func (m *BannerEditReply) Size() (n int)
- func (m *BannerEditReply) String() string
- func (m *BannerEditReply) Unmarshal(dAtA []byte) error
- type BannerEditRequest
- func (*BannerEditRequest) Descriptor() ([]byte, []int)
- func (m *BannerEditRequest) Marshal() (dAtA []byte, err error)
- func (m *BannerEditRequest) MarshalTo(dAtA []byte) (int, error)
- func (*BannerEditRequest) ProtoMessage()
- func (m *BannerEditRequest) Reset()
- func (m *BannerEditRequest) Size() (n int)
- func (m *BannerEditRequest) String() string
- func (m *BannerEditRequest) Unmarshal(dAtA []byte) error
- type BillOpt
- func (*BillOpt) Descriptor() ([]byte, []int)
- func (m *BillOpt) Marshal() (dAtA []byte, err error)
- func (m *BillOpt) MarshalTo(dAtA []byte) (int, error)
- func (*BillOpt) ProtoMessage()
- func (m *BillOpt) Reset()
- func (m *BillOpt) Size() (n int)
- func (m *BillOpt) String() string
- func (m *BillOpt) Unmarshal(dAtA []byte) error
- type BillReply
- func (*BillReply) Descriptor() ([]byte, []int)
- func (m *BillReply) Marshal() (dAtA []byte, err error)
- func (m *BillReply) MarshalTo(dAtA []byte) (int, error)
- func (*BillReply) ProtoMessage()
- func (m *BillReply) Reset()
- func (m *BillReply) Size() (n int)
- func (m *BillReply) String() string
- func (m *BillReply) Unmarshal(dAtA []byte) error
- type BillRequest
- func (*BillRequest) Descriptor() ([]byte, []int)
- func (m *BillRequest) Marshal() (dAtA []byte, err error)
- func (m *BillRequest) MarshalTo(dAtA []byte) (int, error)
- func (*BillRequest) ProtoMessage()
- func (m *BillRequest) Reset()
- func (m *BillRequest) Size() (n int)
- func (m *BillRequest) String() string
- func (m *BillRequest) Unmarshal(dAtA []byte) error
- type BnlLevel
- func (*BnlLevel) Descriptor() ([]byte, []int)
- func (m *BnlLevel) Marshal() (dAtA []byte, err error)
- func (m *BnlLevel) MarshalTo(dAtA []byte) (int, error)
- func (*BnlLevel) ProtoMessage()
- func (m *BnlLevel) Reset()
- func (m *BnlLevel) Size() (n int)
- func (m *BnlLevel) String() string
- func (m *BnlLevel) Unmarshal(dAtA []byte) error
- type BulletinCheckRequest
- func (*BulletinCheckRequest) Descriptor() ([]byte, []int)
- func (m *BulletinCheckRequest) GetComment() string
- func (m *BulletinCheckRequest) GetOpType() int32
- func (m *BulletinCheckRequest) GetReviewer() string
- func (m *BulletinCheckRequest) GetVerID() uint64
- func (m *BulletinCheckRequest) Marshal() (dAtA []byte, err error)
- func (m *BulletinCheckRequest) MarshalTo(dAtA []byte) (int, error)
- func (*BulletinCheckRequest) ProtoMessage()
- func (m *BulletinCheckRequest) Reset()
- func (m *BulletinCheckRequest) Size() (n int)
- func (m *BulletinCheckRequest) String() string
- func (m *BulletinCheckRequest) Unmarshal(dAtA []byte) error
- type BulletinClient
- type BulletinInfo
- func (*BulletinInfo) Descriptor() ([]byte, []int)
- func (m *BulletinInfo) GetContent() string
- func (m *BulletinInfo) GetCtime() string
- func (m *BulletinInfo) GetDetail() string
- func (m *BulletinInfo) GetID() int64
- func (m *BulletinInfo) GetMtime() string
- func (m *BulletinInfo) GetTitle() string
- func (m *BulletinInfo) GetVerID() uint64
- func (m *BulletinInfo) Marshal() (dAtA []byte, err error)
- func (m *BulletinInfo) MarshalTo(dAtA []byte) (int, error)
- func (*BulletinInfo) ProtoMessage()
- func (m *BulletinInfo) Reset()
- func (m *BulletinInfo) Size() (n int)
- func (m *BulletinInfo) String() string
- func (m *BulletinInfo) Unmarshal(dAtA []byte) error
- type BulletinInfoRequest
- func (*BulletinInfoRequest) Descriptor() ([]byte, []int)
- func (m *BulletinInfoRequest) GetContent() string
- func (m *BulletinInfoRequest) GetDetail() string
- func (m *BulletinInfoRequest) GetParentID() int64
- func (m *BulletinInfoRequest) GetTargetItem() int64
- func (m *BulletinInfoRequest) GetTitle() string
- func (m *BulletinInfoRequest) GetVerID() uint64
- func (m *BulletinInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *BulletinInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (*BulletinInfoRequest) ProtoMessage()
- func (m *BulletinInfoRequest) Reset()
- func (m *BulletinInfoRequest) Size() (n int)
- func (m *BulletinInfoRequest) String() string
- func (m *BulletinInfoRequest) Unmarshal(dAtA []byte) error
- type BulletinReply
- func (*BulletinReply) Descriptor() ([]byte, []int)
- func (m *BulletinReply) GetSuccess() bool
- func (m *BulletinReply) Marshal() (dAtA []byte, err error)
- func (m *BulletinReply) MarshalTo(dAtA []byte) (int, error)
- func (*BulletinReply) ProtoMessage()
- func (m *BulletinReply) Reset()
- func (m *BulletinReply) Size() (n int)
- func (m *BulletinReply) String() string
- func (m *BulletinReply) Unmarshal(dAtA []byte) error
- type BulletinServer
- type BulletinStateRequest
- func (*BulletinStateRequest) Descriptor() ([]byte, []int)
- func (m *BulletinStateRequest) GetOpType() int32
- func (m *BulletinStateRequest) GetSource() int32
- func (m *BulletinStateRequest) GetVerID() uint64
- func (m *BulletinStateRequest) Marshal() (dAtA []byte, err error)
- func (m *BulletinStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (*BulletinStateRequest) ProtoMessage()
- func (m *BulletinStateRequest) Reset()
- func (m *BulletinStateRequest) Size() (n int)
- func (m *BulletinStateRequest) String() string
- func (m *BulletinStateRequest) Unmarshal(dAtA []byte) error
- type BuyNumLimit
- func (*BuyNumLimit) Descriptor() ([]byte, []int)
- func (m *BuyNumLimit) Marshal() (dAtA []byte, err error)
- func (m *BuyNumLimit) MarshalTo(dAtA []byte) (int, error)
- func (*BuyNumLimit) ProtoMessage()
- func (m *BuyNumLimit) Reset()
- func (m *BuyNumLimit) Size() (n int)
- func (m *BuyNumLimit) String() string
- func (m *BuyNumLimit) Unmarshal(dAtA []byte) error
- type CardReply
- func (*CardReply) Descriptor() ([]byte, []int)
- 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 CardsReply
- func (*CardsReply) Descriptor() ([]byte, []int)
- func (m *CardsReply) Marshal() (dAtA []byte, err error)
- func (m *CardsReply) MarshalTo(dAtA []byte) (int, error)
- func (*CardsReply) ProtoMessage()
- func (m *CardsReply) Reset()
- func (m *CardsReply) Size() (n int)
- func (m *CardsReply) String() string
- func (m *CardsReply) Unmarshal(dAtA []byte) error
- type CardsRequest
- func (*CardsRequest) Descriptor() ([]byte, []int)
- func (m *CardsRequest) Marshal() (dAtA []byte, err error)
- func (m *CardsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*CardsRequest) ProtoMessage()
- func (m *CardsRequest) Reset()
- func (m *CardsRequest) Size() (n int)
- func (m *CardsRequest) String() string
- func (m *CardsRequest) Unmarshal(dAtA []byte) error
- type Client
- type DeleteAreaReply
- func (*DeleteAreaReply) Descriptor() ([]byte, []int)
- func (m *DeleteAreaReply) Marshal() (dAtA []byte, err error)
- func (m *DeleteAreaReply) MarshalTo(dAtA []byte) (int, error)
- func (*DeleteAreaReply) ProtoMessage()
- func (m *DeleteAreaReply) Reset()
- func (m *DeleteAreaReply) Size() (n int)
- func (m *DeleteAreaReply) String() string
- func (m *DeleteAreaReply) Unmarshal(dAtA []byte) error
- type DeleteAreaRequest
- func (*DeleteAreaRequest) Descriptor() ([]byte, []int)
- func (m *DeleteAreaRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteAreaRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DeleteAreaRequest) ProtoMessage()
- func (m *DeleteAreaRequest) Reset()
- func (m *DeleteAreaRequest) Size() (n int)
- func (m *DeleteAreaRequest) String() string
- func (m *DeleteAreaRequest) Unmarshal(dAtA []byte) error
- type FavReply
- func (*FavReply) Descriptor() ([]byte, []int)
- func (m *FavReply) Marshal() (dAtA []byte, err error)
- func (m *FavReply) MarshalTo(dAtA []byte) (int, error)
- func (*FavReply) ProtoMessage()
- func (m *FavReply) Reset()
- func (m *FavReply) Size() (n int)
- func (m *FavReply) String() string
- func (m *FavReply) Unmarshal(dAtA []byte) error
- type FavRequest
- func (*FavRequest) Descriptor() ([]byte, []int)
- func (m *FavRequest) Marshal() (dAtA []byte, err error)
- func (m *FavRequest) MarshalTo(dAtA []byte) (int, error)
- func (*FavRequest) ProtoMessage()
- func (m *FavRequest) Reset()
- func (m *FavRequest) Size() (n int)
- func (m *FavRequest) String() string
- func (m *FavRequest) Unmarshal(dAtA []byte) error
- type GuestClient
- type GuestInfoReply
- func (*GuestInfoReply) Descriptor() ([]byte, []int)
- func (m *GuestInfoReply) Marshal() (dAtA []byte, err error)
- func (m *GuestInfoReply) MarshalTo(dAtA []byte) (int, error)
- func (*GuestInfoReply) ProtoMessage()
- func (m *GuestInfoReply) Reset()
- func (m *GuestInfoReply) Size() (n int)
- func (m *GuestInfoReply) String() string
- func (m *GuestInfoReply) Unmarshal(dAtA []byte) error
- type GuestInfoRequest
- func (*GuestInfoRequest) Descriptor() ([]byte, []int)
- func (m *GuestInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *GuestInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GuestInfoRequest) ProtoMessage()
- func (m *GuestInfoRequest) Reset()
- func (m *GuestInfoRequest) Size() (n int)
- func (m *GuestInfoRequest) String() string
- func (m *GuestInfoRequest) Unmarshal(dAtA []byte) error
- type GuestServer
- type GuestStatusRequest
- func (*GuestStatusRequest) Descriptor() ([]byte, []int)
- func (m *GuestStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *GuestStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GuestStatusRequest) ProtoMessage()
- func (m *GuestStatusRequest) Reset()
- func (m *GuestStatusRequest) Size() (n int)
- func (m *GuestStatusRequest) String() string
- func (m *GuestStatusRequest) Unmarshal(dAtA []byte) error
- type ImgList
- func (*ImgList) Descriptor() ([]byte, []int)
- func (m *ImgList) Marshal() (dAtA []byte, err error)
- func (m *ImgList) MarshalTo(dAtA []byte) (int, error)
- func (*ImgList) ProtoMessage()
- func (m *ImgList) Reset()
- func (m *ImgList) Size() (n int)
- func (m *ImgList) String() string
- func (m *ImgList) Unmarshal(dAtA []byte) error
- type InfoReply
- func (*InfoReply) Descriptor() ([]byte, []int)
- func (m *InfoReply) Marshal() (dAtA []byte, err error)
- func (m *InfoReply) MarshalTo(dAtA []byte) (int, error)
- func (*InfoReply) ProtoMessage()
- func (m *InfoReply) Reset()
- func (m *InfoReply) Size() (n int)
- func (m *InfoReply) String() string
- func (m *InfoReply) Unmarshal(dAtA []byte) error
- type InfoRequest
- func (*InfoRequest) Descriptor() ([]byte, []int)
- func (m *InfoRequest) Marshal() (dAtA []byte, err error)
- func (m *InfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (*InfoRequest) ProtoMessage()
- func (m *InfoRequest) Reset()
- func (m *InfoRequest) Size() (n int)
- func (m *InfoRequest) String() string
- func (m *InfoRequest) Unmarshal(dAtA []byte) error
- type ItemBase
- func (*ItemBase) Descriptor() ([]byte, []int)
- func (m *ItemBase) Marshal() (dAtA []byte, err error)
- func (m *ItemBase) MarshalTo(dAtA []byte) (int, error)
- func (*ItemBase) ProtoMessage()
- func (m *ItemBase) Reset()
- func (m *ItemBase) Size() (n int)
- func (m *ItemBase) String() string
- func (m *ItemBase) Unmarshal(dAtA []byte) error
- type ItemClient
- type ItemExt
- func (*ItemExt) Descriptor() ([]byte, []int)
- func (m *ItemExt) Marshal() (dAtA []byte, err error)
- func (m *ItemExt) MarshalTo(dAtA []byte) (int, error)
- func (*ItemExt) ProtoMessage()
- func (m *ItemExt) Reset()
- func (m *ItemExt) Size() (n int)
- func (m *ItemExt) String() string
- func (m *ItemExt) Unmarshal(dAtA []byte) error
- type ItemServer
- type ItemTime
- func (*ItemTime) Descriptor() ([]byte, []int)
- func (m *ItemTime) GetEtime() int32
- func (m *ItemTime) GetStime() int32
- func (m *ItemTime) Marshal() (dAtA []byte, err error)
- func (m *ItemTime) MarshalTo(dAtA []byte) (int, error)
- func (*ItemTime) ProtoMessage()
- func (m *ItemTime) Reset()
- func (m *ItemTime) Size() (n int)
- func (m *ItemTime) String() string
- func (m *ItemTime) Unmarshal(dAtA []byte) error
- type PlaceClient
- type PlaceInfo
- func (*PlaceInfo) Descriptor() ([]byte, []int)
- func (m *PlaceInfo) Marshal() (dAtA []byte, err error)
- func (m *PlaceInfo) MarshalTo(dAtA []byte) (int, error)
- func (*PlaceInfo) ProtoMessage()
- func (m *PlaceInfo) Reset()
- func (m *PlaceInfo) Size() (n int)
- func (m *PlaceInfo) String() string
- func (m *PlaceInfo) Unmarshal(dAtA []byte) error
- type PlaceInfoReply
- func (*PlaceInfoReply) Descriptor() ([]byte, []int)
- func (m *PlaceInfoReply) Marshal() (dAtA []byte, err error)
- func (m *PlaceInfoReply) MarshalTo(dAtA []byte) (int, error)
- func (*PlaceInfoReply) ProtoMessage()
- func (m *PlaceInfoReply) Reset()
- func (m *PlaceInfoReply) Size() (n int)
- func (m *PlaceInfoReply) String() string
- func (m *PlaceInfoReply) Unmarshal(dAtA []byte) error
- type PlaceInfoRequest
- func (*PlaceInfoRequest) Descriptor() ([]byte, []int)
- func (m *PlaceInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *PlaceInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PlaceInfoRequest) ProtoMessage()
- func (m *PlaceInfoRequest) Reset()
- func (m *PlaceInfoRequest) Size() (n int)
- func (m *PlaceInfoRequest) String() string
- func (m *PlaceInfoRequest) Unmarshal(dAtA []byte) error
- type PlaceServer
- type RemoveSeatOrdersReply
- func (*RemoveSeatOrdersReply) Descriptor() ([]byte, []int)
- func (m *RemoveSeatOrdersReply) Marshal() (dAtA []byte, err error)
- func (m *RemoveSeatOrdersReply) MarshalTo(dAtA []byte) (int, error)
- func (*RemoveSeatOrdersReply) ProtoMessage()
- func (m *RemoveSeatOrdersReply) Reset()
- func (m *RemoveSeatOrdersReply) Size() (n int)
- func (m *RemoveSeatOrdersReply) String() string
- func (m *RemoveSeatOrdersReply) Unmarshal(dAtA []byte) error
- type RemoveSeatOrdersRequest
- func (*RemoveSeatOrdersRequest) Descriptor() ([]byte, []int)
- func (m *RemoveSeatOrdersRequest) Marshal() (dAtA []byte, err error)
- func (m *RemoveSeatOrdersRequest) MarshalTo(dAtA []byte) (int, error)
- func (*RemoveSeatOrdersRequest) ProtoMessage()
- func (m *RemoveSeatOrdersRequest) Reset()
- func (m *RemoveSeatOrdersRequest) Size() (n int)
- func (m *RemoveSeatOrdersRequest) String() string
- func (m *RemoveSeatOrdersRequest) Unmarshal(dAtA []byte) error
- type ScreenInfo
- func (*ScreenInfo) Descriptor() ([]byte, []int)
- func (m *ScreenInfo) GetDeliveryType() int32
- func (m *ScreenInfo) GetID() int64
- func (m *ScreenInfo) GetName() string
- func (m *ScreenInfo) GetPickSeat() int32
- func (m *ScreenInfo) GetSaleFlag() int32
- func (m *ScreenInfo) GetScTime() *ScreenTime
- func (m *ScreenInfo) GetScreenType() int32
- func (m *ScreenInfo) GetStatus() int32
- func (m *ScreenInfo) GetTicket() map[int64]*TicketInfo
- func (m *ScreenInfo) GetTicketType() int32
- func (m *ScreenInfo) GetType() int32
- func (m *ScreenInfo) Marshal() (dAtA []byte, err error)
- func (m *ScreenInfo) MarshalTo(dAtA []byte) (int, error)
- func (*ScreenInfo) ProtoMessage()
- func (m *ScreenInfo) Reset()
- func (m *ScreenInfo) Size() (n int)
- func (m *ScreenInfo) String() string
- func (m *ScreenInfo) Unmarshal(dAtA []byte) error
- type ScreenTime
- func (*ScreenTime) Descriptor() ([]byte, []int)
- func (m *ScreenTime) GetEtime() int32
- func (m *ScreenTime) GetSaleEtime() int32
- func (m *ScreenTime) GetSaleStime() int32
- func (m *ScreenTime) GetStime() int32
- func (m *ScreenTime) Marshal() (dAtA []byte, err error)
- func (m *ScreenTime) MarshalTo(dAtA []byte) (int, error)
- func (*ScreenTime) ProtoMessage()
- func (m *ScreenTime) Reset()
- func (m *ScreenTime) Size() (n int)
- func (m *ScreenTime) String() string
- func (m *ScreenTime) Unmarshal(dAtA []byte) error
- type SeatClient
- type SeatInfoReply
- func (*SeatInfoReply) Descriptor() ([]byte, []int)
- func (m *SeatInfoReply) Marshal() (dAtA []byte, err error)
- func (m *SeatInfoReply) MarshalTo(dAtA []byte) (int, error)
- func (*SeatInfoReply) ProtoMessage()
- func (m *SeatInfoReply) Reset()
- func (m *SeatInfoReply) Size() (n int)
- func (m *SeatInfoReply) String() string
- func (m *SeatInfoReply) Unmarshal(dAtA []byte) error
- type SeatInfoRequest
- func (*SeatInfoRequest) Descriptor() ([]byte, []int)
- func (m *SeatInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *SeatInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SeatInfoRequest) ProtoMessage()
- func (m *SeatInfoRequest) Reset()
- func (m *SeatInfoRequest) Size() (n int)
- func (m *SeatInfoRequest) String() string
- func (m *SeatInfoRequest) Unmarshal(dAtA []byte) error
- type SeatPrice
- func (*SeatPrice) Descriptor() ([]byte, []int)
- func (m *SeatPrice) Marshal() (dAtA []byte, err error)
- func (m *SeatPrice) MarshalTo(dAtA []byte) (int, error)
- func (*SeatPrice) ProtoMessage()
- func (m *SeatPrice) Reset()
- func (m *SeatPrice) Size() (n int)
- func (m *SeatPrice) String() string
- func (m *SeatPrice) Unmarshal(dAtA []byte) error
- type SeatServer
- type SeatStockReply
- func (*SeatStockReply) Descriptor() ([]byte, []int)
- func (m *SeatStockReply) Marshal() (dAtA []byte, err error)
- func (m *SeatStockReply) MarshalTo(dAtA []byte) (int, error)
- func (*SeatStockReply) ProtoMessage()
- func (m *SeatStockReply) Reset()
- func (m *SeatStockReply) Size() (n int)
- func (m *SeatStockReply) String() string
- func (m *SeatStockReply) Unmarshal(dAtA []byte) error
- type SeatStockRequest
- func (*SeatStockRequest) Descriptor() ([]byte, []int)
- func (m *SeatStockRequest) Marshal() (dAtA []byte, err error)
- func (m *SeatStockRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SeatStockRequest) ProtoMessage()
- func (m *SeatStockRequest) Reset()
- func (m *SeatStockRequest) Size() (n int)
- func (m *SeatStockRequest) String() string
- func (m *SeatStockRequest) Unmarshal(dAtA []byte) error
- type TicketBuyNumLimit
- func (*TicketBuyNumLimit) Descriptor() ([]byte, []int)
- func (m *TicketBuyNumLimit) GetAnnualVip() map[int32]int64
- func (m *TicketBuyNumLimit) GetNormal() map[int32]int64
- func (m *TicketBuyNumLimit) GetVip() map[int32]int64
- func (m *TicketBuyNumLimit) Marshal() (dAtA []byte, err error)
- func (m *TicketBuyNumLimit) MarshalTo(dAtA []byte) (int, error)
- func (*TicketBuyNumLimit) ProtoMessage()
- func (m *TicketBuyNumLimit) Reset()
- func (m *TicketBuyNumLimit) Size() (n int)
- func (m *TicketBuyNumLimit) String() string
- func (m *TicketBuyNumLimit) Unmarshal(dAtA []byte) error
- type TicketInfo
- func (*TicketInfo) Descriptor() ([]byte, []int)
- func (m *TicketInfo) GetBuyLimit() int32
- func (m *TicketInfo) GetBuyNumLimit() *TicketBuyNumLimit
- func (m *TicketInfo) GetColor() string
- func (m *TicketInfo) GetDesc() string
- func (m *TicketInfo) GetDescDetail() string
- func (m *TicketInfo) GetID() int64
- func (m *TicketInfo) GetLinkSc() string
- func (m *TicketInfo) GetLinkTicketID() string
- func (m *TicketInfo) GetPriceList() *TicketPriceList
- func (m *TicketInfo) GetSaleFlag() int32
- func (m *TicketInfo) GetSaleType() int32
- func (m *TicketInfo) GetStatusList() *TicketStatus
- func (m *TicketInfo) GetSymbol() string
- func (m *TicketInfo) GetTime() *TicketTime
- func (m *TicketInfo) GetType() int32
- func (m *TicketInfo) Marshal() (dAtA []byte, err error)
- func (m *TicketInfo) MarshalTo(dAtA []byte) (int, error)
- func (*TicketInfo) ProtoMessage()
- func (m *TicketInfo) Reset()
- func (m *TicketInfo) Size() (n int)
- func (m *TicketInfo) String() string
- func (m *TicketInfo) Unmarshal(dAtA []byte) error
- type TicketPriceList
- func (*TicketPriceList) Descriptor() ([]byte, []int)
- func (m *TicketPriceList) GetMktPrice() int32
- func (m *TicketPriceList) GetOriPrice() int32
- func (m *TicketPriceList) GetPrice() int32
- func (m *TicketPriceList) Marshal() (dAtA []byte, err error)
- func (m *TicketPriceList) MarshalTo(dAtA []byte) (int, error)
- func (*TicketPriceList) ProtoMessage()
- func (m *TicketPriceList) Reset()
- func (m *TicketPriceList) Size() (n int)
- func (m *TicketPriceList) String() string
- func (m *TicketPriceList) Unmarshal(dAtA []byte) error
- type TicketStatus
- func (*TicketStatus) Descriptor() ([]byte, []int)
- func (m *TicketStatus) GetIsRefund() int32
- func (m *TicketStatus) GetIsSale() int32
- func (m *TicketStatus) GetIsVisible() int32
- func (m *TicketStatus) Marshal() (dAtA []byte, err error)
- func (m *TicketStatus) MarshalTo(dAtA []byte) (int, error)
- func (*TicketStatus) ProtoMessage()
- func (m *TicketStatus) Reset()
- func (m *TicketStatus) Size() (n int)
- func (m *TicketStatus) String() string
- func (m *TicketStatus) Unmarshal(dAtA []byte) error
- type TicketTime
- func (*TicketTime) Descriptor() ([]byte, []int)
- func (m *TicketTime) GetSaleEtime() int64
- func (m *TicketTime) GetSaleStime() int64
- func (m *TicketTime) Marshal() (dAtA []byte, err error)
- func (m *TicketTime) MarshalTo(dAtA []byte) (int, error)
- func (*TicketTime) ProtoMessage()
- func (m *TicketTime) Reset()
- func (m *TicketTime) Size() (n int)
- func (m *TicketTime) String() string
- func (m *TicketTime) Unmarshal(dAtA []byte) error
- type VenueAddrInfo
- func (*VenueAddrInfo) Descriptor() ([]byte, []int)
- func (m *VenueAddrInfo) Marshal() (dAtA []byte, err error)
- func (m *VenueAddrInfo) MarshalTo(dAtA []byte) (int, error)
- func (*VenueAddrInfo) ProtoMessage()
- func (m *VenueAddrInfo) Reset()
- func (m *VenueAddrInfo) Size() (n int)
- func (m *VenueAddrInfo) String() string
- func (m *VenueAddrInfo) Unmarshal(dAtA []byte) error
- type VenueClient
- type VenueInfo
- func (*VenueInfo) Descriptor() ([]byte, []int)
- func (m *VenueInfo) Marshal() (dAtA []byte, err error)
- func (m *VenueInfo) MarshalTo(dAtA []byte) (int, error)
- func (*VenueInfo) ProtoMessage()
- func (m *VenueInfo) Reset()
- func (m *VenueInfo) Size() (n int)
- func (m *VenueInfo) String() string
- func (m *VenueInfo) Unmarshal(dAtA []byte) error
- type VenueInfoReply
- func (*VenueInfoReply) Descriptor() ([]byte, []int)
- func (m *VenueInfoReply) Marshal() (dAtA []byte, err error)
- func (m *VenueInfoReply) MarshalTo(dAtA []byte) (int, error)
- func (*VenueInfoReply) ProtoMessage()
- func (m *VenueInfoReply) Reset()
- func (m *VenueInfoReply) Size() (n int)
- func (m *VenueInfoReply) String() string
- func (m *VenueInfoReply) Unmarshal(dAtA []byte) error
- type VenueInfoRequest
- func (*VenueInfoRequest) Descriptor() ([]byte, []int)
- func (m *VenueInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *VenueInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (*VenueInfoRequest) ProtoMessage()
- func (m *VenueInfoRequest) Reset()
- func (m *VenueInfoRequest) Size() (n int)
- func (m *VenueInfoRequest) String() string
- func (m *VenueInfoRequest) Unmarshal(dAtA []byte) error
- type VenueServer
- type VersionReply
- func (*VersionReply) Descriptor() ([]byte, []int)
- func (m *VersionReply) Marshal() (dAtA []byte, err error)
- func (m *VersionReply) MarshalTo(dAtA []byte) (int, error)
- func (*VersionReply) ProtoMessage()
- func (m *VersionReply) Reset()
- func (m *VersionReply) Size() (n int)
- func (m *VersionReply) String() string
- func (m *VersionReply) Unmarshal(dAtA []byte) error
- type VersionRequest
- func (*VersionRequest) Descriptor() ([]byte, []int)
- func (m *VersionRequest) Marshal() (dAtA []byte, err error)
- func (m *VersionRequest) MarshalTo(dAtA []byte) (int, error)
- func (*VersionRequest) ProtoMessage()
- func (m *VersionRequest) Reset()
- func (m *VersionRequest) Size() (n int)
- func (m *VersionRequest) String() string
- func (m *VersionRequest) Unmarshal(dAtA []byte) error
- type VersionReviewReply
- func (*VersionReviewReply) Descriptor() ([]byte, []int)
- func (m *VersionReviewReply) Marshal() (dAtA []byte, err error)
- func (m *VersionReviewReply) MarshalTo(dAtA []byte) (int, error)
- func (*VersionReviewReply) ProtoMessage()
- func (m *VersionReviewReply) Reset()
- func (m *VersionReviewReply) Size() (n int)
- func (m *VersionReviewReply) String() string
- func (m *VersionReviewReply) Unmarshal(dAtA []byte) error
- type VersionReviewRequest
- func (*VersionReviewRequest) Descriptor() ([]byte, []int)
- func (m *VersionReviewRequest) Marshal() (dAtA []byte, err error)
- func (m *VersionReviewRequest) MarshalTo(dAtA []byte) (int, error)
- func (*VersionReviewRequest) ProtoMessage()
- func (m *VersionReviewRequest) Reset()
- func (m *VersionReviewRequest) Size() (n int)
- func (m *VersionReviewRequest) String() string
- func (m *VersionReviewRequest) Unmarshal(dAtA []byte) error
- type VersionStatusReply
- func (*VersionStatusReply) Descriptor() ([]byte, []int)
- func (m *VersionStatusReply) Marshal() (dAtA []byte, err error)
- func (m *VersionStatusReply) MarshalTo(dAtA []byte) (int, error)
- func (*VersionStatusReply) ProtoMessage()
- func (m *VersionStatusReply) Reset()
- func (m *VersionStatusReply) Size() (n int)
- func (m *VersionStatusReply) String() string
- func (m *VersionStatusReply) Unmarshal(dAtA []byte) error
- type VersionStatusRequest
- func (*VersionStatusRequest) Descriptor() ([]byte, []int)
- func (m *VersionStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *VersionStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (*VersionStatusRequest) ProtoMessage()
- func (m *VersionStatusRequest) Reset()
- func (m *VersionStatusRequest) Size() (n int)
- func (m *VersionStatusRequest) String() string
- func (m *VersionStatusRequest) Unmarshal(dAtA []byte) error
- type WishReply
- func (*WishReply) Descriptor() ([]byte, []int)
- func (m *WishReply) Marshal() (dAtA []byte, err error)
- func (m *WishReply) MarshalTo(dAtA []byte) (int, error)
- func (*WishReply) ProtoMessage()
- func (m *WishReply) Reset()
- func (m *WishReply) Size() (n int)
- func (m *WishReply) String() string
- func (m *WishReply) Unmarshal(dAtA []byte) error
- type WishRequest
- func (*WishRequest) Descriptor() ([]byte, []int)
- func (m *WishRequest) Marshal() (dAtA []byte, err error)
- func (m *WishRequest) MarshalTo(dAtA []byte) (int, error)
- func (*WishRequest) ProtoMessage()
- func (m *WishRequest) Reset()
- func (m *WishRequest) Size() (n int)
- func (m *WishRequest) String() string
- func (m *WishRequest) Unmarshal(dAtA []byte) error
Constants ¶
const AppID = "ticket.service.item"
AppID unique app id for service diSCovery
Variables ¶
var ( ErrInvalidLengthArea = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowArea = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthBulletin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBulletin = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthGuest = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGuest = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthItem = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowItem = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthPlace = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPlace = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthScreen = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowScreen = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthSeat = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSeat = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthTicket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTicket = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthTime = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTime = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthVenue = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVenue = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterAreaServer ¶
func RegisterAreaServer(s *grpc.Server, srv AreaServer)
func RegisterBulletinServer ¶
func RegisterBulletinServer(s *grpc.Server, srv BulletinServer)
func RegisterGuestServer ¶
func RegisterGuestServer(s *grpc.Server, srv GuestServer)
func RegisterItemServer ¶
func RegisterItemServer(s *grpc.Server, srv ItemServer)
func RegisterPlaceServer ¶
func RegisterPlaceServer(s *grpc.Server, srv PlaceServer)
func RegisterSeatServer ¶
func RegisterSeatServer(s *grpc.Server, srv SeatServer)
func RegisterVenueServer ¶
func RegisterVenueServer(s *grpc.Server, srv VenueServer)
Types ¶
type AreaClient ¶
type AreaClient interface { AreaInfo(ctx context.Context, in *AreaInfoRequest, opts ...grpc.CallOption) (*AreaInfoReply, error) DeleteArea(ctx context.Context, in *DeleteAreaRequest, opts ...grpc.CallOption) (*DeleteAreaReply, error) }
func NewAreaClient ¶
func NewAreaClient(cc *grpc.ClientConn) AreaClient
type AreaInfo ¶
type AreaInfo struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` AID string `protobuf:"bytes,2,opt,name=a_id,json=aId,proto3" json:"a_id"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"` SeatNum int32 `protobuf:"varint,4,opt,name=seat_num,json=seatNum,proto3" json:"seat_num"` Width int32 `protobuf:"varint,5,opt,name=width,proto3" json:"width"` Height int32 `protobuf:"varint,6,opt,name=height,proto3" json:"height"` Place int64 `protobuf:"varint,7,opt,name=place,proto3" json:"place"` ColStart int32 `protobuf:"varint,8,opt,name=col_start,json=colStart,proto3" json:"col_start"` ColType int32 `protobuf:"varint,9,opt,name=col_type,json=colType,proto3" json:"col_type"` ColDirection int32 `protobuf:"varint,10,opt,name=col_direction,json=colDirection,proto3" json:"col_direction"` RowList string `protobuf:"bytes,11,opt,name=row_list,json=rowList,proto3" json:"row_list"` SeatStart string `protobuf:"bytes,12,opt,name=seat_start,json=seatStart,proto3" json:"seat_start"` }
The response message containing the area info
func (*AreaInfo) Descriptor ¶
func (*AreaInfo) ProtoMessage ¶
func (*AreaInfo) ProtoMessage()
type AreaInfoReply ¶
type AreaInfoReply struct { // 操作结果 Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"success"` // 操作区域ID ID int64 `protobuf:"varint,2,opt,name=ID,proto3" json:"id"` // 场地坐标 Coordinate string `protobuf:"bytes,3,opt,name=Coordinate,proto3" json:"coordinate"` }
areaInfo接口返回
func (*AreaInfoReply) Descriptor ¶
func (*AreaInfoReply) Descriptor() ([]byte, []int)
func (*AreaInfoReply) Marshal ¶
func (m *AreaInfoReply) Marshal() (dAtA []byte, err error)
func (*AreaInfoReply) ProtoMessage ¶
func (*AreaInfoReply) ProtoMessage()
func (*AreaInfoReply) Reset ¶
func (m *AreaInfoReply) Reset()
func (*AreaInfoReply) Size ¶
func (m *AreaInfoReply) Size() (n int)
func (*AreaInfoReply) String ¶
func (m *AreaInfoReply) String() string
func (*AreaInfoReply) Unmarshal ¶
func (m *AreaInfoReply) Unmarshal(dAtA []byte) error
type AreaInfoRequest ¶
type AreaInfoRequest struct { // 待修改区域的ID(为0表示创建) ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"id" validate:"min=0"` // 区域自定义编号 AID string `protobuf:"bytes,2,opt,name=AID,proto3" json:"a_id" validate:"min=1,max=16"` // 区域名 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name" validate:"min=1,max=16"` // 所属场地ID Place int64 `protobuf:"varint,4,opt,name=Place,proto3" json:"place" validate:"min=1"` // 区域坐标 Coordinate string `protobuf:"bytes,5,opt,name=Coordinate,proto3" json:"coordinate" validate:"min=1"` }
areaInfo接口请求
func (*AreaInfoRequest) Descriptor ¶
func (*AreaInfoRequest) Descriptor() ([]byte, []int)
func (*AreaInfoRequest) Marshal ¶
func (m *AreaInfoRequest) Marshal() (dAtA []byte, err error)
func (*AreaInfoRequest) ProtoMessage ¶
func (*AreaInfoRequest) ProtoMessage()
func (*AreaInfoRequest) Reset ¶
func (m *AreaInfoRequest) Reset()
func (*AreaInfoRequest) Size ¶
func (m *AreaInfoRequest) Size() (n int)
func (*AreaInfoRequest) String ¶
func (m *AreaInfoRequest) String() string
func (*AreaInfoRequest) Unmarshal ¶
func (m *AreaInfoRequest) Unmarshal(dAtA []byte) error
type AreaSeatInfo ¶
type AreaSeatInfo struct { // 座位图x X int32 `protobuf:"varint,1,opt,name=X,proto3" json:"x" validate:"min=0"` // 座位图y Y int32 `protobuf:"varint,2,opt,name=Y,proto3" json:"y" validate:"min=0"` // 座位号 Label string `protobuf:"bytes,3,opt,name=Label,proto3" json:"label" validate:"min=1"` // 背景色 Bgcolor string `protobuf:"bytes,4,opt,name=Bgcolor,proto3" json:"bgcolor" validate:"min=1"` // 区域ID Area int64 `protobuf:"varint,5,opt,name=Area,proto3" json:"area" validate:"min=1"` }
单个座位信息
func (*AreaSeatInfo) Descriptor ¶
func (*AreaSeatInfo) Descriptor() ([]byte, []int)
func (*AreaSeatInfo) Marshal ¶
func (m *AreaSeatInfo) Marshal() (dAtA []byte, err error)
func (*AreaSeatInfo) ProtoMessage ¶
func (*AreaSeatInfo) ProtoMessage()
func (*AreaSeatInfo) Reset ¶
func (m *AreaSeatInfo) Reset()
func (*AreaSeatInfo) Size ¶
func (m *AreaSeatInfo) Size() (n int)
func (*AreaSeatInfo) String ¶
func (m *AreaSeatInfo) String() string
func (*AreaSeatInfo) Unmarshal ¶
func (m *AreaSeatInfo) Unmarshal(dAtA []byte) error
type AreaServer ¶
type AreaServer interface { AreaInfo(context.Context, *AreaInfoRequest) (*AreaInfoReply, error) DeleteArea(context.Context, *DeleteAreaRequest) (*DeleteAreaReply, error) }
type BannerEditReply ¶
type BannerEditReply struct {
BannerId int64 `protobuf:"varint,1,opt,name=banner_id,json=bannerId,proto3" json:"banner_id"`
}
The response message containing the result after adding/editing a banner
func (*BannerEditReply) Descriptor ¶
func (*BannerEditReply) Descriptor() ([]byte, []int)
func (*BannerEditReply) Marshal ¶
func (m *BannerEditReply) Marshal() (dAtA []byte, err error)
func (*BannerEditReply) ProtoMessage ¶
func (*BannerEditReply) ProtoMessage()
func (*BannerEditReply) Reset ¶
func (m *BannerEditReply) Reset()
func (*BannerEditReply) Size ¶
func (m *BannerEditReply) Size() (n int)
func (*BannerEditReply) String ¶
func (m *BannerEditReply) String() string
func (*BannerEditReply) Unmarshal ¶
func (m *BannerEditReply) Unmarshal(dAtA []byte) error
type BannerEditRequest ¶
type BannerEditRequest struct { VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id"` OpType int32 `protobuf:"varint,2,opt,name=op_type,json=opType,proto3" json:"op_type"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"` Position int32 `protobuf:"varint,4,opt,name=position,proto3" json:"position"` SubPosition int32 `protobuf:"varint,5,opt,name=sub_position,json=subPosition,proto3" json:"sub_position"` Order int32 `protobuf:"varint,6,opt,name=order,proto3" json:"order"` PubStart int64 `protobuf:"varint,7,opt,name=pub_start,json=pubStart,proto3" json:"pub_start"` PubEnd int64 `protobuf:"varint,8,opt,name=pub_end,json=pubEnd,proto3" json:"pub_end"` Pic string `protobuf:"bytes,9,opt,name=pic,proto3" json:"pic"` Url string `protobuf:"bytes,10,opt,name=url,proto3" json:"url"` From string `protobuf:"bytes,11,opt,name=from,proto3" json:"from"` Location string `protobuf:"bytes,12,opt,name=location,proto3" json:"location"` Uname string `protobuf:"bytes,13,opt,name=uname,proto3" json:"uname"` TargetUser int32 `protobuf:"varint,14,opt,name=target_user,json=targetUser,proto3" json:"target_user"` }
The request message containing the info to add/edit a banner
func (*BannerEditRequest) Descriptor ¶
func (*BannerEditRequest) Descriptor() ([]byte, []int)
func (*BannerEditRequest) Marshal ¶
func (m *BannerEditRequest) Marshal() (dAtA []byte, err error)
func (*BannerEditRequest) MarshalTo ¶
func (m *BannerEditRequest) MarshalTo(dAtA []byte) (int, error)
func (*BannerEditRequest) ProtoMessage ¶
func (*BannerEditRequest) ProtoMessage()
func (*BannerEditRequest) Reset ¶
func (m *BannerEditRequest) Reset()
func (*BannerEditRequest) Size ¶
func (m *BannerEditRequest) Size() (n int)
func (*BannerEditRequest) String ¶
func (m *BannerEditRequest) String() string
func (*BannerEditRequest) Unmarshal ¶
func (m *BannerEditRequest) Unmarshal(dAtA []byte) error
type BillOpt ¶
type BillOpt struct { BuyerInfo string `protobuf:"bytes,1,opt,name=buyerInfo,proto3" json:"buyer_info"` ExpTip int32 `protobuf:"varint,2,opt,name=exp_tip,json=expTip,proto3" json:"exptip"` ExpFree int32 `protobuf:"varint,3,opt,name=exp_free,json=expFree,proto3" json:"expfree"` VipExpFree int32 `protobuf:"varint,4,opt,name=vip_exp_free,json=vipExpFree,proto3" json:"vip_exp_free"` BuyLimit *BuyNumLimit `protobuf:"bytes,5,opt,name=buy_limit,json=buyLimit" json:"buy_num_limit"` }
The response message containing the ItemBillOption
func (*BillOpt) Descriptor ¶
func (*BillOpt) ProtoMessage ¶
func (*BillOpt) ProtoMessage()
type BillReply ¶
type BillReply struct { BaseInfo map[int64]*ItemBase `` /* 150-byte string literal not displayed */ BillOpt map[int64]*BillOpt `` /* 147-byte string literal not displayed */ }
The response message containing billinfo
func (*BillReply) Descriptor ¶
func (*BillReply) ProtoMessage ¶
func (*BillReply) ProtoMessage()
type BillRequest ¶
type BillRequest struct { IDs []int64 `protobuf:"varint,1,rep,packed,name=ids" json:"ids" validate:"required"` ScIDs []int64 `protobuf:"varint,2,rep,packed,name=tk_ids,json=tkIds" json:"sc_ids" validate:"required"` TkIDs []int64 `protobuf:"varint,3,rep,packed,name=sc_ids,json=scIds" json:"tk_ids" validate:"required"` }
The request message containing the itemIDs ScIDs TicketIDs.
func (*BillRequest) Descriptor ¶
func (*BillRequest) Descriptor() ([]byte, []int)
func (*BillRequest) Marshal ¶
func (m *BillRequest) Marshal() (dAtA []byte, err error)
func (*BillRequest) ProtoMessage ¶
func (*BillRequest) ProtoMessage()
func (*BillRequest) Reset ¶
func (m *BillRequest) Reset()
func (*BillRequest) Size ¶
func (m *BillRequest) Size() (n int)
func (*BillRequest) String ¶
func (m *BillRequest) String() string
func (*BillRequest) Unmarshal ¶
func (m *BillRequest) Unmarshal(dAtA []byte) error
type BnlLevel ¶
type BnlLevel struct { ApplyToVip int32 `protobuf:"varint,1,opt,name=apply_to_vip,json=applyToVip,proto3" json:"apply_to_vip"` Max int32 `protobuf:"varint,2,opt,name=max,proto3" json:"max"` Min int32 `protobuf:"varint,3,opt,name=min,proto3" json:"min"` }
func (*BnlLevel) Descriptor ¶
func (*BnlLevel) ProtoMessage ¶
func (*BnlLevel) ProtoMessage()
type BulletinCheckRequest ¶
type BulletinCheckRequest struct { VerID uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id" validate:"required,min=1"` OpType int32 `protobuf:"varint,2,opt,name=op_type,json=opType,proto3" json:"op_type" validate:"min=0,max=1"` Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment"` Reviewer string `protobuf:"bytes,4,opt,name=reviewer,proto3" json:"reviewer" validate:"required"` }
The request message containing the required version info to review the bulletin
func (*BulletinCheckRequest) Descriptor ¶
func (*BulletinCheckRequest) Descriptor() ([]byte, []int)
func (*BulletinCheckRequest) GetComment ¶
func (m *BulletinCheckRequest) GetComment() string
func (*BulletinCheckRequest) GetOpType ¶
func (m *BulletinCheckRequest) GetOpType() int32
func (*BulletinCheckRequest) GetReviewer ¶
func (m *BulletinCheckRequest) GetReviewer() string
func (*BulletinCheckRequest) GetVerID ¶
func (m *BulletinCheckRequest) GetVerID() uint64
func (*BulletinCheckRequest) Marshal ¶
func (m *BulletinCheckRequest) Marshal() (dAtA []byte, err error)
func (*BulletinCheckRequest) MarshalTo ¶
func (m *BulletinCheckRequest) MarshalTo(dAtA []byte) (int, error)
func (*BulletinCheckRequest) ProtoMessage ¶
func (*BulletinCheckRequest) ProtoMessage()
func (*BulletinCheckRequest) Reset ¶
func (m *BulletinCheckRequest) Reset()
func (*BulletinCheckRequest) Size ¶
func (m *BulletinCheckRequest) Size() (n int)
func (*BulletinCheckRequest) String ¶
func (m *BulletinCheckRequest) String() string
func (*BulletinCheckRequest) Unmarshal ¶
func (m *BulletinCheckRequest) Unmarshal(dAtA []byte) error
type BulletinClient ¶
type BulletinClient interface { BulletinInfo(ctx context.Context, in *BulletinInfoRequest, opts ...grpc.CallOption) (*BulletinReply, error) BulletinCheck(ctx context.Context, in *BulletinCheckRequest, opts ...grpc.CallOption) (*BulletinReply, error) BulletinState(ctx context.Context, in *BulletinStateRequest, opts ...grpc.CallOption) (*BulletinReply, error) }
func NewBulletinClient ¶
func NewBulletinClient(cc *grpc.ClientConn) BulletinClient
type BulletinInfo ¶
type BulletinInfo struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"min=1"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"` Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail"` Ctime string `protobuf:"bytes,5,opt,name=ctime,proto3" json:"ctime" validate:"min=0"` Mtime string `protobuf:"bytes,6,opt,name=mtime,proto3" json:"mtime" validate:"min=0"` VerID uint64 `protobuf:"varint,7,opt,name=ver_id,json=verId,proto3" json:"ver_id" validate:"min=0"` }
The response message containing the bulletin info
func (*BulletinInfo) Descriptor ¶
func (*BulletinInfo) Descriptor() ([]byte, []int)
func (*BulletinInfo) GetContent ¶
func (m *BulletinInfo) GetContent() string
func (*BulletinInfo) GetCtime ¶
func (m *BulletinInfo) GetCtime() string
func (*BulletinInfo) GetDetail ¶
func (m *BulletinInfo) GetDetail() string
func (*BulletinInfo) GetID ¶
func (m *BulletinInfo) GetID() int64
func (*BulletinInfo) GetMtime ¶
func (m *BulletinInfo) GetMtime() string
func (*BulletinInfo) GetTitle ¶
func (m *BulletinInfo) GetTitle() string
func (*BulletinInfo) GetVerID ¶
func (m *BulletinInfo) GetVerID() uint64
func (*BulletinInfo) Marshal ¶
func (m *BulletinInfo) Marshal() (dAtA []byte, err error)
func (*BulletinInfo) ProtoMessage ¶
func (*BulletinInfo) ProtoMessage()
func (*BulletinInfo) Reset ¶
func (m *BulletinInfo) Reset()
func (*BulletinInfo) Size ¶
func (m *BulletinInfo) Size() (n int)
func (*BulletinInfo) String ¶
func (m *BulletinInfo) String() string
func (*BulletinInfo) Unmarshal ¶
func (m *BulletinInfo) Unmarshal(dAtA []byte) error
type BulletinInfoRequest ¶
type BulletinInfoRequest struct { VerID uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title" validate:"required,max=32"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content" validate:"max=128"` Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail"` TargetItem int64 `protobuf:"varint,5,opt,name=target_item,json=targetItem,proto3" json:"target_item"` ParentID int64 `protobuf:"varint,6,opt,name=parent_id,json=parentId,proto3" json:"parent_id" validate:"required,min=1"` }
The request message containing the bulletin info to update
func (*BulletinInfoRequest) Descriptor ¶
func (*BulletinInfoRequest) Descriptor() ([]byte, []int)
func (*BulletinInfoRequest) GetContent ¶
func (m *BulletinInfoRequest) GetContent() string
func (*BulletinInfoRequest) GetDetail ¶
func (m *BulletinInfoRequest) GetDetail() string
func (*BulletinInfoRequest) GetParentID ¶
func (m *BulletinInfoRequest) GetParentID() int64
func (*BulletinInfoRequest) GetTargetItem ¶
func (m *BulletinInfoRequest) GetTargetItem() int64
func (*BulletinInfoRequest) GetTitle ¶
func (m *BulletinInfoRequest) GetTitle() string
func (*BulletinInfoRequest) GetVerID ¶
func (m *BulletinInfoRequest) GetVerID() uint64
func (*BulletinInfoRequest) Marshal ¶
func (m *BulletinInfoRequest) Marshal() (dAtA []byte, err error)
func (*BulletinInfoRequest) MarshalTo ¶
func (m *BulletinInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*BulletinInfoRequest) ProtoMessage ¶
func (*BulletinInfoRequest) ProtoMessage()
func (*BulletinInfoRequest) Reset ¶
func (m *BulletinInfoRequest) Reset()
func (*BulletinInfoRequest) Size ¶
func (m *BulletinInfoRequest) Size() (n int)
func (*BulletinInfoRequest) String ¶
func (m *BulletinInfoRequest) String() string
func (*BulletinInfoRequest) Unmarshal ¶
func (m *BulletinInfoRequest) Unmarshal(dAtA []byte) error
type BulletinReply ¶
type BulletinReply struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success"`
}
The general response message containing the result after updating/inserting the bulletin info
func (*BulletinReply) Descriptor ¶
func (*BulletinReply) Descriptor() ([]byte, []int)
func (*BulletinReply) GetSuccess ¶
func (m *BulletinReply) GetSuccess() bool
func (*BulletinReply) Marshal ¶
func (m *BulletinReply) Marshal() (dAtA []byte, err error)
func (*BulletinReply) ProtoMessage ¶
func (*BulletinReply) ProtoMessage()
func (*BulletinReply) Reset ¶
func (m *BulletinReply) Reset()
func (*BulletinReply) Size ¶
func (m *BulletinReply) Size() (n int)
func (*BulletinReply) String ¶
func (m *BulletinReply) String() string
func (*BulletinReply) Unmarshal ¶
func (m *BulletinReply) Unmarshal(dAtA []byte) error
type BulletinServer ¶
type BulletinServer interface { BulletinInfo(context.Context, *BulletinInfoRequest) (*BulletinReply, error) BulletinCheck(context.Context, *BulletinCheckRequest) (*BulletinReply, error) BulletinState(context.Context, *BulletinStateRequest) (*BulletinReply, error) }
type BulletinStateRequest ¶
type BulletinStateRequest struct { VerID uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id" validate:"required,min=1"` OpType int32 `protobuf:"varint,2,opt,name=op_type,json=opType,proto3" json:"op_type" validate:"min=0,max=1"` Source int32 `protobuf:"varint,3,opt,name=source,proto3" json:"source" validate:"min=1,max=2"` }
The request message containing the required version info to change the bulletin's status
func (*BulletinStateRequest) Descriptor ¶
func (*BulletinStateRequest) Descriptor() ([]byte, []int)
func (*BulletinStateRequest) GetOpType ¶
func (m *BulletinStateRequest) GetOpType() int32
func (*BulletinStateRequest) GetSource ¶
func (m *BulletinStateRequest) GetSource() int32
func (*BulletinStateRequest) GetVerID ¶
func (m *BulletinStateRequest) GetVerID() uint64
func (*BulletinStateRequest) Marshal ¶
func (m *BulletinStateRequest) Marshal() (dAtA []byte, err error)
func (*BulletinStateRequest) MarshalTo ¶
func (m *BulletinStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*BulletinStateRequest) ProtoMessage ¶
func (*BulletinStateRequest) ProtoMessage()
func (*BulletinStateRequest) Reset ¶
func (m *BulletinStateRequest) Reset()
func (*BulletinStateRequest) Size ¶
func (m *BulletinStateRequest) Size() (n int)
func (*BulletinStateRequest) String ¶
func (m *BulletinStateRequest) String() string
func (*BulletinStateRequest) Unmarshal ¶
func (m *BulletinStateRequest) Unmarshal(dAtA []byte) error
type BuyNumLimit ¶
type BuyNumLimit struct { Level []*BnlLevel `protobuf:"bytes,1,rep,name=level" json:"level"` Per int32 `protobuf:"varint,2,opt,name=per,proto3" json:"per"` VIP map[int32]*BnlLevel `protobuf:"bytes,3,rep,name=vip" json:"vip" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"` }
项目限购结构
func (*BuyNumLimit) Descriptor ¶
func (*BuyNumLimit) Descriptor() ([]byte, []int)
func (*BuyNumLimit) Marshal ¶
func (m *BuyNumLimit) Marshal() (dAtA []byte, err error)
func (*BuyNumLimit) ProtoMessage ¶
func (*BuyNumLimit) ProtoMessage()
func (*BuyNumLimit) Reset ¶
func (m *BuyNumLimit) Reset()
func (*BuyNumLimit) Size ¶
func (m *BuyNumLimit) Size() (n int)
func (*BuyNumLimit) String ¶
func (m *BuyNumLimit) String() string
func (*BuyNumLimit) Unmarshal ¶
func (m *BuyNumLimit) Unmarshal(dAtA []byte) error
type CardReply ¶
type CardReply struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"min=1"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status" validate:"min=1"` Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type" validate:"min=0"` Rec int32 `protobuf:"varint,5,opt,name=rec,proto3" json:"rec" validate:"min=0"` IsSale int32 `protobuf:"varint,6,opt,name=is_sale,json=isSale,proto3" json:"is_sale" validate:"min=0"` TicketDesc string `protobuf:"bytes,7,opt,name=ticket_desc,json=ticketDesc,proto3" json:"desc"` SaleFlag int32 `protobuf:"varint,8,opt,name=sale_flag,json=saleFlag,proto3" json:"sale_flag" validate:"min=1"` PromTag string `protobuf:"bytes,9,opt,name=prom_tag,json=promTag,proto3" json:"promo_tags"` Img *ImgList `protobuf:"bytes,10,opt,name=img" json:"img"` Time *ItemTime `protobuf:"bytes,11,opt,name=time" json:"time"` Venue *VenueInfo `protobuf:"bytes,12,opt,name=venue" json:"venue"` }
The response message containing the itembaseInfo
func (*CardReply) Descriptor ¶
func (*CardReply) ProtoMessage ¶
func (*CardReply) ProtoMessage()
type CardsReply ¶
type CardsReply struct {
Cards map[int64]*CardReply `` /* 127-byte string literal not displayed */
}
The response message containing the map type cardinfo
func (*CardsReply) Descriptor ¶
func (*CardsReply) Descriptor() ([]byte, []int)
func (*CardsReply) Marshal ¶
func (m *CardsReply) Marshal() (dAtA []byte, err error)
func (*CardsReply) ProtoMessage ¶
func (*CardsReply) ProtoMessage()
func (*CardsReply) Reset ¶
func (m *CardsReply) Reset()
func (*CardsReply) Size ¶
func (m *CardsReply) Size() (n int)
func (*CardsReply) String ¶
func (m *CardsReply) String() string
func (*CardsReply) Unmarshal ¶
func (m *CardsReply) Unmarshal(dAtA []byte) error
type CardsRequest ¶
type CardsRequest struct {
IDs []int64 `protobuf:"varint,1,rep,packed,name=ids" json:"ids" validate:"required"`
}
The request message containing the itemIDs.
func (*CardsRequest) Descriptor ¶
func (*CardsRequest) Descriptor() ([]byte, []int)
func (*CardsRequest) Marshal ¶
func (m *CardsRequest) Marshal() (dAtA []byte, err error)
func (*CardsRequest) ProtoMessage ¶
func (*CardsRequest) ProtoMessage()
func (*CardsRequest) Reset ¶
func (m *CardsRequest) Reset()
func (*CardsRequest) Size ¶
func (m *CardsRequest) Size() (n int)
func (*CardsRequest) String ¶
func (m *CardsRequest) String() string
func (*CardsRequest) Unmarshal ¶
func (m *CardsRequest) Unmarshal(dAtA []byte) error
type Client ¶
type Client struct { IC ItemClient GC GuestClient BC BulletinClient VC VenueClient PC PlaceClient AC AreaClient SC SeatClient }
Client 客户端枚举
type DeleteAreaReply ¶
type DeleteAreaReply struct { // 操作结果 Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"success"` }
deleteArea接口返回
func (*DeleteAreaReply) Descriptor ¶
func (*DeleteAreaReply) Descriptor() ([]byte, []int)
func (*DeleteAreaReply) Marshal ¶
func (m *DeleteAreaReply) Marshal() (dAtA []byte, err error)
func (*DeleteAreaReply) ProtoMessage ¶
func (*DeleteAreaReply) ProtoMessage()
func (*DeleteAreaReply) Reset ¶
func (m *DeleteAreaReply) Reset()
func (*DeleteAreaReply) Size ¶
func (m *DeleteAreaReply) Size() (n int)
func (*DeleteAreaReply) String ¶
func (m *DeleteAreaReply) String() string
func (*DeleteAreaReply) Unmarshal ¶
func (m *DeleteAreaReply) Unmarshal(dAtA []byte) error
type DeleteAreaRequest ¶
type DeleteAreaRequest struct { // 待删除区域的ID ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"id" validate:"min=1"` }
deleteArea接口请求
func (*DeleteAreaRequest) Descriptor ¶
func (*DeleteAreaRequest) Descriptor() ([]byte, []int)
func (*DeleteAreaRequest) Marshal ¶
func (m *DeleteAreaRequest) Marshal() (dAtA []byte, err error)
func (*DeleteAreaRequest) MarshalTo ¶
func (m *DeleteAreaRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeleteAreaRequest) ProtoMessage ¶
func (*DeleteAreaRequest) ProtoMessage()
func (*DeleteAreaRequest) Reset ¶
func (m *DeleteAreaRequest) Reset()
func (*DeleteAreaRequest) Size ¶
func (m *DeleteAreaRequest) Size() (n int)
func (*DeleteAreaRequest) String ¶
func (m *DeleteAreaRequest) String() string
func (*DeleteAreaRequest) Unmarshal ¶
func (m *DeleteAreaRequest) Unmarshal(dAtA []byte) error
type FavReply ¶
type FavReply struct { ItemID int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id" validate:"required"` MID int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid" validate:"required"` Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type" validate:"required,min=0,max=1"` Status int32 `protobuf:"varint,4,opt,name=Status,proto3" json:"status" validate:"required,min=0,max=1"` }
FavReply 收藏
func (*FavReply) Descriptor ¶
func (*FavReply) ProtoMessage ¶
func (*FavReply) ProtoMessage()
type FavRequest ¶
type FavRequest struct { ItemID int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id" validate:"required"` MID int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid" validate:"required"` Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type" validate:"required,min=1,max=3"` Status int32 `protobuf:"varint,4,opt,name=Status,proto3" json:"status" validate:"required,min=0,max=1"` }
FavRequest 收藏
func (*FavRequest) Descriptor ¶
func (*FavRequest) Descriptor() ([]byte, []int)
func (*FavRequest) Marshal ¶
func (m *FavRequest) Marshal() (dAtA []byte, err error)
func (*FavRequest) ProtoMessage ¶
func (*FavRequest) ProtoMessage()
func (*FavRequest) Reset ¶
func (m *FavRequest) Reset()
func (*FavRequest) Size ¶
func (m *FavRequest) Size() (n int)
func (*FavRequest) String ¶
func (m *FavRequest) String() string
func (*FavRequest) Unmarshal ¶
func (m *FavRequest) Unmarshal(dAtA []byte) error
type GuestClient ¶
type GuestClient interface { GuestInfo(ctx context.Context, in *GuestInfoRequest, opts ...grpc.CallOption) (*GuestInfoReply, error) GuestStatus(ctx context.Context, in *GuestStatusRequest, opts ...grpc.CallOption) (*GuestInfoReply, error) }
func NewGuestClient ¶
func NewGuestClient(cc *grpc.ClientConn) GuestClient
type GuestInfoReply ¶
type GuestInfoReply struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success"`
}
The general response message contaning the result after updating/inserting the guest info
func (*GuestInfoReply) Descriptor ¶
func (*GuestInfoReply) Descriptor() ([]byte, []int)
func (*GuestInfoReply) Marshal ¶
func (m *GuestInfoReply) Marshal() (dAtA []byte, err error)
func (*GuestInfoReply) ProtoMessage ¶
func (*GuestInfoReply) ProtoMessage()
func (*GuestInfoReply) Reset ¶
func (m *GuestInfoReply) Reset()
func (*GuestInfoReply) Size ¶
func (m *GuestInfoReply) Size() (n int)
func (*GuestInfoReply) String ¶
func (m *GuestInfoReply) String() string
func (*GuestInfoReply) Unmarshal ¶
func (m *GuestInfoReply) Unmarshal(dAtA []byte) error
type GuestInfoRequest ¶
type GuestInfoRequest struct { ID uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"min=0"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" validate:"max=32"` GuestImg string `protobuf:"bytes,3,opt,name=guest_img,json=guestImg,proto3" json:"guest_img" validate:"min=0"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description" validate:"max=128"` GuestID int64 `protobuf:"varint,5,opt,name=guest_id,json=guestId,proto3" json:"guest_id"` }
The request message containing the guest info to update/insert
func (*GuestInfoRequest) Descriptor ¶
func (*GuestInfoRequest) Descriptor() ([]byte, []int)
func (*GuestInfoRequest) Marshal ¶
func (m *GuestInfoRequest) Marshal() (dAtA []byte, err error)
func (*GuestInfoRequest) ProtoMessage ¶
func (*GuestInfoRequest) ProtoMessage()
func (*GuestInfoRequest) Reset ¶
func (m *GuestInfoRequest) Reset()
func (*GuestInfoRequest) Size ¶
func (m *GuestInfoRequest) Size() (n int)
func (*GuestInfoRequest) String ¶
func (m *GuestInfoRequest) String() string
func (*GuestInfoRequest) Unmarshal ¶
func (m *GuestInfoRequest) Unmarshal(dAtA []byte) error
type GuestServer ¶
type GuestServer interface { GuestInfo(context.Context, *GuestInfoRequest) (*GuestInfoReply, error) GuestStatus(context.Context, *GuestStatusRequest) (*GuestInfoReply, error) }
type GuestStatusRequest ¶
type GuestStatusRequest struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"required,min=1"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status" validate:"max=1"` }
The request message containing the required info to change guest's status
func (*GuestStatusRequest) Descriptor ¶
func (*GuestStatusRequest) Descriptor() ([]byte, []int)
func (*GuestStatusRequest) Marshal ¶
func (m *GuestStatusRequest) Marshal() (dAtA []byte, err error)
func (*GuestStatusRequest) MarshalTo ¶
func (m *GuestStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*GuestStatusRequest) ProtoMessage ¶
func (*GuestStatusRequest) ProtoMessage()
func (*GuestStatusRequest) Reset ¶
func (m *GuestStatusRequest) Reset()
func (*GuestStatusRequest) Size ¶
func (m *GuestStatusRequest) Size() (n int)
func (*GuestStatusRequest) String ¶
func (m *GuestStatusRequest) String() string
func (*GuestStatusRequest) Unmarshal ¶
func (m *GuestStatusRequest) Unmarshal(dAtA []byte) error
type ImgList ¶
type ImgList struct { First string `protobuf:"bytes,1,opt,name=first,proto3" json:"first"` Banner string `protobuf:"bytes,2,opt,name=banner,proto3" json:"banner"` }
The response message containing the ImgList
func (*ImgList) Descriptor ¶
func (*ImgList) ProtoMessage ¶
func (*ImgList) ProtoMessage()
type InfoReply ¶
type InfoReply struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"min=1"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status" validate:"min=1"` Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type" validate:"min=0"` Rec int32 `protobuf:"varint,5,opt,name=rec,proto3" json:"rec" validate:"min=0"` IsSale int32 `protobuf:"varint,6,opt,name=is_sale,json=isSale,proto3" json:"is_sale" validate:"min=0"` TicketDesc string `protobuf:"bytes,7,opt,name=ticket_desc,json=ticketDesc,proto3" json:"desc"` SaleFlag int32 `protobuf:"varint,8,opt,name=sale_flag,json=saleFlag,proto3" json:"sale_flag" validate:"min=1"` PromTag string `protobuf:"bytes,9,opt,name=prom_tag,json=promTag,proto3" json:"promo_tags"` Img *ImgList `protobuf:"bytes,10,opt,name=img" json:"img"` Time *ItemTime `protobuf:"bytes,11,opt,name=time" json:"time"` Screen map[int64]*ScreenInfo `` /* 131-byte string literal not displayed */ Ext *ItemExt `protobuf:"bytes,13,opt,name=ext" json:"ext"` BillOpt *BillOpt `protobuf:"bytes,14,opt,name=bill_opt,json=billOpt" json:"bill_opt"` }
The response message containing the itembaseinfo and related screeninfo,ticketinfo
func (*InfoReply) Descriptor ¶
func (*InfoReply) ProtoMessage ¶
func (*InfoReply) ProtoMessage()
type InfoRequest ¶
type InfoRequest struct {
ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"required"`
}
The request message containing the itemID.
func (*InfoRequest) Descriptor ¶
func (*InfoRequest) Descriptor() ([]byte, []int)
func (*InfoRequest) Marshal ¶
func (m *InfoRequest) Marshal() (dAtA []byte, err error)
func (*InfoRequest) ProtoMessage ¶
func (*InfoRequest) ProtoMessage()
func (*InfoRequest) Reset ¶
func (m *InfoRequest) Reset()
func (*InfoRequest) Size ¶
func (m *InfoRequest) Size() (n int)
func (*InfoRequest) String ¶
func (m *InfoRequest) String() string
func (*InfoRequest) Unmarshal ¶
func (m *InfoRequest) Unmarshal(dAtA []byte) error
type ItemBase ¶
type ItemBase struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"min=1"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status" validate:"min=0"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"` Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type" validate:"min=0"` IsSale int32 `protobuf:"varint,5,opt,name=is_sale,json=isSale,proto3" json:"is_sale" validate:"min=0"` PromTag string `protobuf:"bytes,6,opt,name=prom_tag,json=promTag,proto3" json:"promo_tags"` VerID uint64 `protobuf:"varint,7,opt,name=ver_id,json=verId,proto3" json:"ver_id" validate:"min=0"` Time *ItemTime `protobuf:"bytes,8,opt,name=time" json:"time"` Img *ImgList `protobuf:"bytes,9,opt,name=img" json:"img"` Screen map[int64]*ScreenInfo `` /* 131-byte string literal not displayed */ }
The response message containing the itembaseinfo and map type screeninfo
func (*ItemBase) Descriptor ¶
func (*ItemBase) ProtoMessage ¶
func (*ItemBase) ProtoMessage()
type ItemClient ¶
type ItemClient interface { // Info Servcie Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoReply, error) // cards Servcie Cards(ctx context.Context, in *CardsRequest, opts ...grpc.CallOption) (*CardsReply, error) // BillInfo Servcie BillInfo(ctx context.Context, in *BillRequest, opts ...grpc.CallOption) (*BillReply, error) // Wish Service Wish(ctx context.Context, in *WishRequest, opts ...grpc.CallOption) (*WishReply, error) // Version Service Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionReply, error) // VersionReview Service VersionReview(ctx context.Context, in *VersionReviewRequest, opts ...grpc.CallOption) (*VersionReviewReply, error) // VersionStatus Service VersionStatus(ctx context.Context, in *VersionStatusRequest, opts ...grpc.CallOption) (*VersionStatusReply, error) // BannerEdit Service BannerEdit(ctx context.Context, in *BannerEditRequest, opts ...grpc.CallOption) (*BannerEditReply, error) }
func NewItemClient ¶
func NewItemClient(cc *grpc.ClientConn) ItemClient
type ItemExt ¶
type ItemExt struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label"` SpType int32 `protobuf:"varint,2,opt,name=sp_type,json=spType,proto3" json:"sponsor_type" validate:"min=0"` VerID uint64 `protobuf:"varint,3,opt,name=ver_id,json=verId,proto3" json:"ver_id" validate:"min=0"` Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail"` Venue *VenueInfo `protobuf:"bytes,5,opt,name=venue" json:"venue"` Bulletin []*BulletinInfo `protobuf:"bytes,6,rep,name=bulletin" json:"bulletin"` Guest []*GuestInfoRequest `protobuf:"bytes,7,rep,name=guest" json:"guest"` }
The response message containing the ItemExtinfo
func (*ItemExt) Descriptor ¶
func (*ItemExt) ProtoMessage ¶
func (*ItemExt) ProtoMessage()
type ItemServer ¶
type ItemServer interface { // Info Servcie Info(context.Context, *InfoRequest) (*InfoReply, error) // cards Servcie Cards(context.Context, *CardsRequest) (*CardsReply, error) // BillInfo Servcie BillInfo(context.Context, *BillRequest) (*BillReply, error) // Wish Service Wish(context.Context, *WishRequest) (*WishReply, error) // Version Service Version(context.Context, *VersionRequest) (*VersionReply, error) // VersionReview Service VersionReview(context.Context, *VersionReviewRequest) (*VersionReviewReply, error) // VersionStatus Service VersionStatus(context.Context, *VersionStatusRequest) (*VersionStatusReply, error) // BannerEdit Service BannerEdit(context.Context, *BannerEditRequest) (*BannerEditReply, error) }
type ItemTime ¶
type ItemTime struct { Stime int32 `protobuf:"varint,1,opt,name=stime,proto3" json:"stime"` Etime int32 `protobuf:"varint,2,opt,name=etime,proto3" json:"etime"` }
The response message containing the Item related time
func (*ItemTime) Descriptor ¶
func (*ItemTime) ProtoMessage ¶
func (*ItemTime) ProtoMessage()
type PlaceClient ¶
type PlaceClient interface {
PlaceInfo(ctx context.Context, in *PlaceInfoRequest, opts ...grpc.CallOption) (*PlaceInfoReply, error)
}
func NewPlaceClient ¶
func NewPlaceClient(cc *grpc.ClientConn) PlaceClient
type PlaceInfo ¶
type PlaceInfo struct { // 状态 ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // 场地名 Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status"` // 场地底图 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"` // 场馆ID BasePic string `protobuf:"bytes,4,opt,name=base_pic,json=basePic,proto3" json:"base_pic"` // mis画框宽度 DWidth int32 `protobuf:"varint,5,opt,name=d_width,json=dWidth,proto3" json:"d_width"` // mis画框高度 DHeight int32 `protobuf:"varint,6,opt,name=d_height,json=dHeight,proto3" json:"d_height"` }
The response message containing the Place info
func (*PlaceInfo) Descriptor ¶
func (*PlaceInfo) ProtoMessage ¶
func (*PlaceInfo) ProtoMessage()
type PlaceInfoReply ¶
type PlaceInfoReply struct { // 操作结果 Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"success"` // 操作场地ID ID int64 `protobuf:"varint,2,opt,name=ID,proto3" json:"id"` }
placeInfo接口返回
func (*PlaceInfoReply) Descriptor ¶
func (*PlaceInfoReply) Descriptor() ([]byte, []int)
func (*PlaceInfoReply) Marshal ¶
func (m *PlaceInfoReply) Marshal() (dAtA []byte, err error)
func (*PlaceInfoReply) ProtoMessage ¶
func (*PlaceInfoReply) ProtoMessage()
func (*PlaceInfoReply) Reset ¶
func (m *PlaceInfoReply) Reset()
func (*PlaceInfoReply) Size ¶
func (m *PlaceInfoReply) Size() (n int)
func (*PlaceInfoReply) String ¶
func (m *PlaceInfoReply) String() string
func (*PlaceInfoReply) Unmarshal ¶
func (m *PlaceInfoReply) Unmarshal(dAtA []byte) error
type PlaceInfoRequest ¶
type PlaceInfoRequest struct { // 待修改场地的ID(为0表示创建) ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"id" validate:"min=0"` // 状态 Status int32 `protobuf:"varint,2,opt,name=Status,proto3" json:"status" validate:"min=0,max=1"` // 场地名 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name" validate:"max=16"` // 场地底图 BasePic string `protobuf:"bytes,4,opt,name=BasePic,proto3" json:"base_pic" validate:"max=128"` // 场馆ID Venue int64 `protobuf:"varint,5,opt,name=Venue,proto3" json:"venue" validate:"min=1"` // mis画框宽度 DWidth int32 `protobuf:"varint,6,opt,name=DWidth,proto3" json:"d_width" validate:"min=0"` // mis画框高度 DHeight int32 `protobuf:"varint,7,opt,name=DHeight,proto3" json:"d_height" validate:"min=0"` }
placeInfo接口请求
func (*PlaceInfoRequest) Descriptor ¶
func (*PlaceInfoRequest) Descriptor() ([]byte, []int)
func (*PlaceInfoRequest) Marshal ¶
func (m *PlaceInfoRequest) Marshal() (dAtA []byte, err error)
func (*PlaceInfoRequest) ProtoMessage ¶
func (*PlaceInfoRequest) ProtoMessage()
func (*PlaceInfoRequest) Reset ¶
func (m *PlaceInfoRequest) Reset()
func (*PlaceInfoRequest) Size ¶
func (m *PlaceInfoRequest) Size() (n int)
func (*PlaceInfoRequest) String ¶
func (m *PlaceInfoRequest) String() string
func (*PlaceInfoRequest) Unmarshal ¶
func (m *PlaceInfoRequest) Unmarshal(dAtA []byte) error
type PlaceServer ¶
type PlaceServer interface {
PlaceInfo(context.Context, *PlaceInfoRequest) (*PlaceInfoReply, error)
}
type RemoveSeatOrdersReply ¶
type RemoveSeatOrdersReply struct { // 影响的区域 Areas []int64 `protobuf:"varint,1,rep,packed,name=Areas" json:"areas"` }
removeSeatOrders接口返回
func (*RemoveSeatOrdersReply) Descriptor ¶
func (*RemoveSeatOrdersReply) Descriptor() ([]byte, []int)
func (*RemoveSeatOrdersReply) Marshal ¶
func (m *RemoveSeatOrdersReply) Marshal() (dAtA []byte, err error)
func (*RemoveSeatOrdersReply) MarshalTo ¶
func (m *RemoveSeatOrdersReply) MarshalTo(dAtA []byte) (int, error)
func (*RemoveSeatOrdersReply) ProtoMessage ¶
func (*RemoveSeatOrdersReply) ProtoMessage()
func (*RemoveSeatOrdersReply) Reset ¶
func (m *RemoveSeatOrdersReply) Reset()
func (*RemoveSeatOrdersReply) Size ¶
func (m *RemoveSeatOrdersReply) Size() (n int)
func (*RemoveSeatOrdersReply) String ¶
func (m *RemoveSeatOrdersReply) String() string
func (*RemoveSeatOrdersReply) Unmarshal ¶
func (m *RemoveSeatOrdersReply) Unmarshal(dAtA []byte) error
type RemoveSeatOrdersRequest ¶
type RemoveSeatOrdersRequest struct { // 票价ID Price int64 `protobuf:"varint,1,opt,name=Price,proto3" json:"price" validate:"min=1"` }
removeSeatOrders接口请求
func (*RemoveSeatOrdersRequest) Descriptor ¶
func (*RemoveSeatOrdersRequest) Descriptor() ([]byte, []int)
func (*RemoveSeatOrdersRequest) Marshal ¶
func (m *RemoveSeatOrdersRequest) Marshal() (dAtA []byte, err error)
func (*RemoveSeatOrdersRequest) MarshalTo ¶
func (m *RemoveSeatOrdersRequest) MarshalTo(dAtA []byte) (int, error)
func (*RemoveSeatOrdersRequest) ProtoMessage ¶
func (*RemoveSeatOrdersRequest) ProtoMessage()
func (*RemoveSeatOrdersRequest) Reset ¶
func (m *RemoveSeatOrdersRequest) Reset()
func (*RemoveSeatOrdersRequest) Size ¶
func (m *RemoveSeatOrdersRequest) Size() (n int)
func (*RemoveSeatOrdersRequest) String ¶
func (m *RemoveSeatOrdersRequest) String() string
func (*RemoveSeatOrdersRequest) Unmarshal ¶
func (m *RemoveSeatOrdersRequest) Unmarshal(dAtA []byte) error
type ScreenInfo ¶
type ScreenInfo struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"min=0"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status" validate:"min=0"` // 类型: 1-坐, 2-站 Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type" validate:"min=0"` // 出票方式: 1-纸质票, 2-电子票, 3-外部票 TicketType int32 `protobuf:"varint,5,opt,name=ticket_type,json=ticketType,proto3" json:"ticket_type" validate:"min=0"` // 票区分的场次类型: 1-普通场次, 2-通票场次 3-联票场次 ScreenType int32 `protobuf:"varint,6,opt,name=screen_type,json=screenType,proto3" json:"screen_type" validate:"min=0"` // 配送方式: 1-不配送, 2-自取, 3-快递 DeliveryType int32 `protobuf:"varint,7,opt,name=delivery_type,json=deliveryType,proto3" json:"delivery_type" validate:"min=0"` // 是否选座 是-1,否-0 PickSeat int32 `protobuf:"varint,8,opt,name=pick_seat,json=pickSeat,proto3" json:"pick_seat" validate:"min=0"` // 售卖状态 SaleFlag int32 `protobuf:"varint,9,opt,name=sale_flag,json=saleFlag,proto3" json:"sale_flag" validate:"min=0"` ScTime *ScreenTime `protobuf:"bytes,10,opt,name=sc_time,json=scTime" json:"time"` Ticket map[int64]*TicketInfo `` /* 131-byte string literal not displayed */ }
The response message containing the ScreenInfo
func (*ScreenInfo) Descriptor ¶
func (*ScreenInfo) Descriptor() ([]byte, []int)
func (*ScreenInfo) GetDeliveryType ¶
func (m *ScreenInfo) GetDeliveryType() int32
func (*ScreenInfo) GetID ¶
func (m *ScreenInfo) GetID() int64
func (*ScreenInfo) GetName ¶
func (m *ScreenInfo) GetName() string
func (*ScreenInfo) GetPickSeat ¶
func (m *ScreenInfo) GetPickSeat() int32
func (*ScreenInfo) GetSaleFlag ¶
func (m *ScreenInfo) GetSaleFlag() int32
func (*ScreenInfo) GetScTime ¶
func (m *ScreenInfo) GetScTime() *ScreenTime
func (*ScreenInfo) GetScreenType ¶
func (m *ScreenInfo) GetScreenType() int32
func (*ScreenInfo) GetStatus ¶
func (m *ScreenInfo) GetStatus() int32
func (*ScreenInfo) GetTicket ¶
func (m *ScreenInfo) GetTicket() map[int64]*TicketInfo
func (*ScreenInfo) GetTicketType ¶
func (m *ScreenInfo) GetTicketType() int32
func (*ScreenInfo) GetType ¶
func (m *ScreenInfo) GetType() int32
func (*ScreenInfo) Marshal ¶
func (m *ScreenInfo) Marshal() (dAtA []byte, err error)
func (*ScreenInfo) ProtoMessage ¶
func (*ScreenInfo) ProtoMessage()
func (*ScreenInfo) Reset ¶
func (m *ScreenInfo) Reset()
func (*ScreenInfo) Size ¶
func (m *ScreenInfo) Size() (n int)
func (*ScreenInfo) String ¶
func (m *ScreenInfo) String() string
func (*ScreenInfo) Unmarshal ¶
func (m *ScreenInfo) Unmarshal(dAtA []byte) error
type ScreenTime ¶
type ScreenTime struct { Stime int32 `protobuf:"varint,1,opt,name=stime,proto3" json:"stime" validate:"min=0"` Etime int32 `protobuf:"varint,2,opt,name=etime,proto3" json:"etime" validate:"min=0"` SaleStime int32 `protobuf:"varint,3,opt,name=sale_stime,json=saleStime,proto3" json:"sales" validate:"min=0"` SaleEtime int32 `protobuf:"varint,4,opt,name=sale_etime,json=saleEtime,proto3" json:"salee" validate:"min=0"` }
The response message containing the Screen related time
func (*ScreenTime) Descriptor ¶
func (*ScreenTime) Descriptor() ([]byte, []int)
func (*ScreenTime) GetEtime ¶
func (m *ScreenTime) GetEtime() int32
func (*ScreenTime) GetSaleEtime ¶
func (m *ScreenTime) GetSaleEtime() int32
func (*ScreenTime) GetSaleStime ¶
func (m *ScreenTime) GetSaleStime() int32
func (*ScreenTime) GetStime ¶
func (m *ScreenTime) GetStime() int32
func (*ScreenTime) Marshal ¶
func (m *ScreenTime) Marshal() (dAtA []byte, err error)
func (*ScreenTime) ProtoMessage ¶
func (*ScreenTime) ProtoMessage()
func (*ScreenTime) Reset ¶
func (m *ScreenTime) Reset()
func (*ScreenTime) Size ¶
func (m *ScreenTime) Size() (n int)
func (*ScreenTime) String ¶
func (m *ScreenTime) String() string
func (*ScreenTime) Unmarshal ¶
func (m *ScreenTime) Unmarshal(dAtA []byte) error
type SeatClient ¶
type SeatClient interface { SeatInfo(ctx context.Context, in *SeatInfoRequest, opts ...grpc.CallOption) (*SeatInfoReply, error) SeatStock(ctx context.Context, in *SeatStockRequest, opts ...grpc.CallOption) (*SeatStockReply, error) RemoveSeatOrders(ctx context.Context, in *RemoveSeatOrdersRequest, opts ...grpc.CallOption) (*RemoveSeatOrdersReply, error) }
func NewSeatClient ¶
func NewSeatClient(cc *grpc.ClientConn) SeatClient
type SeatInfoReply ¶
type SeatInfoReply struct { // 操作结果 Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"success"` }
seatInfo接口返回
func (*SeatInfoReply) Descriptor ¶
func (*SeatInfoReply) Descriptor() ([]byte, []int)
func (*SeatInfoReply) Marshal ¶
func (m *SeatInfoReply) Marshal() (dAtA []byte, err error)
func (*SeatInfoReply) ProtoMessage ¶
func (*SeatInfoReply) ProtoMessage()
func (*SeatInfoReply) Reset ¶
func (m *SeatInfoReply) Reset()
func (*SeatInfoReply) Size ¶
func (m *SeatInfoReply) Size() (n int)
func (*SeatInfoReply) String ¶
func (m *SeatInfoReply) String() string
func (*SeatInfoReply) Unmarshal ¶
func (m *SeatInfoReply) Unmarshal(dAtA []byte) error
type SeatInfoRequest ¶
type SeatInfoRequest struct { // 区域ID Area int64 `protobuf:"varint,1,opt,name=Area,proto3" json:"area" validate:"min=1"` // 座位数 SeatsNum int32 `protobuf:"varint,2,opt,name=SeatsNum,proto3" json:"seats_num" validate:"min=1"` // 座位图 SeatMap string `protobuf:"bytes,3,opt,name=SeatMap,proto3" json:"seat_map" validate:"min=1"` // 座位数组 Seats []*AreaSeatInfo `protobuf:"bytes,4,rep,name=Seats" json:"seats" validate:"min=1"` // 坐区宽度 Width int32 `protobuf:"varint,5,opt,name=Width,proto3" json:"width" validate:"min=1"` // 坐区高度 Height int32 `protobuf:"varint,6,opt,name=Height,proto3" json:"height" validate:"min=1"` // 行号序列 RowList string `protobuf:"bytes,7,opt,name=RowList,proto3" json:"row_list" validate:"min=1"` // 座位起始坐标 SeatStart string `protobuf:"bytes,8,opt,name=SeatStart,proto3" json:"seat_start" validate:"min=1"` }
seatInfo接口请求
func (*SeatInfoRequest) Descriptor ¶
func (*SeatInfoRequest) Descriptor() ([]byte, []int)
func (*SeatInfoRequest) Marshal ¶
func (m *SeatInfoRequest) Marshal() (dAtA []byte, err error)
func (*SeatInfoRequest) ProtoMessage ¶
func (*SeatInfoRequest) ProtoMessage()
func (*SeatInfoRequest) Reset ¶
func (m *SeatInfoRequest) Reset()
func (*SeatInfoRequest) Size ¶
func (m *SeatInfoRequest) Size() (n int)
func (*SeatInfoRequest) String ¶
func (m *SeatInfoRequest) String() string
func (*SeatInfoRequest) Unmarshal ¶
func (m *SeatInfoRequest) Unmarshal(dAtA []byte) error
type SeatPrice ¶
type SeatPrice struct { // 座位图x X int32 `protobuf:"varint,1,opt,name=X,proto3" json:"x" validate:"min=0"` // 座位图y Y int32 `protobuf:"varint,2,opt,name=Y,proto3" json:"y" validate:"min=0"` // 票种ID Price int64 `protobuf:"varint,3,opt,name=Price,proto3" json:"price" validate:"min=1"` }
座位票种
func (*SeatPrice) Descriptor ¶
func (*SeatPrice) ProtoMessage ¶
func (*SeatPrice) ProtoMessage()
type SeatServer ¶
type SeatServer interface { SeatInfo(context.Context, *SeatInfoRequest) (*SeatInfoReply, error) SeatStock(context.Context, *SeatStockRequest) (*SeatStockReply, error) RemoveSeatOrders(context.Context, *RemoveSeatOrdersRequest) (*RemoveSeatOrdersReply, error) }
type SeatStockReply ¶
type SeatStockReply struct { // 操作结果 Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"success"` }
seatStock接口返回
func (*SeatStockReply) Descriptor ¶
func (*SeatStockReply) Descriptor() ([]byte, []int)
func (*SeatStockReply) Marshal ¶
func (m *SeatStockReply) Marshal() (dAtA []byte, err error)
func (*SeatStockReply) ProtoMessage ¶
func (*SeatStockReply) ProtoMessage()
func (*SeatStockReply) Reset ¶
func (m *SeatStockReply) Reset()
func (*SeatStockReply) Size ¶
func (m *SeatStockReply) Size() (n int)
func (*SeatStockReply) String ¶
func (m *SeatStockReply) String() string
func (*SeatStockReply) Unmarshal ¶
func (m *SeatStockReply) Unmarshal(dAtA []byte) error
type SeatStockRequest ¶
type SeatStockRequest struct { // 场次ID Screen int64 `protobuf:"varint,1,opt,name=Screen,proto3" json:"screen" validate:"min=1"` // 区域ID Area int64 `protobuf:"varint,2,opt,name=Area,proto3" json:"area" validate:"min=1"` // 座位票种定义数组 SeatInfo []*SeatPrice `protobuf:"bytes,3,rep,name=SeatInfo" json:"seatInfo" validate:"min=1"` }
seatStock接口请求
func (*SeatStockRequest) Descriptor ¶
func (*SeatStockRequest) Descriptor() ([]byte, []int)
func (*SeatStockRequest) Marshal ¶
func (m *SeatStockRequest) Marshal() (dAtA []byte, err error)
func (*SeatStockRequest) ProtoMessage ¶
func (*SeatStockRequest) ProtoMessage()
func (*SeatStockRequest) Reset ¶
func (m *SeatStockRequest) Reset()
func (*SeatStockRequest) Size ¶
func (m *SeatStockRequest) Size() (n int)
func (*SeatStockRequest) String ¶
func (m *SeatStockRequest) String() string
func (*SeatStockRequest) Unmarshal ¶
func (m *SeatStockRequest) Unmarshal(dAtA []byte) error
type TicketBuyNumLimit ¶
type TicketBuyNumLimit struct { Normal map[int32]int64 `` /* 138-byte string literal not displayed */ Vip map[int32]int64 `` /* 132-byte string literal not displayed */ AnnualVip map[int32]int64 `` /* 161-byte string literal not displayed */ }
func (*TicketBuyNumLimit) Descriptor ¶
func (*TicketBuyNumLimit) Descriptor() ([]byte, []int)
func (*TicketBuyNumLimit) GetAnnualVip ¶
func (m *TicketBuyNumLimit) GetAnnualVip() map[int32]int64
func (*TicketBuyNumLimit) GetNormal ¶
func (m *TicketBuyNumLimit) GetNormal() map[int32]int64
func (*TicketBuyNumLimit) GetVip ¶
func (m *TicketBuyNumLimit) GetVip() map[int32]int64
func (*TicketBuyNumLimit) Marshal ¶
func (m *TicketBuyNumLimit) Marshal() (dAtA []byte, err error)
func (*TicketBuyNumLimit) MarshalTo ¶
func (m *TicketBuyNumLimit) MarshalTo(dAtA []byte) (int, error)
func (*TicketBuyNumLimit) ProtoMessage ¶
func (*TicketBuyNumLimit) ProtoMessage()
func (*TicketBuyNumLimit) Reset ¶
func (m *TicketBuyNumLimit) Reset()
func (*TicketBuyNumLimit) Size ¶
func (m *TicketBuyNumLimit) Size() (n int)
func (*TicketBuyNumLimit) String ¶
func (m *TicketBuyNumLimit) String() string
func (*TicketBuyNumLimit) Unmarshal ¶
func (m *TicketBuyNumLimit) Unmarshal(dAtA []byte) error
type TicketInfo ¶
type TicketInfo struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"min=1"` Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"name"` // 票类型:1-单场票 2-通票 3-联票 Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type" validate:"min=0"` // 售卖类型 1-预售票 2-现场票 SaleType int32 `protobuf:"varint,4,opt,name=sale_type,json=saleType,proto3" json:"stype" validate:"min=0"` LinkSc string `protobuf:"bytes,5,opt,name=link_sc,json=linkSc,proto3" json:"lk_screen"` LinkTicketID string `protobuf:"bytes,6,opt,name=link_ticket_id,json=linkTicketId,proto3" json:"lk_ticket"` Symbol string `protobuf:"bytes,7,opt,name=symbol,proto3" json:"symbol"` Color string `protobuf:"bytes,8,opt,name=color,proto3" json:"color"` BuyLimit int32 `protobuf:"varint,9,opt,name=buy_limit,json=buyLimit,proto3" json:"buy_limit" validate:"min=0"` DescDetail string `protobuf:"bytes,10,opt,name=desc_detail,json=descDetail,proto3" json:"desc"` SaleFlag int32 `protobuf:"varint,11,opt,name=sale_flag,json=saleFlag,proto3" json:"sale_flag" validate:"min=0"` PriceList *TicketPriceList `protobuf:"bytes,12,opt,name=price_list,json=priceList" json:"price"` StatusList *TicketStatus `protobuf:"bytes,13,opt,name=status_list,json=statusList" json:"status"` Time *TicketTime `protobuf:"bytes,14,opt,name=time" json:"time"` BuyNumLimit *TicketBuyNumLimit `protobuf:"bytes,15,opt,name=buy_num_limit,json=buyNumLimit" json:"buy_num_limit"` }
The response message containing the TicketInfo
func (*TicketInfo) Descriptor ¶
func (*TicketInfo) Descriptor() ([]byte, []int)
func (*TicketInfo) GetBuyLimit ¶
func (m *TicketInfo) GetBuyLimit() int32
func (*TicketInfo) GetBuyNumLimit ¶
func (m *TicketInfo) GetBuyNumLimit() *TicketBuyNumLimit
func (*TicketInfo) GetColor ¶
func (m *TicketInfo) GetColor() string
func (*TicketInfo) GetDesc ¶
func (m *TicketInfo) GetDesc() string
func (*TicketInfo) GetDescDetail ¶
func (m *TicketInfo) GetDescDetail() string
func (*TicketInfo) GetID ¶
func (m *TicketInfo) GetID() int64
func (*TicketInfo) GetLinkSc ¶
func (m *TicketInfo) GetLinkSc() string
func (*TicketInfo) GetLinkTicketID ¶
func (m *TicketInfo) GetLinkTicketID() string
func (*TicketInfo) GetPriceList ¶
func (m *TicketInfo) GetPriceList() *TicketPriceList
func (*TicketInfo) GetSaleFlag ¶
func (m *TicketInfo) GetSaleFlag() int32
func (*TicketInfo) GetSaleType ¶
func (m *TicketInfo) GetSaleType() int32
func (*TicketInfo) GetStatusList ¶
func (m *TicketInfo) GetStatusList() *TicketStatus
func (*TicketInfo) GetSymbol ¶
func (m *TicketInfo) GetSymbol() string
func (*TicketInfo) GetTime ¶
func (m *TicketInfo) GetTime() *TicketTime
func (*TicketInfo) GetType ¶
func (m *TicketInfo) GetType() int32
func (*TicketInfo) Marshal ¶
func (m *TicketInfo) Marshal() (dAtA []byte, err error)
func (*TicketInfo) ProtoMessage ¶
func (*TicketInfo) ProtoMessage()
func (*TicketInfo) Reset ¶
func (m *TicketInfo) Reset()
func (*TicketInfo) Size ¶
func (m *TicketInfo) Size() (n int)
func (*TicketInfo) String ¶
func (m *TicketInfo) String() string
func (*TicketInfo) Unmarshal ¶
func (m *TicketInfo) Unmarshal(dAtA []byte) error
type TicketPriceList ¶
type TicketPriceList struct { Price int32 `protobuf:"varint,1,opt,name=price,proto3" json:"price" validate:"min=0"` OriPrice int32 `protobuf:"varint,2,opt,name=ori_price,json=oriPrice,proto3" json:"oprice" validate:"min=0"` MktPrice int32 `protobuf:"varint,3,opt,name=mkt_price,json=mktPrice,proto3" json:"mprice" validate:"min=0"` }
The response message containing the Price OriginPrice MarketPrice
func (*TicketPriceList) Descriptor ¶
func (*TicketPriceList) Descriptor() ([]byte, []int)
func (*TicketPriceList) GetMktPrice ¶
func (m *TicketPriceList) GetMktPrice() int32
func (*TicketPriceList) GetOriPrice ¶
func (m *TicketPriceList) GetOriPrice() int32
func (*TicketPriceList) GetPrice ¶
func (m *TicketPriceList) GetPrice() int32
func (*TicketPriceList) Marshal ¶
func (m *TicketPriceList) Marshal() (dAtA []byte, err error)
func (*TicketPriceList) ProtoMessage ¶
func (*TicketPriceList) ProtoMessage()
func (*TicketPriceList) Reset ¶
func (m *TicketPriceList) Reset()
func (*TicketPriceList) Size ¶
func (m *TicketPriceList) Size() (n int)
func (*TicketPriceList) String ¶
func (m *TicketPriceList) String() string
func (*TicketPriceList) Unmarshal ¶
func (m *TicketPriceList) Unmarshal(dAtA []byte) error
type TicketStatus ¶
type TicketStatus struct { IsSale int32 `protobuf:"varint,1,opt,name=is_sale,json=isSale,proto3" json:"is_sale" validate:"min=0"` IsVisible int32 `protobuf:"varint,2,opt,name=is_visible,json=isVisible,proto3" json:"is_visible" validate:"min=0"` IsRefund int32 `protobuf:"varint,3,opt,name=is_refund,json=isRefund,proto3" json:"is_refund" validate:"min=0"` }
The response message containing the IsSale IsVisible IsRefund
func (*TicketStatus) Descriptor ¶
func (*TicketStatus) Descriptor() ([]byte, []int)
func (*TicketStatus) GetIsRefund ¶
func (m *TicketStatus) GetIsRefund() int32
func (*TicketStatus) GetIsSale ¶
func (m *TicketStatus) GetIsSale() int32
func (*TicketStatus) GetIsVisible ¶
func (m *TicketStatus) GetIsVisible() int32
func (*TicketStatus) Marshal ¶
func (m *TicketStatus) Marshal() (dAtA []byte, err error)
func (*TicketStatus) ProtoMessage ¶
func (*TicketStatus) ProtoMessage()
func (*TicketStatus) Reset ¶
func (m *TicketStatus) Reset()
func (*TicketStatus) Size ¶
func (m *TicketStatus) Size() (n int)
func (*TicketStatus) String ¶
func (m *TicketStatus) String() string
func (*TicketStatus) Unmarshal ¶
func (m *TicketStatus) Unmarshal(dAtA []byte) error
type TicketTime ¶
type TicketTime struct { SaleStime int64 `protobuf:"varint,1,opt,name=sale_stime,json=saleStime,proto3" json:"sales" validate:"min=0"` SaleEtime int64 `protobuf:"varint,2,opt,name=sale_etime,json=saleEtime,proto3" json:"salee" validate:"min=0"` }
The response message containing the Ticket related time
func (*TicketTime) Descriptor ¶
func (*TicketTime) Descriptor() ([]byte, []int)
func (*TicketTime) GetSaleEtime ¶
func (m *TicketTime) GetSaleEtime() int64
func (*TicketTime) GetSaleStime ¶
func (m *TicketTime) GetSaleStime() int64
func (*TicketTime) Marshal ¶
func (m *TicketTime) Marshal() (dAtA []byte, err error)
func (*TicketTime) ProtoMessage ¶
func (*TicketTime) ProtoMessage()
func (*TicketTime) Reset ¶
func (m *TicketTime) Reset()
func (*TicketTime) Size ¶
func (m *TicketTime) Size() (n int)
func (*TicketTime) String ¶
func (m *TicketTime) String() string
func (*TicketTime) Unmarshal ¶
func (m *TicketTime) Unmarshal(dAtA []byte) error
type VenueAddrInfo ¶
type VenueAddrInfo struct { Province int64 `protobuf:"varint,1,opt,name=province,proto3" json:"provid"` City int64 `protobuf:"varint,2,opt,name=city,proto3" json:"cityid"` District int64 `protobuf:"varint,3,opt,name=district,proto3" json:"distid"` AddressDetail string `protobuf:"bytes,4,opt,name=addressDetail,proto3" json:"addr"` Traffic string `protobuf:"bytes,5,opt,name=traffic,proto3" json:"traff"` LonLatType string `protobuf:"bytes,6,opt,name=lon_lat_type,json=lonLatType,proto3" json:"lonlat_type"` LonLat string `protobuf:"bytes,7,opt,name=lonLat,proto3" json:"lonlat"` }
The response message containing the Venue location info
func (*VenueAddrInfo) Descriptor ¶
func (*VenueAddrInfo) Descriptor() ([]byte, []int)
func (*VenueAddrInfo) Marshal ¶
func (m *VenueAddrInfo) Marshal() (dAtA []byte, err error)
func (*VenueAddrInfo) ProtoMessage ¶
func (*VenueAddrInfo) ProtoMessage()
func (*VenueAddrInfo) Reset ¶
func (m *VenueAddrInfo) Reset()
func (*VenueAddrInfo) Size ¶
func (m *VenueAddrInfo) Size() (n int)
func (*VenueAddrInfo) String ¶
func (m *VenueAddrInfo) String() string
func (*VenueAddrInfo) Unmarshal ¶
func (m *VenueAddrInfo) Unmarshal(dAtA []byte) error
type VenueClient ¶
type VenueClient interface {
VenueInfo(ctx context.Context, in *VenueInfoRequest, opts ...grpc.CallOption) (*VenueInfoReply, error)
}
func NewVenueClient ¶
func NewVenueClient(cc *grpc.ClientConn) VenueClient
type VenueInfo ¶
type VenueInfo struct { ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status"` AddrInfo *VenueAddrInfo `protobuf:"bytes,4,opt,name=addrInfo" json:"addr"` PlaceInfo *PlaceInfo `protobuf:"bytes,5,opt,name=place_info,json=placeInfo" json:"place"` }
The response message containing the VenueInfo
func (*VenueInfo) Descriptor ¶
func (*VenueInfo) ProtoMessage ¶
func (*VenueInfo) ProtoMessage()
type VenueInfoReply ¶
type VenueInfoReply struct { // 操作结果 Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"success"` // 操作场馆ID ID int64 `protobuf:"varint,2,opt,name=ID,proto3" json:"id"` }
venue接口返回
func (*VenueInfoReply) Descriptor ¶
func (*VenueInfoReply) Descriptor() ([]byte, []int)
func (*VenueInfoReply) Marshal ¶
func (m *VenueInfoReply) Marshal() (dAtA []byte, err error)
func (*VenueInfoReply) ProtoMessage ¶
func (*VenueInfoReply) ProtoMessage()
func (*VenueInfoReply) Reset ¶
func (m *VenueInfoReply) Reset()
func (*VenueInfoReply) Size ¶
func (m *VenueInfoReply) Size() (n int)
func (*VenueInfoReply) String ¶
func (m *VenueInfoReply) String() string
func (*VenueInfoReply) Unmarshal ¶
func (m *VenueInfoReply) Unmarshal(dAtA []byte) error
type VenueInfoRequest ¶
type VenueInfoRequest struct { // 待修改场馆的ID(为0表示创建) ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"id" validate:"min=0"` // 场馆名 Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"name" validate:"max=25"` // 状态 1-启用 0-停用 Status int32 `protobuf:"varint,3,opt,name=Status,proto3" json:"status" validate:"min=0,max=1"` // 省份ID Province int64 `protobuf:"varint,4,opt,name=Province,proto3" json:"provid" validate:"min=0"` // 城市ID City int64 `protobuf:"varint,5,opt,name=City,proto3" json:"cityid" validate:"min=0"` // 区县ID District int64 `protobuf:"varint,6,opt,name=District,proto3" json:"distid" validate:"min=0"` // 详细地址 AddressDetail string `protobuf:"bytes,7,opt,name=AddressDetail,proto3" json:"addr" validate:"min=0,max=60"` // 交通信息 Traffic string `protobuf:"bytes,8,opt,name=Traffic,proto3" json:"traff" validate:"min=0,max=100"` }
venueInfo接口请求
func (*VenueInfoRequest) Descriptor ¶
func (*VenueInfoRequest) Descriptor() ([]byte, []int)
func (*VenueInfoRequest) Marshal ¶
func (m *VenueInfoRequest) Marshal() (dAtA []byte, err error)
func (*VenueInfoRequest) ProtoMessage ¶
func (*VenueInfoRequest) ProtoMessage()
func (*VenueInfoRequest) Reset ¶
func (m *VenueInfoRequest) Reset()
func (*VenueInfoRequest) Size ¶
func (m *VenueInfoRequest) Size() (n int)
func (*VenueInfoRequest) String ¶
func (m *VenueInfoRequest) String() string
func (*VenueInfoRequest) Unmarshal ¶
func (m *VenueInfoRequest) Unmarshal(dAtA []byte) error
type VenueServer ¶
type VenueServer interface {
VenueInfo(context.Context, *VenueInfoRequest) (*VenueInfoReply, error)
}
type VersionReply ¶
type VersionReply struct {
ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id"`
}
The general response message containing the result after updating/inserting the project info
func (*VersionReply) Descriptor ¶
func (*VersionReply) Descriptor() ([]byte, []int)
func (*VersionReply) Marshal ¶
func (m *VersionReply) Marshal() (dAtA []byte, err error)
func (*VersionReply) ProtoMessage ¶
func (*VersionReply) ProtoMessage()
func (*VersionReply) Reset ¶
func (m *VersionReply) Reset()
func (*VersionReply) Size ¶
func (m *VersionReply) Size() (n int)
func (*VersionReply) String ¶
func (m *VersionReply) String() string
func (*VersionReply) Unmarshal ¶
func (m *VersionReply) Unmarshal(dAtA []byte) error
type VersionRequest ¶
type VersionRequest struct { VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id" validate:"required,min=0"` OpType uint32 `protobuf:"varint,2,opt,name=op_type,json=opType,proto3" json:"op_type" validate:"max=1"` }
The request message containing the version info to update/insert project
func (*VersionRequest) Descriptor ¶
func (*VersionRequest) Descriptor() ([]byte, []int)
func (*VersionRequest) Marshal ¶
func (m *VersionRequest) Marshal() (dAtA []byte, err error)
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) Reset ¶
func (m *VersionRequest) Reset()
func (*VersionRequest) Size ¶
func (m *VersionRequest) Size() (n int)
func (*VersionRequest) String ¶
func (m *VersionRequest) String() string
func (*VersionRequest) Unmarshal ¶
func (m *VersionRequest) Unmarshal(dAtA []byte) error
type VersionReviewReply ¶
type VersionReviewReply struct {
VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id"`
}
The response message containing the result after passing/rejecting a version
func (*VersionReviewReply) Descriptor ¶
func (*VersionReviewReply) Descriptor() ([]byte, []int)
func (*VersionReviewReply) Marshal ¶
func (m *VersionReviewReply) Marshal() (dAtA []byte, err error)
func (*VersionReviewReply) MarshalTo ¶
func (m *VersionReviewReply) MarshalTo(dAtA []byte) (int, error)
func (*VersionReviewReply) ProtoMessage ¶
func (*VersionReviewReply) ProtoMessage()
func (*VersionReviewReply) Reset ¶
func (m *VersionReviewReply) Reset()
func (*VersionReviewReply) Size ¶
func (m *VersionReviewReply) Size() (n int)
func (*VersionReviewReply) String ¶
func (m *VersionReviewReply) String() string
func (*VersionReviewReply) Unmarshal ¶
func (m *VersionReviewReply) Unmarshal(dAtA []byte) error
type VersionReviewRequest ¶
type VersionReviewRequest struct { VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id"` OpType int32 `protobuf:"varint,2,opt,name=op_type,json=opType,proto3" json:"op_type"` VerType int32 `protobuf:"varint,3,opt,name=ver_type,json=verType,proto3" json:"ver_type"` Msg string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg"` Uname string `protobuf:"bytes,5,opt,name=uname,proto3" json:"uname"` }
The request message containing the info to pass/reject a version
func (*VersionReviewRequest) Descriptor ¶
func (*VersionReviewRequest) Descriptor() ([]byte, []int)
func (*VersionReviewRequest) Marshal ¶
func (m *VersionReviewRequest) Marshal() (dAtA []byte, err error)
func (*VersionReviewRequest) MarshalTo ¶
func (m *VersionReviewRequest) MarshalTo(dAtA []byte) (int, error)
func (*VersionReviewRequest) ProtoMessage ¶
func (*VersionReviewRequest) ProtoMessage()
func (*VersionReviewRequest) Reset ¶
func (m *VersionReviewRequest) Reset()
func (*VersionReviewRequest) Size ¶
func (m *VersionReviewRequest) Size() (n int)
func (*VersionReviewRequest) String ¶
func (m *VersionReviewRequest) String() string
func (*VersionReviewRequest) Unmarshal ¶
func (m *VersionReviewRequest) Unmarshal(dAtA []byte) error
type VersionStatusReply ¶
type VersionStatusReply struct {
VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id"`
}
The response message containing the result after changing a version's status
func (*VersionStatusReply) Descriptor ¶
func (*VersionStatusReply) Descriptor() ([]byte, []int)
func (*VersionStatusReply) Marshal ¶
func (m *VersionStatusReply) Marshal() (dAtA []byte, err error)
func (*VersionStatusReply) MarshalTo ¶
func (m *VersionStatusReply) MarshalTo(dAtA []byte) (int, error)
func (*VersionStatusReply) ProtoMessage ¶
func (*VersionStatusReply) ProtoMessage()
func (*VersionStatusReply) Reset ¶
func (m *VersionStatusReply) Reset()
func (*VersionStatusReply) Size ¶
func (m *VersionStatusReply) Size() (n int)
func (*VersionStatusReply) String ¶
func (m *VersionStatusReply) String() string
func (*VersionStatusReply) Unmarshal ¶
func (m *VersionStatusReply) Unmarshal(dAtA []byte) error
type VersionStatusRequest ¶
type VersionStatusRequest struct { VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id"` OpType int32 `protobuf:"varint,2,opt,name=op_type,json=opType,proto3" json:"op_type"` VerType int32 `protobuf:"varint,3,opt,name=ver_type,json=verType,proto3" json:"ver_type"` Uname string `protobuf:"bytes,4,opt,name=uname,proto3" json:"uname"` }
The request message containing the info to change a version's status
func (*VersionStatusRequest) Descriptor ¶
func (*VersionStatusRequest) Descriptor() ([]byte, []int)
func (*VersionStatusRequest) Marshal ¶
func (m *VersionStatusRequest) Marshal() (dAtA []byte, err error)
func (*VersionStatusRequest) MarshalTo ¶
func (m *VersionStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*VersionStatusRequest) ProtoMessage ¶
func (*VersionStatusRequest) ProtoMessage()
func (*VersionStatusRequest) Reset ¶
func (m *VersionStatusRequest) Reset()
func (*VersionStatusRequest) Size ¶
func (m *VersionStatusRequest) Size() (n int)
func (*VersionStatusRequest) String ¶
func (m *VersionStatusRequest) String() string
func (*VersionStatusRequest) Unmarshal ¶
func (m *VersionStatusRequest) Unmarshal(dAtA []byte) error
type WishReply ¶
type WishReply struct { ItemID int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id" validate:"required"` MID int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid" validate:"required"` }
The response message containing the ITEMID MID
func (*WishReply) Descriptor ¶
func (*WishReply) ProtoMessage ¶
func (*WishReply) ProtoMessage()
type WishRequest ¶
type WishRequest struct { ItemID int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id" validate:"required"` MID int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid" validate:"required"` Face string `protobuf:"bytes,3,opt,name=face,proto3" json:"face"` }
The request message containing ItemID MID Face.
func (*WishRequest) Descriptor ¶
func (*WishRequest) Descriptor() ([]byte, []int)
func (*WishRequest) Marshal ¶
func (m *WishRequest) Marshal() (dAtA []byte, err error)
func (*WishRequest) ProtoMessage ¶
func (*WishRequest) ProtoMessage()
func (*WishRequest) Reset ¶
func (m *WishRequest) Reset()
func (*WishRequest) Size ¶
func (m *WishRequest) Size() (n int)
func (*WishRequest) String ¶
func (m *WishRequest) String() string
func (*WishRequest) Unmarshal ¶
func (m *WishRequest) Unmarshal(dAtA []byte) error