liveAdvertisement

package
v0.0.0-...-b08fcc5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VideoBannerAd   = "video_banner" // 热门banner
	VideoLiveRoomAd = "live_room"    // 直播间广告
)

Variables

View Source
var File_proto_liveAdvertisement_liveAdvertisement_proto protoreflect.FileDescriptor

Functions

func NewLiveAdvertisementSrvEndpoints

func NewLiveAdvertisementSrvEndpoints() []*api.Endpoint

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

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

Cause function returns cause value.

func (AdminRefreshHotAdRequestValidationError) Error

Error satisfies the builtin error interface

func (AdminRefreshHotAdRequestValidationError) ErrorName

ErrorName returns error name.

func (AdminRefreshHotAdRequestValidationError) Field

Field function returns field value.

func (AdminRefreshHotAdRequestValidationError) Key

Key function returns key value.

func (AdminRefreshHotAdRequestValidationError) Reason

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 (*AdminRefreshHotAdResponse) ProtoMessage

func (*AdminRefreshHotAdResponse) ProtoMessage()

func (*AdminRefreshHotAdResponse) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (AdminRefreshHotAdResponseMultiError) Error

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

Cause function returns cause value.

func (AdminRefreshHotAdResponseValidationError) Error

Error satisfies the builtin error interface

func (AdminRefreshHotAdResponseValidationError) ErrorName

ErrorName returns error name.

func (AdminRefreshHotAdResponseValidationError) Field

Field function returns field value.

func (AdminRefreshHotAdResponseValidationError) Key

Key function returns key value.

func (AdminRefreshHotAdResponseValidationError) Reason

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 (*AdminRefreshHotAdResponse_Ads) GetPic

func (*AdminRefreshHotAdResponse_Ads) GetTitle

func (x *AdminRefreshHotAdResponse_Ads) GetTitle() string

func (*AdminRefreshHotAdResponse_Ads) GetUrl

func (*AdminRefreshHotAdResponse_Ads) ProtoMessage

func (*AdminRefreshHotAdResponse_Ads) ProtoMessage()

func (*AdminRefreshHotAdResponse_Ads) ProtoReflect

func (*AdminRefreshHotAdResponse_Ads) Reset

func (x *AdminRefreshHotAdResponse_Ads) Reset()

func (*AdminRefreshHotAdResponse_Ads) 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

AllErrors returns a list of validation violation errors.

func (AdminRefreshHotAdResponse_AdsMultiError) Error

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

Cause function returns cause value.

func (AdminRefreshHotAdResponse_AdsValidationError) Error

Error satisfies the builtin error interface

func (AdminRefreshHotAdResponse_AdsValidationError) ErrorName

ErrorName returns error name.

func (AdminRefreshHotAdResponse_AdsValidationError) Field

Field function returns field value.

func (AdminRefreshHotAdResponse_AdsValidationError) Key

Key function returns key value.

func (AdminRefreshHotAdResponse_AdsValidationError) Reason

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 (*AdminRefreshVideoLiveRoomAdRequest) ProtoMessage

func (*AdminRefreshVideoLiveRoomAdRequest) ProtoMessage()

func (*AdminRefreshVideoLiveRoomAdRequest) ProtoReflect

func (*AdminRefreshVideoLiveRoomAdRequest) Reset

func (*AdminRefreshVideoLiveRoomAdRequest) String

func (*AdminRefreshVideoLiveRoomAdRequest) Validate

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

AllErrors returns a list of validation violation errors.

func (AdminRefreshVideoLiveRoomAdRequestMultiError) Error

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

Cause function returns cause value.

func (AdminRefreshVideoLiveRoomAdRequestValidationError) Error

Error satisfies the builtin error interface

func (AdminRefreshVideoLiveRoomAdRequestValidationError) ErrorName

ErrorName returns error name.

func (AdminRefreshVideoLiveRoomAdRequestValidationError) Field

Field function returns field value.

func (AdminRefreshVideoLiveRoomAdRequestValidationError) Key

Key function returns key value.

func (AdminRefreshVideoLiveRoomAdRequestValidationError) Reason

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 (*AdminRefreshVideoLiveRoomAdResponse) ProtoMessage

func (*AdminRefreshVideoLiveRoomAdResponse) ProtoMessage()

func (*AdminRefreshVideoLiveRoomAdResponse) ProtoReflect

func (*AdminRefreshVideoLiveRoomAdResponse) Reset

func (*AdminRefreshVideoLiveRoomAdResponse) String

func (*AdminRefreshVideoLiveRoomAdResponse) Validate

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

AllErrors returns a list of validation violation errors.

func (AdminRefreshVideoLiveRoomAdResponseMultiError) Error

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

Cause function returns cause value.

func (AdminRefreshVideoLiveRoomAdResponseValidationError) Error

Error satisfies the builtin error interface

func (AdminRefreshVideoLiveRoomAdResponseValidationError) ErrorName

ErrorName returns error name.

func (AdminRefreshVideoLiveRoomAdResponseValidationError) Field

Field function returns field value.

func (AdminRefreshVideoLiveRoomAdResponseValidationError) Key

Key function returns key value.

func (AdminRefreshVideoLiveRoomAdResponseValidationError) Reason

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 (*AdminRefreshVideoLiveRoomAdResponse_Ads) GetPic

func (*AdminRefreshVideoLiveRoomAdResponse_Ads) GetTitle

func (*AdminRefreshVideoLiveRoomAdResponse_Ads) GetUrl

func (*AdminRefreshVideoLiveRoomAdResponse_Ads) ProtoMessage

func (*AdminRefreshVideoLiveRoomAdResponse_Ads) ProtoReflect

func (*AdminRefreshVideoLiveRoomAdResponse_Ads) Reset

func (*AdminRefreshVideoLiveRoomAdResponse_Ads) String

func (*AdminRefreshVideoLiveRoomAdResponse_Ads) Validate

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

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

AllErrors returns a list of validation violation errors.

func (AdminRefreshVideoLiveRoomAdResponse_AdsMultiError) Error

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

Cause function returns cause value.

func (AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Error

Error satisfies the builtin error interface

func (AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) ErrorName

ErrorName returns error name.

func (AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Field

Field function returns field value.

func (AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Key

Key function returns key value.

func (AdminRefreshVideoLiveRoomAdResponse_AdsValidationError) Reason

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

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

Cause function returns cause value.

func (HotLiveAdsAllRequestValidationError) Error

Error satisfies the builtin error interface

func (HotLiveAdsAllRequestValidationError) ErrorName

ErrorName returns error name.

func (HotLiveAdsAllRequestValidationError) Field

Field function returns field value.

func (HotLiveAdsAllRequestValidationError) Key

Key function returns key value.

func (HotLiveAdsAllRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (HotLiveAdsAllResponseValidationError) Error

Error satisfies the builtin error interface

func (HotLiveAdsAllResponseValidationError) ErrorName

ErrorName returns error name.

func (HotLiveAdsAllResponseValidationError) Field

Field function returns field value.

func (HotLiveAdsAllResponseValidationError) Key

Key function returns key value.

func (HotLiveAdsAllResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (HotLiveAdsAllResponse_AdsMultiError) Error

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

Cause function returns cause value.

func (HotLiveAdsAllResponse_AdsValidationError) Error

Error satisfies the builtin error interface

func (HotLiveAdsAllResponse_AdsValidationError) ErrorName

ErrorName returns error name.

func (HotLiveAdsAllResponse_AdsValidationError) Field

Field function returns field value.

func (HotLiveAdsAllResponse_AdsValidationError) Key

Key function returns key value.

func (HotLiveAdsAllResponse_AdsValidationError) Reason

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

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

Cause function returns cause value.

func (LiveAdInfoRequestValidationError) Error

Error satisfies the builtin error interface

func (LiveAdInfoRequestValidationError) ErrorName

ErrorName returns error name.

func (LiveAdInfoRequestValidationError) Field

Field function returns field value.

func (LiveAdInfoRequestValidationError) Key

Key function returns key value.

func (LiveAdInfoRequestValidationError) Reason

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

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

Cause function returns cause value.

func (LiveAdInfoResponseValidationError) Error

Error satisfies the builtin error interface

func (LiveAdInfoResponseValidationError) ErrorName

ErrorName returns error name.

func (LiveAdInfoResponseValidationError) Field

Field function returns field value.

func (LiveAdInfoResponseValidationError) Key

Key function returns key value.

func (LiveAdInfoResponseValidationError) Reason

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

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

Cause function returns cause value.

func (LiveAdvertisementValidationError) Error

Error satisfies the builtin error interface

func (LiveAdvertisementValidationError) ErrorName

ErrorName returns error name.

func (LiveAdvertisementValidationError) Field

Field function returns field value.

func (LiveAdvertisementValidationError) Key

Key function returns key value.

func (LiveAdvertisementValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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