Documentation ¶
Index ¶
- Constants
- Variables
- func NewLiveAdvertisementSrvEndpoints() []*api.Endpoint
- func RegisterLiveAdvertisementSrvHandler(s server.Server, hdlr LiveAdvertisementSrvHandler, ...) error
- type AdminRefreshHotAdRequest
- func (*AdminRefreshHotAdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminRefreshHotAdRequest) GetCountry() string
- func (*AdminRefreshHotAdRequest) ProtoMessage()
- func (x *AdminRefreshHotAdRequest) ProtoReflect() protoreflect.Message
- func (x *AdminRefreshHotAdRequest) Reset()
- func (x *AdminRefreshHotAdRequest) String() string
- func (m *AdminRefreshHotAdRequest) Validate() error
- func (m *AdminRefreshHotAdRequest) ValidateAll() error
- type AdminRefreshHotAdRequestMultiError
- type AdminRefreshHotAdRequestValidationError
- func (e AdminRefreshHotAdRequestValidationError) Cause() error
- func (e AdminRefreshHotAdRequestValidationError) Error() string
- func (e AdminRefreshHotAdRequestValidationError) ErrorName() string
- func (e AdminRefreshHotAdRequestValidationError) Field() string
- func (e AdminRefreshHotAdRequestValidationError) Key() bool
- func (e AdminRefreshHotAdRequestValidationError) Reason() string
- type AdminRefreshHotAdResponse
- func (*AdminRefreshHotAdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminRefreshHotAdResponse) GetAds() []*AdminRefreshHotAdResponse_Ads
- func (*AdminRefreshHotAdResponse) ProtoMessage()
- func (x *AdminRefreshHotAdResponse) ProtoReflect() protoreflect.Message
- func (x *AdminRefreshHotAdResponse) Reset()
- func (x *AdminRefreshHotAdResponse) String() string
- func (m *AdminRefreshHotAdResponse) Validate() error
- func (m *AdminRefreshHotAdResponse) ValidateAll() error
- type AdminRefreshHotAdResponseMultiError
- type AdminRefreshHotAdResponseValidationError
- func (e AdminRefreshHotAdResponseValidationError) Cause() error
- func (e AdminRefreshHotAdResponseValidationError) Error() string
- func (e AdminRefreshHotAdResponseValidationError) ErrorName() string
- func (e AdminRefreshHotAdResponseValidationError) Field() string
- func (e AdminRefreshHotAdResponseValidationError) Key() bool
- func (e AdminRefreshHotAdResponseValidationError) Reason() string
- type AdminRefreshHotAdResponse_Ads
- func (*AdminRefreshHotAdResponse_Ads) Descriptor() ([]byte, []int)deprecated
- func (x *AdminRefreshHotAdResponse_Ads) GetId() uint32
- func (x *AdminRefreshHotAdResponse_Ads) GetPic() string
- func (x *AdminRefreshHotAdResponse_Ads) GetTitle() string
- func (x *AdminRefreshHotAdResponse_Ads) GetUrl() string
- func (*AdminRefreshHotAdResponse_Ads) ProtoMessage()
- func (x *AdminRefreshHotAdResponse_Ads) ProtoReflect() protoreflect.Message
- func (x *AdminRefreshHotAdResponse_Ads) Reset()
- func (x *AdminRefreshHotAdResponse_Ads) String() string
- func (m *AdminRefreshHotAdResponse_Ads) Validate() error
- func (m *AdminRefreshHotAdResponse_Ads) ValidateAll() error
- type AdminRefreshHotAdResponse_AdsMultiError
- type AdminRefreshHotAdResponse_AdsValidationError
- func (e AdminRefreshHotAdResponse_AdsValidationError) Cause() error
- func (e AdminRefreshHotAdResponse_AdsValidationError) Error() string
- func (e AdminRefreshHotAdResponse_AdsValidationError) ErrorName() string
- func (e AdminRefreshHotAdResponse_AdsValidationError) Field() string
- func (e AdminRefreshHotAdResponse_AdsValidationError) Key() bool
- func (e AdminRefreshHotAdResponse_AdsValidationError) Reason() string
- type AdminRefreshVideoLiveRoomAdRequest
- func (*AdminRefreshVideoLiveRoomAdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminRefreshVideoLiveRoomAdRequest) GetCountry() string
- func (*AdminRefreshVideoLiveRoomAdRequest) ProtoMessage()
- func (x *AdminRefreshVideoLiveRoomAdRequest) ProtoReflect() protoreflect.Message
- func (x *AdminRefreshVideoLiveRoomAdRequest) Reset()
- func (x *AdminRefreshVideoLiveRoomAdRequest) String() string
- func (m *AdminRefreshVideoLiveRoomAdRequest) Validate() error
- func (m *AdminRefreshVideoLiveRoomAdRequest) ValidateAll() error
- type AdminRefreshVideoLiveRoomAdRequestMultiError
- type AdminRefreshVideoLiveRoomAdRequestValidationError
- func (e AdminRefreshVideoLiveRoomAdRequestValidationError) Cause() error
- func (e AdminRefreshVideoLiveRoomAdRequestValidationError) Error() string
- func (e AdminRefreshVideoLiveRoomAdRequestValidationError) ErrorName() string
- func (e AdminRefreshVideoLiveRoomAdRequestValidationError) Field() string
- func (e AdminRefreshVideoLiveRoomAdRequestValidationError) Key() bool
- func (e AdminRefreshVideoLiveRoomAdRequestValidationError) Reason() string
- type AdminRefreshVideoLiveRoomAdResponse
- func (*AdminRefreshVideoLiveRoomAdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminRefreshVideoLiveRoomAdResponse) GetAds() []*AdminRefreshVideoLiveRoomAdResponse_Ads
- func (*AdminRefreshVideoLiveRoomAdResponse) ProtoMessage()
- func (x *AdminRefreshVideoLiveRoomAdResponse) ProtoReflect() protoreflect.Message
- func (x *AdminRefreshVideoLiveRoomAdResponse) Reset()
- func (x *AdminRefreshVideoLiveRoomAdResponse) String() string
- func (m *AdminRefreshVideoLiveRoomAdResponse) Validate() error
- func (m *AdminRefreshVideoLiveRoomAdResponse) ValidateAll() error
- type AdminRefreshVideoLiveRoomAdResponseMultiError
- type AdminRefreshVideoLiveRoomAdResponseValidationError
- func (e AdminRefreshVideoLiveRoomAdResponseValidationError) Cause() error
- func (e AdminRefreshVideoLiveRoomAdResponseValidationError) Error() string
- func (e AdminRefreshVideoLiveRoomAdResponseValidationError) ErrorName() string
- func (e AdminRefreshVideoLiveRoomAdResponseValidationError) Field() string
- func (e AdminRefreshVideoLiveRoomAdResponseValidationError) Key() bool
- func (e AdminRefreshVideoLiveRoomAdResponseValidationError) Reason() string
- type AdminRefreshVideoLiveRoomAdResponse_Ads
- func (*AdminRefreshVideoLiveRoomAdResponse_Ads) Descriptor() ([]byte, []int)deprecated
- func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) GetId() uint32
- func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) GetPic() string
- func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) GetTitle() string
- func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) GetUrl() string
- func (*AdminRefreshVideoLiveRoomAdResponse_Ads) ProtoMessage()
- func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) ProtoReflect() protoreflect.Message
- func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) Reset()
- func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) String() string
- func (m *AdminRefreshVideoLiveRoomAdResponse_Ads) Validate() error
- func (m *AdminRefreshVideoLiveRoomAdResponse_Ads) ValidateAll() error
- type AdminRefreshVideoLiveRoomAdResponse_AdsMultiError
- type AdminRefreshVideoLiveRoomAdResponse_AdsValidationError
- func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Cause() error
- func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Error() string
- func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) ErrorName() string
- func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Field() string
- func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Key() bool
- func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Reason() string
- type HotLiveAdsAllRequest
- func (*HotLiveAdsAllRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HotLiveAdsAllRequest) GetCountry() string
- func (*HotLiveAdsAllRequest) ProtoMessage()
- func (x *HotLiveAdsAllRequest) ProtoReflect() protoreflect.Message
- func (x *HotLiveAdsAllRequest) Reset()
- func (x *HotLiveAdsAllRequest) String() string
- func (m *HotLiveAdsAllRequest) Validate() error
- func (m *HotLiveAdsAllRequest) ValidateAll() error
- type HotLiveAdsAllRequestMultiError
- type HotLiveAdsAllRequestValidationError
- func (e HotLiveAdsAllRequestValidationError) Cause() error
- func (e HotLiveAdsAllRequestValidationError) Error() string
- func (e HotLiveAdsAllRequestValidationError) ErrorName() string
- func (e HotLiveAdsAllRequestValidationError) Field() string
- func (e HotLiveAdsAllRequestValidationError) Key() bool
- func (e HotLiveAdsAllRequestValidationError) Reason() string
- type HotLiveAdsAllResponse
- func (*HotLiveAdsAllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HotLiveAdsAllResponse) GetAds() []*HotLiveAdsAllResponse_Ads
- func (*HotLiveAdsAllResponse) ProtoMessage()
- func (x *HotLiveAdsAllResponse) ProtoReflect() protoreflect.Message
- func (x *HotLiveAdsAllResponse) Reset()
- func (x *HotLiveAdsAllResponse) String() string
- func (m *HotLiveAdsAllResponse) Validate() error
- func (m *HotLiveAdsAllResponse) ValidateAll() error
- type HotLiveAdsAllResponseMultiError
- type HotLiveAdsAllResponseValidationError
- func (e HotLiveAdsAllResponseValidationError) Cause() error
- func (e HotLiveAdsAllResponseValidationError) Error() string
- func (e HotLiveAdsAllResponseValidationError) ErrorName() string
- func (e HotLiveAdsAllResponseValidationError) Field() string
- func (e HotLiveAdsAllResponseValidationError) Key() bool
- func (e HotLiveAdsAllResponseValidationError) Reason() string
- type HotLiveAdsAllResponse_Ads
- func (*HotLiveAdsAllResponse_Ads) Descriptor() ([]byte, []int)deprecated
- func (x *HotLiveAdsAllResponse_Ads) GetId() uint32
- func (x *HotLiveAdsAllResponse_Ads) GetPic() string
- func (x *HotLiveAdsAllResponse_Ads) GetTarget() uint32
- func (x *HotLiveAdsAllResponse_Ads) GetTitle() string
- func (x *HotLiveAdsAllResponse_Ads) GetUrl() string
- func (*HotLiveAdsAllResponse_Ads) ProtoMessage()
- func (x *HotLiveAdsAllResponse_Ads) ProtoReflect() protoreflect.Message
- func (x *HotLiveAdsAllResponse_Ads) Reset()
- func (x *HotLiveAdsAllResponse_Ads) String() string
- func (m *HotLiveAdsAllResponse_Ads) Validate() error
- func (m *HotLiveAdsAllResponse_Ads) ValidateAll() error
- type HotLiveAdsAllResponse_AdsMultiError
- type HotLiveAdsAllResponse_AdsValidationError
- func (e HotLiveAdsAllResponse_AdsValidationError) Cause() error
- func (e HotLiveAdsAllResponse_AdsValidationError) Error() string
- func (e HotLiveAdsAllResponse_AdsValidationError) ErrorName() string
- func (e HotLiveAdsAllResponse_AdsValidationError) Field() string
- func (e HotLiveAdsAllResponse_AdsValidationError) Key() bool
- func (e HotLiveAdsAllResponse_AdsValidationError) Reason() string
- type LiveAdInfoRequest
- func (*LiveAdInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LiveAdInfoRequest) GetId() uint32
- func (*LiveAdInfoRequest) ProtoMessage()
- func (x *LiveAdInfoRequest) ProtoReflect() protoreflect.Message
- func (x *LiveAdInfoRequest) Reset()
- func (x *LiveAdInfoRequest) String() string
- func (m *LiveAdInfoRequest) Validate() error
- func (m *LiveAdInfoRequest) ValidateAll() error
- type LiveAdInfoRequestMultiError
- type LiveAdInfoRequestValidationError
- func (e LiveAdInfoRequestValidationError) Cause() error
- func (e LiveAdInfoRequestValidationError) Error() string
- func (e LiveAdInfoRequestValidationError) ErrorName() string
- func (e LiveAdInfoRequestValidationError) Field() string
- func (e LiveAdInfoRequestValidationError) Key() bool
- func (e LiveAdInfoRequestValidationError) Reason() string
- type LiveAdInfoResponse
- func (*LiveAdInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LiveAdInfoResponse) GetHeadImg() string
- func (x *LiveAdInfoResponse) GetTitle() string
- func (*LiveAdInfoResponse) ProtoMessage()
- func (x *LiveAdInfoResponse) ProtoReflect() protoreflect.Message
- func (x *LiveAdInfoResponse) Reset()
- func (x *LiveAdInfoResponse) String() string
- func (m *LiveAdInfoResponse) Validate() error
- func (m *LiveAdInfoResponse) ValidateAll() error
- type LiveAdInfoResponseMultiError
- type LiveAdInfoResponseValidationError
- func (e LiveAdInfoResponseValidationError) Cause() error
- func (e LiveAdInfoResponseValidationError) Error() string
- func (e LiveAdInfoResponseValidationError) ErrorName() string
- func (e LiveAdInfoResponseValidationError) Field() string
- func (e LiveAdInfoResponseValidationError) Key() bool
- func (e LiveAdInfoResponseValidationError) Reason() string
- type LiveAdvertisement
- func (*LiveAdvertisement) Descriptor() ([]byte, []int)deprecated
- func (x *LiveAdvertisement) GetCreatedAt() string
- func (x *LiveAdvertisement) GetId() uint32
- func (x *LiveAdvertisement) GetPic() string
- func (x *LiveAdvertisement) GetSort() uint32
- func (x *LiveAdvertisement) GetStatus() uint32
- func (x *LiveAdvertisement) GetTitle() string
- func (x *LiveAdvertisement) GetUrl() string
- func (*LiveAdvertisement) ProtoMessage()
- func (x *LiveAdvertisement) ProtoReflect() protoreflect.Message
- func (x *LiveAdvertisement) Reset()
- func (x *LiveAdvertisement) String() string
- func (m *LiveAdvertisement) Validate() error
- func (m *LiveAdvertisement) ValidateAll() error
- type LiveAdvertisementMultiError
- type LiveAdvertisementSrvHandler
- type LiveAdvertisementSrvService
- type LiveAdvertisementValidationError
- func (e LiveAdvertisementValidationError) Cause() error
- func (e LiveAdvertisementValidationError) Error() string
- func (e LiveAdvertisementValidationError) ErrorName() string
- func (e LiveAdvertisementValidationError) Field() string
- func (e LiveAdvertisementValidationError) Key() bool
- func (e LiveAdvertisementValidationError) Reason() string
Constants ¶
const ( VideoBannerAd = "video_banner" // 热门banner VideoLiveRoomAd = "live_room" // 直播间广告 )
Variables ¶
var File_proto_liveAdvertisement_liveAdvertisement_proto protoreflect.FileDescriptor
Functions ¶
func RegisterLiveAdvertisementSrvHandler ¶
func RegisterLiveAdvertisementSrvHandler(s server.Server, hdlr LiveAdvertisementSrvHandler, opts ...server.HandlerOption) error
Types ¶
type AdminRefreshHotAdRequest ¶
type AdminRefreshHotAdRequest struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"` // contains filtered or unexported fields }
func (*AdminRefreshHotAdRequest) Descriptor
deprecated
func (*AdminRefreshHotAdRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminRefreshHotAdRequest.ProtoReflect.Descriptor instead.
func (*AdminRefreshHotAdRequest) GetCountry ¶
func (x *AdminRefreshHotAdRequest) GetCountry() string
func (*AdminRefreshHotAdRequest) ProtoMessage ¶
func (*AdminRefreshHotAdRequest) ProtoMessage()
func (*AdminRefreshHotAdRequest) ProtoReflect ¶
func (x *AdminRefreshHotAdRequest) ProtoReflect() protoreflect.Message
func (*AdminRefreshHotAdRequest) Reset ¶
func (x *AdminRefreshHotAdRequest) Reset()
func (*AdminRefreshHotAdRequest) String ¶
func (x *AdminRefreshHotAdRequest) String() string
func (*AdminRefreshHotAdRequest) Validate ¶
func (m *AdminRefreshHotAdRequest) Validate() error
Validate checks the field values on AdminRefreshHotAdRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AdminRefreshHotAdRequest) ValidateAll ¶
func (m *AdminRefreshHotAdRequest) ValidateAll() error
ValidateAll checks the field values on AdminRefreshHotAdRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdminRefreshHotAdRequestMultiError, or nil if none found.
type AdminRefreshHotAdRequestMultiError ¶
type AdminRefreshHotAdRequestMultiError []error
AdminRefreshHotAdRequestMultiError is an error wrapping multiple validation errors returned by AdminRefreshHotAdRequest.ValidateAll() if the designated constraints aren't met.
func (AdminRefreshHotAdRequestMultiError) AllErrors ¶
func (m AdminRefreshHotAdRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AdminRefreshHotAdRequestMultiError) Error ¶
func (m AdminRefreshHotAdRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AdminRefreshHotAdRequestValidationError ¶
type AdminRefreshHotAdRequestValidationError struct {
// contains filtered or unexported fields
}
AdminRefreshHotAdRequestValidationError is the validation error returned by AdminRefreshHotAdRequest.Validate if the designated constraints aren't met.
func (AdminRefreshHotAdRequestValidationError) Cause ¶
func (e AdminRefreshHotAdRequestValidationError) Cause() error
Cause function returns cause value.
func (AdminRefreshHotAdRequestValidationError) Error ¶
func (e AdminRefreshHotAdRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AdminRefreshHotAdRequestValidationError) ErrorName ¶
func (e AdminRefreshHotAdRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AdminRefreshHotAdRequestValidationError) Field ¶
func (e AdminRefreshHotAdRequestValidationError) Field() string
Field function returns field value.
func (AdminRefreshHotAdRequestValidationError) Key ¶
func (e AdminRefreshHotAdRequestValidationError) Key() bool
Key function returns key value.
func (AdminRefreshHotAdRequestValidationError) Reason ¶
func (e AdminRefreshHotAdRequestValidationError) Reason() string
Reason function returns reason value.
type AdminRefreshHotAdResponse ¶
type AdminRefreshHotAdResponse struct { Ads []*AdminRefreshHotAdResponse_Ads `protobuf:"bytes,1,rep,name=ads,proto3" json:"ads"` // contains filtered or unexported fields }
func (*AdminRefreshHotAdResponse) Descriptor
deprecated
func (*AdminRefreshHotAdResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminRefreshHotAdResponse.ProtoReflect.Descriptor instead.
func (*AdminRefreshHotAdResponse) GetAds ¶
func (x *AdminRefreshHotAdResponse) GetAds() []*AdminRefreshHotAdResponse_Ads
func (*AdminRefreshHotAdResponse) ProtoMessage ¶
func (*AdminRefreshHotAdResponse) ProtoMessage()
func (*AdminRefreshHotAdResponse) ProtoReflect ¶
func (x *AdminRefreshHotAdResponse) ProtoReflect() protoreflect.Message
func (*AdminRefreshHotAdResponse) Reset ¶
func (x *AdminRefreshHotAdResponse) Reset()
func (*AdminRefreshHotAdResponse) String ¶
func (x *AdminRefreshHotAdResponse) String() string
func (*AdminRefreshHotAdResponse) Validate ¶
func (m *AdminRefreshHotAdResponse) Validate() error
Validate checks the field values on AdminRefreshHotAdResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AdminRefreshHotAdResponse) ValidateAll ¶
func (m *AdminRefreshHotAdResponse) ValidateAll() error
ValidateAll checks the field values on AdminRefreshHotAdResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdminRefreshHotAdResponseMultiError, or nil if none found.
type AdminRefreshHotAdResponseMultiError ¶
type AdminRefreshHotAdResponseMultiError []error
AdminRefreshHotAdResponseMultiError is an error wrapping multiple validation errors returned by AdminRefreshHotAdResponse.ValidateAll() if the designated constraints aren't met.
func (AdminRefreshHotAdResponseMultiError) AllErrors ¶
func (m AdminRefreshHotAdResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AdminRefreshHotAdResponseMultiError) Error ¶
func (m AdminRefreshHotAdResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AdminRefreshHotAdResponseValidationError ¶
type AdminRefreshHotAdResponseValidationError struct {
// contains filtered or unexported fields
}
AdminRefreshHotAdResponseValidationError is the validation error returned by AdminRefreshHotAdResponse.Validate if the designated constraints aren't met.
func (AdminRefreshHotAdResponseValidationError) Cause ¶
func (e AdminRefreshHotAdResponseValidationError) Cause() error
Cause function returns cause value.
func (AdminRefreshHotAdResponseValidationError) Error ¶
func (e AdminRefreshHotAdResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AdminRefreshHotAdResponseValidationError) ErrorName ¶
func (e AdminRefreshHotAdResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AdminRefreshHotAdResponseValidationError) Field ¶
func (e AdminRefreshHotAdResponseValidationError) Field() string
Field function returns field value.
func (AdminRefreshHotAdResponseValidationError) Key ¶
func (e AdminRefreshHotAdResponseValidationError) Key() bool
Key function returns key value.
func (AdminRefreshHotAdResponseValidationError) Reason ¶
func (e AdminRefreshHotAdResponseValidationError) Reason() string
Reason function returns reason value.
type AdminRefreshHotAdResponse_Ads ¶
type AdminRefreshHotAdResponse_Ads struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title"` Pic string `protobuf:"bytes,4,opt,name=pic,proto3" json:"pic"` // contains filtered or unexported fields }
func (*AdminRefreshHotAdResponse_Ads) Descriptor
deprecated
func (*AdminRefreshHotAdResponse_Ads) Descriptor() ([]byte, []int)
Deprecated: Use AdminRefreshHotAdResponse_Ads.ProtoReflect.Descriptor instead.
func (*AdminRefreshHotAdResponse_Ads) GetId ¶
func (x *AdminRefreshHotAdResponse_Ads) GetId() uint32
func (*AdminRefreshHotAdResponse_Ads) GetPic ¶
func (x *AdminRefreshHotAdResponse_Ads) GetPic() string
func (*AdminRefreshHotAdResponse_Ads) GetTitle ¶
func (x *AdminRefreshHotAdResponse_Ads) GetTitle() string
func (*AdminRefreshHotAdResponse_Ads) GetUrl ¶
func (x *AdminRefreshHotAdResponse_Ads) GetUrl() string
func (*AdminRefreshHotAdResponse_Ads) ProtoMessage ¶
func (*AdminRefreshHotAdResponse_Ads) ProtoMessage()
func (*AdminRefreshHotAdResponse_Ads) ProtoReflect ¶
func (x *AdminRefreshHotAdResponse_Ads) ProtoReflect() protoreflect.Message
func (*AdminRefreshHotAdResponse_Ads) Reset ¶
func (x *AdminRefreshHotAdResponse_Ads) Reset()
func (*AdminRefreshHotAdResponse_Ads) String ¶
func (x *AdminRefreshHotAdResponse_Ads) String() string
func (*AdminRefreshHotAdResponse_Ads) Validate ¶
func (m *AdminRefreshHotAdResponse_Ads) Validate() error
Validate checks the field values on AdminRefreshHotAdResponse_Ads with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AdminRefreshHotAdResponse_Ads) ValidateAll ¶
func (m *AdminRefreshHotAdResponse_Ads) ValidateAll() error
ValidateAll checks the field values on AdminRefreshHotAdResponse_Ads with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdminRefreshHotAdResponse_AdsMultiError, or nil if none found.
type AdminRefreshHotAdResponse_AdsMultiError ¶
type AdminRefreshHotAdResponse_AdsMultiError []error
AdminRefreshHotAdResponse_AdsMultiError is an error wrapping multiple validation errors returned by AdminRefreshHotAdResponse_Ads.ValidateAll() if the designated constraints aren't met.
func (AdminRefreshHotAdResponse_AdsMultiError) AllErrors ¶
func (m AdminRefreshHotAdResponse_AdsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AdminRefreshHotAdResponse_AdsMultiError) Error ¶
func (m AdminRefreshHotAdResponse_AdsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AdminRefreshHotAdResponse_AdsValidationError ¶
type AdminRefreshHotAdResponse_AdsValidationError struct {
// contains filtered or unexported fields
}
AdminRefreshHotAdResponse_AdsValidationError is the validation error returned by AdminRefreshHotAdResponse_Ads.Validate if the designated constraints aren't met.
func (AdminRefreshHotAdResponse_AdsValidationError) Cause ¶
func (e AdminRefreshHotAdResponse_AdsValidationError) Cause() error
Cause function returns cause value.
func (AdminRefreshHotAdResponse_AdsValidationError) Error ¶
func (e AdminRefreshHotAdResponse_AdsValidationError) Error() string
Error satisfies the builtin error interface
func (AdminRefreshHotAdResponse_AdsValidationError) ErrorName ¶
func (e AdminRefreshHotAdResponse_AdsValidationError) ErrorName() string
ErrorName returns error name.
func (AdminRefreshHotAdResponse_AdsValidationError) Field ¶
func (e AdminRefreshHotAdResponse_AdsValidationError) Field() string
Field function returns field value.
func (AdminRefreshHotAdResponse_AdsValidationError) Key ¶
func (e AdminRefreshHotAdResponse_AdsValidationError) Key() bool
Key function returns key value.
func (AdminRefreshHotAdResponse_AdsValidationError) Reason ¶
func (e AdminRefreshHotAdResponse_AdsValidationError) Reason() string
Reason function returns reason value.
type AdminRefreshVideoLiveRoomAdRequest ¶
type AdminRefreshVideoLiveRoomAdRequest struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"` // contains filtered or unexported fields }
后台刷新游戏广告 ------------------------
func (*AdminRefreshVideoLiveRoomAdRequest) Descriptor
deprecated
func (*AdminRefreshVideoLiveRoomAdRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminRefreshVideoLiveRoomAdRequest.ProtoReflect.Descriptor instead.
func (*AdminRefreshVideoLiveRoomAdRequest) GetCountry ¶
func (x *AdminRefreshVideoLiveRoomAdRequest) GetCountry() string
func (*AdminRefreshVideoLiveRoomAdRequest) ProtoMessage ¶
func (*AdminRefreshVideoLiveRoomAdRequest) ProtoMessage()
func (*AdminRefreshVideoLiveRoomAdRequest) ProtoReflect ¶
func (x *AdminRefreshVideoLiveRoomAdRequest) ProtoReflect() protoreflect.Message
func (*AdminRefreshVideoLiveRoomAdRequest) Reset ¶
func (x *AdminRefreshVideoLiveRoomAdRequest) Reset()
func (*AdminRefreshVideoLiveRoomAdRequest) String ¶
func (x *AdminRefreshVideoLiveRoomAdRequest) String() string
func (*AdminRefreshVideoLiveRoomAdRequest) Validate ¶
func (m *AdminRefreshVideoLiveRoomAdRequest) Validate() error
Validate checks the field values on AdminRefreshVideoLiveRoomAdRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AdminRefreshVideoLiveRoomAdRequest) ValidateAll ¶
func (m *AdminRefreshVideoLiveRoomAdRequest) ValidateAll() error
ValidateAll checks the field values on AdminRefreshVideoLiveRoomAdRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdminRefreshVideoLiveRoomAdRequestMultiError, or nil if none found.
type AdminRefreshVideoLiveRoomAdRequestMultiError ¶
type AdminRefreshVideoLiveRoomAdRequestMultiError []error
AdminRefreshVideoLiveRoomAdRequestMultiError is an error wrapping multiple validation errors returned by AdminRefreshVideoLiveRoomAdRequest.ValidateAll() if the designated constraints aren't met.
func (AdminRefreshVideoLiveRoomAdRequestMultiError) AllErrors ¶
func (m AdminRefreshVideoLiveRoomAdRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AdminRefreshVideoLiveRoomAdRequestMultiError) Error ¶
func (m AdminRefreshVideoLiveRoomAdRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AdminRefreshVideoLiveRoomAdRequestValidationError ¶
type AdminRefreshVideoLiveRoomAdRequestValidationError struct {
// contains filtered or unexported fields
}
AdminRefreshVideoLiveRoomAdRequestValidationError is the validation error returned by AdminRefreshVideoLiveRoomAdRequest.Validate if the designated constraints aren't met.
func (AdminRefreshVideoLiveRoomAdRequestValidationError) Cause ¶
func (e AdminRefreshVideoLiveRoomAdRequestValidationError) Cause() error
Cause function returns cause value.
func (AdminRefreshVideoLiveRoomAdRequestValidationError) Error ¶
func (e AdminRefreshVideoLiveRoomAdRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AdminRefreshVideoLiveRoomAdRequestValidationError) ErrorName ¶
func (e AdminRefreshVideoLiveRoomAdRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AdminRefreshVideoLiveRoomAdRequestValidationError) Field ¶
func (e AdminRefreshVideoLiveRoomAdRequestValidationError) Field() string
Field function returns field value.
func (AdminRefreshVideoLiveRoomAdRequestValidationError) Key ¶
func (e AdminRefreshVideoLiveRoomAdRequestValidationError) Key() bool
Key function returns key value.
func (AdminRefreshVideoLiveRoomAdRequestValidationError) Reason ¶
func (e AdminRefreshVideoLiveRoomAdRequestValidationError) Reason() string
Reason function returns reason value.
type AdminRefreshVideoLiveRoomAdResponse ¶
type AdminRefreshVideoLiveRoomAdResponse struct { Ads []*AdminRefreshVideoLiveRoomAdResponse_Ads `protobuf:"bytes,1,rep,name=ads,proto3" json:"ads"` // contains filtered or unexported fields }
func (*AdminRefreshVideoLiveRoomAdResponse) Descriptor
deprecated
func (*AdminRefreshVideoLiveRoomAdResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminRefreshVideoLiveRoomAdResponse.ProtoReflect.Descriptor instead.
func (*AdminRefreshVideoLiveRoomAdResponse) GetAds ¶
func (x *AdminRefreshVideoLiveRoomAdResponse) GetAds() []*AdminRefreshVideoLiveRoomAdResponse_Ads
func (*AdminRefreshVideoLiveRoomAdResponse) ProtoMessage ¶
func (*AdminRefreshVideoLiveRoomAdResponse) ProtoMessage()
func (*AdminRefreshVideoLiveRoomAdResponse) ProtoReflect ¶
func (x *AdminRefreshVideoLiveRoomAdResponse) ProtoReflect() protoreflect.Message
func (*AdminRefreshVideoLiveRoomAdResponse) Reset ¶
func (x *AdminRefreshVideoLiveRoomAdResponse) Reset()
func (*AdminRefreshVideoLiveRoomAdResponse) String ¶
func (x *AdminRefreshVideoLiveRoomAdResponse) String() string
func (*AdminRefreshVideoLiveRoomAdResponse) Validate ¶
func (m *AdminRefreshVideoLiveRoomAdResponse) Validate() error
Validate checks the field values on AdminRefreshVideoLiveRoomAdResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AdminRefreshVideoLiveRoomAdResponse) ValidateAll ¶
func (m *AdminRefreshVideoLiveRoomAdResponse) ValidateAll() error
ValidateAll checks the field values on AdminRefreshVideoLiveRoomAdResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdminRefreshVideoLiveRoomAdResponseMultiError, or nil if none found.
type AdminRefreshVideoLiveRoomAdResponseMultiError ¶
type AdminRefreshVideoLiveRoomAdResponseMultiError []error
AdminRefreshVideoLiveRoomAdResponseMultiError is an error wrapping multiple validation errors returned by AdminRefreshVideoLiveRoomAdResponse.ValidateAll() if the designated constraints aren't met.
func (AdminRefreshVideoLiveRoomAdResponseMultiError) AllErrors ¶
func (m AdminRefreshVideoLiveRoomAdResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AdminRefreshVideoLiveRoomAdResponseMultiError) Error ¶
func (m AdminRefreshVideoLiveRoomAdResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AdminRefreshVideoLiveRoomAdResponseValidationError ¶
type AdminRefreshVideoLiveRoomAdResponseValidationError struct {
// contains filtered or unexported fields
}
AdminRefreshVideoLiveRoomAdResponseValidationError is the validation error returned by AdminRefreshVideoLiveRoomAdResponse.Validate if the designated constraints aren't met.
func (AdminRefreshVideoLiveRoomAdResponseValidationError) Cause ¶
func (e AdminRefreshVideoLiveRoomAdResponseValidationError) Cause() error
Cause function returns cause value.
func (AdminRefreshVideoLiveRoomAdResponseValidationError) Error ¶
func (e AdminRefreshVideoLiveRoomAdResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AdminRefreshVideoLiveRoomAdResponseValidationError) ErrorName ¶
func (e AdminRefreshVideoLiveRoomAdResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AdminRefreshVideoLiveRoomAdResponseValidationError) Field ¶
func (e AdminRefreshVideoLiveRoomAdResponseValidationError) Field() string
Field function returns field value.
func (AdminRefreshVideoLiveRoomAdResponseValidationError) Key ¶
func (e AdminRefreshVideoLiveRoomAdResponseValidationError) Key() bool
Key function returns key value.
func (AdminRefreshVideoLiveRoomAdResponseValidationError) Reason ¶
func (e AdminRefreshVideoLiveRoomAdResponseValidationError) Reason() string
Reason function returns reason value.
type AdminRefreshVideoLiveRoomAdResponse_Ads ¶
type AdminRefreshVideoLiveRoomAdResponse_Ads struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title"` Pic string `protobuf:"bytes,4,opt,name=pic,proto3" json:"pic"` // contains filtered or unexported fields }
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) Descriptor
deprecated
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) Descriptor() ([]byte, []int)
Deprecated: Use AdminRefreshVideoLiveRoomAdResponse_Ads.ProtoReflect.Descriptor instead.
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) GetId ¶
func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) GetId() uint32
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) GetPic ¶
func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) GetPic() string
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) GetTitle ¶
func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) GetTitle() string
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) GetUrl ¶
func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) GetUrl() string
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) ProtoMessage ¶
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) ProtoMessage()
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) ProtoReflect ¶
func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) ProtoReflect() protoreflect.Message
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) Reset ¶
func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) Reset()
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) String ¶
func (x *AdminRefreshVideoLiveRoomAdResponse_Ads) String() string
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) Validate ¶
func (m *AdminRefreshVideoLiveRoomAdResponse_Ads) Validate() error
Validate checks the field values on AdminRefreshVideoLiveRoomAdResponse_Ads with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AdminRefreshVideoLiveRoomAdResponse_Ads) ValidateAll ¶
func (m *AdminRefreshVideoLiveRoomAdResponse_Ads) ValidateAll() error
ValidateAll checks the field values on AdminRefreshVideoLiveRoomAdResponse_Ads with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdminRefreshVideoLiveRoomAdResponse_AdsMultiError, or nil if none found.
type AdminRefreshVideoLiveRoomAdResponse_AdsMultiError ¶
type AdminRefreshVideoLiveRoomAdResponse_AdsMultiError []error
AdminRefreshVideoLiveRoomAdResponse_AdsMultiError is an error wrapping multiple validation errors returned by AdminRefreshVideoLiveRoomAdResponse_Ads.ValidateAll() if the designated constraints aren't met.
func (AdminRefreshVideoLiveRoomAdResponse_AdsMultiError) AllErrors ¶
func (m AdminRefreshVideoLiveRoomAdResponse_AdsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AdminRefreshVideoLiveRoomAdResponse_AdsMultiError) Error ¶
func (m AdminRefreshVideoLiveRoomAdResponse_AdsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AdminRefreshVideoLiveRoomAdResponse_AdsValidationError ¶
type AdminRefreshVideoLiveRoomAdResponse_AdsValidationError struct {
// contains filtered or unexported fields
}
AdminRefreshVideoLiveRoomAdResponse_AdsValidationError is the validation error returned by AdminRefreshVideoLiveRoomAdResponse_Ads.Validate if the designated constraints aren't met.
func (AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Cause ¶
func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Cause() error
Cause function returns cause value.
func (AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Error ¶
func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Error() string
Error satisfies the builtin error interface
func (AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) ErrorName ¶
func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) ErrorName() string
ErrorName returns error name.
func (AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Field ¶
func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Field() string
Field function returns field value.
func (AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Key ¶
func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Key() bool
Key function returns key value.
func (AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Reason ¶
func (e AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Reason() string
Reason function returns reason value.
type HotLiveAdsAllRequest ¶
type HotLiveAdsAllRequest struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"` // contains filtered or unexported fields }
func (*HotLiveAdsAllRequest) Descriptor
deprecated
func (*HotLiveAdsAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use HotLiveAdsAllRequest.ProtoReflect.Descriptor instead.
func (*HotLiveAdsAllRequest) GetCountry ¶
func (x *HotLiveAdsAllRequest) GetCountry() string
func (*HotLiveAdsAllRequest) ProtoMessage ¶
func (*HotLiveAdsAllRequest) ProtoMessage()
func (*HotLiveAdsAllRequest) ProtoReflect ¶
func (x *HotLiveAdsAllRequest) ProtoReflect() protoreflect.Message
func (*HotLiveAdsAllRequest) Reset ¶
func (x *HotLiveAdsAllRequest) Reset()
func (*HotLiveAdsAllRequest) String ¶
func (x *HotLiveAdsAllRequest) String() string
func (*HotLiveAdsAllRequest) Validate ¶
func (m *HotLiveAdsAllRequest) Validate() error
Validate checks the field values on HotLiveAdsAllRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HotLiveAdsAllRequest) ValidateAll ¶
func (m *HotLiveAdsAllRequest) ValidateAll() error
ValidateAll checks the field values on HotLiveAdsAllRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HotLiveAdsAllRequestMultiError, or nil if none found.
type HotLiveAdsAllRequestMultiError ¶
type HotLiveAdsAllRequestMultiError []error
HotLiveAdsAllRequestMultiError is an error wrapping multiple validation errors returned by HotLiveAdsAllRequest.ValidateAll() if the designated constraints aren't met.
func (HotLiveAdsAllRequestMultiError) AllErrors ¶
func (m HotLiveAdsAllRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HotLiveAdsAllRequestMultiError) Error ¶
func (m HotLiveAdsAllRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HotLiveAdsAllRequestValidationError ¶
type HotLiveAdsAllRequestValidationError struct {
// contains filtered or unexported fields
}
HotLiveAdsAllRequestValidationError is the validation error returned by HotLiveAdsAllRequest.Validate if the designated constraints aren't met.
func (HotLiveAdsAllRequestValidationError) Cause ¶
func (e HotLiveAdsAllRequestValidationError) Cause() error
Cause function returns cause value.
func (HotLiveAdsAllRequestValidationError) Error ¶
func (e HotLiveAdsAllRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HotLiveAdsAllRequestValidationError) ErrorName ¶
func (e HotLiveAdsAllRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HotLiveAdsAllRequestValidationError) Field ¶
func (e HotLiveAdsAllRequestValidationError) Field() string
Field function returns field value.
func (HotLiveAdsAllRequestValidationError) Key ¶
func (e HotLiveAdsAllRequestValidationError) Key() bool
Key function returns key value.
func (HotLiveAdsAllRequestValidationError) Reason ¶
func (e HotLiveAdsAllRequestValidationError) Reason() string
Reason function returns reason value.
type HotLiveAdsAllResponse ¶
type HotLiveAdsAllResponse struct { Ads []*HotLiveAdsAllResponse_Ads `protobuf:"bytes,1,rep,name=ads,proto3" json:"ads"` // contains filtered or unexported fields }
func (*HotLiveAdsAllResponse) Descriptor
deprecated
func (*HotLiveAdsAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use HotLiveAdsAllResponse.ProtoReflect.Descriptor instead.
func (*HotLiveAdsAllResponse) GetAds ¶
func (x *HotLiveAdsAllResponse) GetAds() []*HotLiveAdsAllResponse_Ads
func (*HotLiveAdsAllResponse) ProtoMessage ¶
func (*HotLiveAdsAllResponse) ProtoMessage()
func (*HotLiveAdsAllResponse) ProtoReflect ¶
func (x *HotLiveAdsAllResponse) ProtoReflect() protoreflect.Message
func (*HotLiveAdsAllResponse) Reset ¶
func (x *HotLiveAdsAllResponse) Reset()
func (*HotLiveAdsAllResponse) String ¶
func (x *HotLiveAdsAllResponse) String() string
func (*HotLiveAdsAllResponse) Validate ¶
func (m *HotLiveAdsAllResponse) Validate() error
Validate checks the field values on HotLiveAdsAllResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HotLiveAdsAllResponse) ValidateAll ¶
func (m *HotLiveAdsAllResponse) ValidateAll() error
ValidateAll checks the field values on HotLiveAdsAllResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HotLiveAdsAllResponseMultiError, or nil if none found.
type HotLiveAdsAllResponseMultiError ¶
type HotLiveAdsAllResponseMultiError []error
HotLiveAdsAllResponseMultiError is an error wrapping multiple validation errors returned by HotLiveAdsAllResponse.ValidateAll() if the designated constraints aren't met.
func (HotLiveAdsAllResponseMultiError) AllErrors ¶
func (m HotLiveAdsAllResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HotLiveAdsAllResponseMultiError) Error ¶
func (m HotLiveAdsAllResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HotLiveAdsAllResponseValidationError ¶
type HotLiveAdsAllResponseValidationError struct {
// contains filtered or unexported fields
}
HotLiveAdsAllResponseValidationError is the validation error returned by HotLiveAdsAllResponse.Validate if the designated constraints aren't met.
func (HotLiveAdsAllResponseValidationError) Cause ¶
func (e HotLiveAdsAllResponseValidationError) Cause() error
Cause function returns cause value.
func (HotLiveAdsAllResponseValidationError) Error ¶
func (e HotLiveAdsAllResponseValidationError) Error() string
Error satisfies the builtin error interface
func (HotLiveAdsAllResponseValidationError) ErrorName ¶
func (e HotLiveAdsAllResponseValidationError) ErrorName() string
ErrorName returns error name.
func (HotLiveAdsAllResponseValidationError) Field ¶
func (e HotLiveAdsAllResponseValidationError) Field() string
Field function returns field value.
func (HotLiveAdsAllResponseValidationError) Key ¶
func (e HotLiveAdsAllResponseValidationError) Key() bool
Key function returns key value.
func (HotLiveAdsAllResponseValidationError) Reason ¶
func (e HotLiveAdsAllResponseValidationError) Reason() string
Reason function returns reason value.
type HotLiveAdsAllResponse_Ads ¶
type HotLiveAdsAllResponse_Ads struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title"` Pic string `protobuf:"bytes,4,opt,name=pic,proto3" json:"pic"` Target uint32 `protobuf:"varint,5,opt,name=target,proto3" json:"target"` // contains filtered or unexported fields }
func (*HotLiveAdsAllResponse_Ads) Descriptor
deprecated
func (*HotLiveAdsAllResponse_Ads) Descriptor() ([]byte, []int)
Deprecated: Use HotLiveAdsAllResponse_Ads.ProtoReflect.Descriptor instead.
func (*HotLiveAdsAllResponse_Ads) GetId ¶
func (x *HotLiveAdsAllResponse_Ads) GetId() uint32
func (*HotLiveAdsAllResponse_Ads) GetPic ¶
func (x *HotLiveAdsAllResponse_Ads) GetPic() string
func (*HotLiveAdsAllResponse_Ads) GetTarget ¶
func (x *HotLiveAdsAllResponse_Ads) GetTarget() uint32
func (*HotLiveAdsAllResponse_Ads) GetTitle ¶
func (x *HotLiveAdsAllResponse_Ads) GetTitle() string
func (*HotLiveAdsAllResponse_Ads) GetUrl ¶
func (x *HotLiveAdsAllResponse_Ads) GetUrl() string
func (*HotLiveAdsAllResponse_Ads) ProtoMessage ¶
func (*HotLiveAdsAllResponse_Ads) ProtoMessage()
func (*HotLiveAdsAllResponse_Ads) ProtoReflect ¶
func (x *HotLiveAdsAllResponse_Ads) ProtoReflect() protoreflect.Message
func (*HotLiveAdsAllResponse_Ads) Reset ¶
func (x *HotLiveAdsAllResponse_Ads) Reset()
func (*HotLiveAdsAllResponse_Ads) String ¶
func (x *HotLiveAdsAllResponse_Ads) String() string
func (*HotLiveAdsAllResponse_Ads) Validate ¶
func (m *HotLiveAdsAllResponse_Ads) Validate() error
Validate checks the field values on HotLiveAdsAllResponse_Ads with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HotLiveAdsAllResponse_Ads) ValidateAll ¶
func (m *HotLiveAdsAllResponse_Ads) ValidateAll() error
ValidateAll checks the field values on HotLiveAdsAllResponse_Ads with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HotLiveAdsAllResponse_AdsMultiError, or nil if none found.
type HotLiveAdsAllResponse_AdsMultiError ¶
type HotLiveAdsAllResponse_AdsMultiError []error
HotLiveAdsAllResponse_AdsMultiError is an error wrapping multiple validation errors returned by HotLiveAdsAllResponse_Ads.ValidateAll() if the designated constraints aren't met.
func (HotLiveAdsAllResponse_AdsMultiError) AllErrors ¶
func (m HotLiveAdsAllResponse_AdsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HotLiveAdsAllResponse_AdsMultiError) Error ¶
func (m HotLiveAdsAllResponse_AdsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HotLiveAdsAllResponse_AdsValidationError ¶
type HotLiveAdsAllResponse_AdsValidationError struct {
// contains filtered or unexported fields
}
HotLiveAdsAllResponse_AdsValidationError is the validation error returned by HotLiveAdsAllResponse_Ads.Validate if the designated constraints aren't met.
func (HotLiveAdsAllResponse_AdsValidationError) Cause ¶
func (e HotLiveAdsAllResponse_AdsValidationError) Cause() error
Cause function returns cause value.
func (HotLiveAdsAllResponse_AdsValidationError) Error ¶
func (e HotLiveAdsAllResponse_AdsValidationError) Error() string
Error satisfies the builtin error interface
func (HotLiveAdsAllResponse_AdsValidationError) ErrorName ¶
func (e HotLiveAdsAllResponse_AdsValidationError) ErrorName() string
ErrorName returns error name.
func (HotLiveAdsAllResponse_AdsValidationError) Field ¶
func (e HotLiveAdsAllResponse_AdsValidationError) Field() string
Field function returns field value.
func (HotLiveAdsAllResponse_AdsValidationError) Key ¶
func (e HotLiveAdsAllResponse_AdsValidationError) Key() bool
Key function returns key value.
func (HotLiveAdsAllResponse_AdsValidationError) Reason ¶
func (e HotLiveAdsAllResponse_AdsValidationError) Reason() string
Reason function returns reason value.
type LiveAdInfoRequest ¶
type LiveAdInfoRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // contains filtered or unexported fields }
func (*LiveAdInfoRequest) Descriptor
deprecated
func (*LiveAdInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use LiveAdInfoRequest.ProtoReflect.Descriptor instead.
func (*LiveAdInfoRequest) GetId ¶
func (x *LiveAdInfoRequest) GetId() uint32
func (*LiveAdInfoRequest) ProtoMessage ¶
func (*LiveAdInfoRequest) ProtoMessage()
func (*LiveAdInfoRequest) ProtoReflect ¶
func (x *LiveAdInfoRequest) ProtoReflect() protoreflect.Message
func (*LiveAdInfoRequest) Reset ¶
func (x *LiveAdInfoRequest) Reset()
func (*LiveAdInfoRequest) String ¶
func (x *LiveAdInfoRequest) String() string
func (*LiveAdInfoRequest) Validate ¶
func (m *LiveAdInfoRequest) Validate() error
Validate checks the field values on LiveAdInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LiveAdInfoRequest) ValidateAll ¶
func (m *LiveAdInfoRequest) ValidateAll() error
ValidateAll checks the field values on LiveAdInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LiveAdInfoRequestMultiError, or nil if none found.
type LiveAdInfoRequestMultiError ¶
type LiveAdInfoRequestMultiError []error
LiveAdInfoRequestMultiError is an error wrapping multiple validation errors returned by LiveAdInfoRequest.ValidateAll() if the designated constraints aren't met.
func (LiveAdInfoRequestMultiError) AllErrors ¶
func (m LiveAdInfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LiveAdInfoRequestMultiError) Error ¶
func (m LiveAdInfoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LiveAdInfoRequestValidationError ¶
type LiveAdInfoRequestValidationError struct {
// contains filtered or unexported fields
}
LiveAdInfoRequestValidationError is the validation error returned by LiveAdInfoRequest.Validate if the designated constraints aren't met.
func (LiveAdInfoRequestValidationError) Cause ¶
func (e LiveAdInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (LiveAdInfoRequestValidationError) Error ¶
func (e LiveAdInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LiveAdInfoRequestValidationError) ErrorName ¶
func (e LiveAdInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LiveAdInfoRequestValidationError) Field ¶
func (e LiveAdInfoRequestValidationError) Field() string
Field function returns field value.
func (LiveAdInfoRequestValidationError) Key ¶
func (e LiveAdInfoRequestValidationError) Key() bool
Key function returns key value.
func (LiveAdInfoRequestValidationError) Reason ¶
func (e LiveAdInfoRequestValidationError) Reason() string
Reason function returns reason value.
type LiveAdInfoResponse ¶
type LiveAdInfoResponse struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title"` HeadImg string `protobuf:"bytes,2,opt,name=head_img,json=headImg,proto3" json:"head_img"` // contains filtered or unexported fields }
func (*LiveAdInfoResponse) Descriptor
deprecated
func (*LiveAdInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use LiveAdInfoResponse.ProtoReflect.Descriptor instead.
func (*LiveAdInfoResponse) GetHeadImg ¶
func (x *LiveAdInfoResponse) GetHeadImg() string
func (*LiveAdInfoResponse) GetTitle ¶
func (x *LiveAdInfoResponse) GetTitle() string
func (*LiveAdInfoResponse) ProtoMessage ¶
func (*LiveAdInfoResponse) ProtoMessage()
func (*LiveAdInfoResponse) ProtoReflect ¶
func (x *LiveAdInfoResponse) ProtoReflect() protoreflect.Message
func (*LiveAdInfoResponse) Reset ¶
func (x *LiveAdInfoResponse) Reset()
func (*LiveAdInfoResponse) String ¶
func (x *LiveAdInfoResponse) String() string
func (*LiveAdInfoResponse) Validate ¶
func (m *LiveAdInfoResponse) Validate() error
Validate checks the field values on LiveAdInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LiveAdInfoResponse) ValidateAll ¶
func (m *LiveAdInfoResponse) ValidateAll() error
ValidateAll checks the field values on LiveAdInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LiveAdInfoResponseMultiError, or nil if none found.
type LiveAdInfoResponseMultiError ¶
type LiveAdInfoResponseMultiError []error
LiveAdInfoResponseMultiError is an error wrapping multiple validation errors returned by LiveAdInfoResponse.ValidateAll() if the designated constraints aren't met.
func (LiveAdInfoResponseMultiError) AllErrors ¶
func (m LiveAdInfoResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LiveAdInfoResponseMultiError) Error ¶
func (m LiveAdInfoResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LiveAdInfoResponseValidationError ¶
type LiveAdInfoResponseValidationError struct {
// contains filtered or unexported fields
}
LiveAdInfoResponseValidationError is the validation error returned by LiveAdInfoResponse.Validate if the designated constraints aren't met.
func (LiveAdInfoResponseValidationError) Cause ¶
func (e LiveAdInfoResponseValidationError) Cause() error
Cause function returns cause value.
func (LiveAdInfoResponseValidationError) Error ¶
func (e LiveAdInfoResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LiveAdInfoResponseValidationError) ErrorName ¶
func (e LiveAdInfoResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LiveAdInfoResponseValidationError) Field ¶
func (e LiveAdInfoResponseValidationError) Field() string
Field function returns field value.
func (LiveAdInfoResponseValidationError) Key ¶
func (e LiveAdInfoResponseValidationError) Key() bool
Key function returns key value.
func (LiveAdInfoResponseValidationError) Reason ¶
func (e LiveAdInfoResponseValidationError) Reason() string
Reason function returns reason value.
type LiveAdvertisement ¶
type LiveAdvertisement struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title"` Pic string `protobuf:"bytes,4,opt,name=pic,proto3" json:"pic"` Sort uint32 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort"` Status uint32 `protobuf:"varint,6,opt,name=status,proto3" json:"status"` CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at"` // contains filtered or unexported fields }
func (*LiveAdvertisement) Descriptor
deprecated
func (*LiveAdvertisement) Descriptor() ([]byte, []int)
Deprecated: Use LiveAdvertisement.ProtoReflect.Descriptor instead.
func (*LiveAdvertisement) GetCreatedAt ¶
func (x *LiveAdvertisement) GetCreatedAt() string
func (*LiveAdvertisement) GetId ¶
func (x *LiveAdvertisement) GetId() uint32
func (*LiveAdvertisement) GetPic ¶
func (x *LiveAdvertisement) GetPic() string
func (*LiveAdvertisement) GetSort ¶
func (x *LiveAdvertisement) GetSort() uint32
func (*LiveAdvertisement) GetStatus ¶
func (x *LiveAdvertisement) GetStatus() uint32
func (*LiveAdvertisement) GetTitle ¶
func (x *LiveAdvertisement) GetTitle() string
func (*LiveAdvertisement) GetUrl ¶
func (x *LiveAdvertisement) GetUrl() string
func (*LiveAdvertisement) ProtoMessage ¶
func (*LiveAdvertisement) ProtoMessage()
func (*LiveAdvertisement) ProtoReflect ¶
func (x *LiveAdvertisement) ProtoReflect() protoreflect.Message
func (*LiveAdvertisement) Reset ¶
func (x *LiveAdvertisement) Reset()
func (*LiveAdvertisement) String ¶
func (x *LiveAdvertisement) String() string
func (*LiveAdvertisement) Validate ¶
func (m *LiveAdvertisement) Validate() error
Validate checks the field values on LiveAdvertisement with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LiveAdvertisement) ValidateAll ¶
func (m *LiveAdvertisement) ValidateAll() error
ValidateAll checks the field values on LiveAdvertisement with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LiveAdvertisementMultiError, or nil if none found.
type LiveAdvertisementMultiError ¶
type LiveAdvertisementMultiError []error
LiveAdvertisementMultiError is an error wrapping multiple validation errors returned by LiveAdvertisement.ValidateAll() if the designated constraints aren't met.
func (LiveAdvertisementMultiError) AllErrors ¶
func (m LiveAdvertisementMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LiveAdvertisementMultiError) Error ¶
func (m LiveAdvertisementMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LiveAdvertisementSrvHandler ¶
type LiveAdvertisementSrvHandler interface { // app发现页广告 HotLiveAdsAll(context.Context, *HotLiveAdsAllRequest, *HotLiveAdsAllResponse) error // 后台刷新视频直播热门页广告 AdminRefreshHotAd(context.Context, *AdminRefreshHotAdRequest, *AdminRefreshHotAdResponse) error // 后台刷新视频直播间内广告 AdminRefreshVideoLiveRoomAd(context.Context, *AdminRefreshVideoLiveRoomAdRequest, *AdminRefreshVideoLiveRoomAdResponse) error // 视频banner广告信息 VideoBannerAdInfo(context.Context, *LiveAdInfoRequest, *LiveAdInfoResponse) error // 视频banner广告信息 VideoLiveRoomAdInfo(context.Context, *LiveAdInfoRequest, *LiveAdInfoResponse) error }
type LiveAdvertisementSrvService ¶
type LiveAdvertisementSrvService interface { // app发现页广告 HotLiveAdsAll(ctx context.Context, in *HotLiveAdsAllRequest, opts ...client.CallOption) (*HotLiveAdsAllResponse, error) // 后台刷新视频直播热门页广告 AdminRefreshHotAd(ctx context.Context, in *AdminRefreshHotAdRequest, opts ...client.CallOption) (*AdminRefreshHotAdResponse, error) // 后台刷新视频直播间内广告 AdminRefreshVideoLiveRoomAd(ctx context.Context, in *AdminRefreshVideoLiveRoomAdRequest, opts ...client.CallOption) (*AdminRefreshVideoLiveRoomAdResponse, error) // 视频banner广告信息 VideoBannerAdInfo(ctx context.Context, in *LiveAdInfoRequest, opts ...client.CallOption) (*LiveAdInfoResponse, error) // 视频banner广告信息 VideoLiveRoomAdInfo(ctx context.Context, in *LiveAdInfoRequest, opts ...client.CallOption) (*LiveAdInfoResponse, error) }
func NewLiveAdvertisementSrvService ¶
func NewLiveAdvertisementSrvService(name string, c client.Client) LiveAdvertisementSrvService
type LiveAdvertisementValidationError ¶
type LiveAdvertisementValidationError struct {
// contains filtered or unexported fields
}
LiveAdvertisementValidationError is the validation error returned by LiveAdvertisement.Validate if the designated constraints aren't met.
func (LiveAdvertisementValidationError) Cause ¶
func (e LiveAdvertisementValidationError) Cause() error
Cause function returns cause value.
func (LiveAdvertisementValidationError) Error ¶
func (e LiveAdvertisementValidationError) Error() string
Error satisfies the builtin error interface
func (LiveAdvertisementValidationError) ErrorName ¶
func (e LiveAdvertisementValidationError) ErrorName() string
ErrorName returns error name.
func (LiveAdvertisementValidationError) Field ¶
func (e LiveAdvertisementValidationError) Field() string
Field function returns field value.
func (LiveAdvertisementValidationError) Key ¶
func (e LiveAdvertisementValidationError) Key() bool
Key function returns key value.
func (LiveAdvertisementValidationError) Reason ¶
func (e LiveAdvertisementValidationError) Reason() string
Reason function returns reason value.