admin

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_admin_admin_proto protoreflect.FileDescriptor

Functions

func NewAdminSrvEndpoints

func NewAdminSrvEndpoints() []*api.Endpoint

func RegisterAdminSrvHandler

func RegisterAdminSrvHandler(s server.Server, hdlr AdminSrvHandler, opts ...server.HandlerOption) error

Types

type AdminAddLiveDataRequest

type AdminAddLiveDataRequest struct {
	Ymd string `protobuf:"bytes,1,opt,name=ymd,proto3" json:"ymd"`
	// contains filtered or unexported fields
}

func (*AdminAddLiveDataRequest) Descriptor deprecated

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

Deprecated: Use AdminAddLiveDataRequest.ProtoReflect.Descriptor instead.

func (*AdminAddLiveDataRequest) GetYmd

func (x *AdminAddLiveDataRequest) GetYmd() string

func (*AdminAddLiveDataRequest) ProtoMessage

func (*AdminAddLiveDataRequest) ProtoMessage()

func (*AdminAddLiveDataRequest) ProtoReflect

func (x *AdminAddLiveDataRequest) ProtoReflect() protoreflect.Message

func (*AdminAddLiveDataRequest) Reset

func (x *AdminAddLiveDataRequest) Reset()

func (*AdminAddLiveDataRequest) String

func (x *AdminAddLiveDataRequest) String() string

func (*AdminAddLiveDataRequest) Validate

func (m *AdminAddLiveDataRequest) Validate() error

Validate checks the field values on AdminAddLiveDataRequest 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 (*AdminAddLiveDataRequest) ValidateAll

func (m *AdminAddLiveDataRequest) ValidateAll() error

ValidateAll checks the field values on AdminAddLiveDataRequest 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 AdminAddLiveDataRequestMultiError, or nil if none found.

type AdminAddLiveDataRequestMultiError

type AdminAddLiveDataRequestMultiError []error

AdminAddLiveDataRequestMultiError is an error wrapping multiple validation errors returned by AdminAddLiveDataRequest.ValidateAll() if the designated constraints aren't met.

func (AdminAddLiveDataRequestMultiError) AllErrors

func (m AdminAddLiveDataRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AdminAddLiveDataRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AdminAddLiveDataRequestValidationError

type AdminAddLiveDataRequestValidationError struct {
	// contains filtered or unexported fields
}

AdminAddLiveDataRequestValidationError is the validation error returned by AdminAddLiveDataRequest.Validate if the designated constraints aren't met.

func (AdminAddLiveDataRequestValidationError) Cause

Cause function returns cause value.

func (AdminAddLiveDataRequestValidationError) Error

Error satisfies the builtin error interface

func (AdminAddLiveDataRequestValidationError) ErrorName

ErrorName returns error name.

func (AdminAddLiveDataRequestValidationError) Field

Field function returns field value.

func (AdminAddLiveDataRequestValidationError) Key

Key function returns key value.

func (AdminAddLiveDataRequestValidationError) Reason

Reason function returns reason value.

type AdminAddLiveDataResponse

type AdminAddLiveDataResponse struct {
	RegisterIos        int64 `protobuf:"varint,1,opt,name=register_ios,json=registerIos,proto3" json:"register_ios"`
	ResisterAndroid    int64 `protobuf:"varint,2,opt,name=resister_android,json=resisterAndroid,proto3" json:"resister_android"`
	ResisterTotal      int64 `protobuf:"varint,3,opt,name=resister_total,json=resisterTotal,proto3" json:"resister_total"`
	BindIos            int64 `protobuf:"varint,4,opt,name=bind_ios,json=bindIos,proto3" json:"bind_ios"`
	BindAndroid        int64 `protobuf:"varint,5,opt,name=bind_android,json=bindAndroid,proto3" json:"bind_android"`
	BindTotal          int64 `protobuf:"varint,6,opt,name=bind_total,json=bindTotal,proto3" json:"bind_total"`
	BindSeeLiveIos     int64 `protobuf:"varint,7,opt,name=bind_see_live_ios,json=bindSeeLiveIos,proto3" json:"bind_see_live_ios"`
	BindSeeLiveAndroid int64 `protobuf:"varint,8,opt,name=bind_see_live_android,json=bindSeeLiveAndroid,proto3" json:"bind_see_live_android"`
	BindSeeLiveTotal   int64 `protobuf:"varint,9,opt,name=bind_see_live_total,json=bindSeeLiveTotal,proto3" json:"bind_see_live_total"`
	// contains filtered or unexported fields
}

func (*AdminAddLiveDataResponse) Descriptor deprecated

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

Deprecated: Use AdminAddLiveDataResponse.ProtoReflect.Descriptor instead.

func (*AdminAddLiveDataResponse) GetBindAndroid

func (x *AdminAddLiveDataResponse) GetBindAndroid() int64

func (*AdminAddLiveDataResponse) GetBindIos

func (x *AdminAddLiveDataResponse) GetBindIos() int64

func (*AdminAddLiveDataResponse) GetBindSeeLiveAndroid

func (x *AdminAddLiveDataResponse) GetBindSeeLiveAndroid() int64

func (*AdminAddLiveDataResponse) GetBindSeeLiveIos

func (x *AdminAddLiveDataResponse) GetBindSeeLiveIos() int64

func (*AdminAddLiveDataResponse) GetBindSeeLiveTotal

func (x *AdminAddLiveDataResponse) GetBindSeeLiveTotal() int64

func (*AdminAddLiveDataResponse) GetBindTotal

func (x *AdminAddLiveDataResponse) GetBindTotal() int64

func (*AdminAddLiveDataResponse) GetRegisterIos

func (x *AdminAddLiveDataResponse) GetRegisterIos() int64

func (*AdminAddLiveDataResponse) GetResisterAndroid

func (x *AdminAddLiveDataResponse) GetResisterAndroid() int64

func (*AdminAddLiveDataResponse) GetResisterTotal

func (x *AdminAddLiveDataResponse) GetResisterTotal() int64

func (*AdminAddLiveDataResponse) ProtoMessage

func (*AdminAddLiveDataResponse) ProtoMessage()

func (*AdminAddLiveDataResponse) ProtoReflect

func (x *AdminAddLiveDataResponse) ProtoReflect() protoreflect.Message

func (*AdminAddLiveDataResponse) Reset

func (x *AdminAddLiveDataResponse) Reset()

func (*AdminAddLiveDataResponse) String

func (x *AdminAddLiveDataResponse) String() string

func (*AdminAddLiveDataResponse) Validate

func (m *AdminAddLiveDataResponse) Validate() error

Validate checks the field values on AdminAddLiveDataResponse 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 (*AdminAddLiveDataResponse) ValidateAll

func (m *AdminAddLiveDataResponse) ValidateAll() error

ValidateAll checks the field values on AdminAddLiveDataResponse 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 AdminAddLiveDataResponseMultiError, or nil if none found.

type AdminAddLiveDataResponseMultiError

type AdminAddLiveDataResponseMultiError []error

AdminAddLiveDataResponseMultiError is an error wrapping multiple validation errors returned by AdminAddLiveDataResponse.ValidateAll() if the designated constraints aren't met.

func (AdminAddLiveDataResponseMultiError) AllErrors

func (m AdminAddLiveDataResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AdminAddLiveDataResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AdminAddLiveDataResponseValidationError

type AdminAddLiveDataResponseValidationError struct {
	// contains filtered or unexported fields
}

AdminAddLiveDataResponseValidationError is the validation error returned by AdminAddLiveDataResponse.Validate if the designated constraints aren't met.

func (AdminAddLiveDataResponseValidationError) Cause

Cause function returns cause value.

func (AdminAddLiveDataResponseValidationError) Error

Error satisfies the builtin error interface

func (AdminAddLiveDataResponseValidationError) ErrorName

ErrorName returns error name.

func (AdminAddLiveDataResponseValidationError) Field

Field function returns field value.

func (AdminAddLiveDataResponseValidationError) Key

Key function returns key value.

func (AdminAddLiveDataResponseValidationError) Reason

Reason function returns reason value.

type AdminLiveAddDataRequest

type AdminLiveAddDataRequest struct {
	// contains filtered or unexported fields
}

主播归档数据

func (*AdminLiveAddDataRequest) Descriptor deprecated

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

Deprecated: Use AdminLiveAddDataRequest.ProtoReflect.Descriptor instead.

func (*AdminLiveAddDataRequest) ProtoMessage

func (*AdminLiveAddDataRequest) ProtoMessage()

func (*AdminLiveAddDataRequest) ProtoReflect

func (x *AdminLiveAddDataRequest) ProtoReflect() protoreflect.Message

func (*AdminLiveAddDataRequest) Reset

func (x *AdminLiveAddDataRequest) Reset()

func (*AdminLiveAddDataRequest) String

func (x *AdminLiveAddDataRequest) String() string

func (*AdminLiveAddDataRequest) Validate

func (m *AdminLiveAddDataRequest) Validate() error

Validate checks the field values on AdminLiveAddDataRequest 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 (*AdminLiveAddDataRequest) ValidateAll

func (m *AdminLiveAddDataRequest) ValidateAll() error

ValidateAll checks the field values on AdminLiveAddDataRequest 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 AdminLiveAddDataRequestMultiError, or nil if none found.

type AdminLiveAddDataRequestMultiError

type AdminLiveAddDataRequestMultiError []error

AdminLiveAddDataRequestMultiError is an error wrapping multiple validation errors returned by AdminLiveAddDataRequest.ValidateAll() if the designated constraints aren't met.

func (AdminLiveAddDataRequestMultiError) AllErrors

func (m AdminLiveAddDataRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AdminLiveAddDataRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AdminLiveAddDataRequestValidationError

type AdminLiveAddDataRequestValidationError struct {
	// contains filtered or unexported fields
}

AdminLiveAddDataRequestValidationError is the validation error returned by AdminLiveAddDataRequest.Validate if the designated constraints aren't met.

func (AdminLiveAddDataRequestValidationError) Cause

Cause function returns cause value.

func (AdminLiveAddDataRequestValidationError) Error

Error satisfies the builtin error interface

func (AdminLiveAddDataRequestValidationError) ErrorName

ErrorName returns error name.

func (AdminLiveAddDataRequestValidationError) Field

Field function returns field value.

func (AdminLiveAddDataRequestValidationError) Key

Key function returns key value.

func (AdminLiveAddDataRequestValidationError) Reason

Reason function returns reason value.

type AdminLiveGeneralDataResponse

type AdminLiveGeneralDataResponse struct {
	LivingTotal       int64 `protobuf:"varint,1,opt,name=living_total,json=livingTotal,proto3" json:"living_total"`
	NewAnchorTotal    int64 `protobuf:"varint,2,opt,name=new_anchor_total,json=newAnchorTotal,proto3" json:"new_anchor_total"`
	NowDayAnchorTotal int64 `protobuf:"varint,3,opt,name=now_day_anchor_total,json=nowDayAnchorTotal,proto3" json:"now_day_anchor_total"`
	FirstAnchorTotal  int64 `protobuf:"varint,4,opt,name=first_anchor_total,json=firstAnchorTotal,proto3" json:"first_anchor_total"`
	RegisterIos       int64 `protobuf:"varint,5,opt,name=register_ios,json=registerIos,proto3" json:"register_ios"`
	ResisterAndroid   int64 `protobuf:"varint,6,opt,name=resister_android,json=resisterAndroid,proto3" json:"resister_android"`
	ResisterTotal     int64 `protobuf:"varint,7,opt,name=resister_total,json=resisterTotal,proto3" json:"resister_total"`
	IosOnline         int64 `protobuf:"varint,8,opt,name=ios_online,json=iosOnline,proto3" json:"ios_online"`
	AndroidOnline     int64 `protobuf:"varint,9,opt,name=android_online,json=androidOnline,proto3" json:"android_online"`
	TotalOnline       int64 `protobuf:"varint,10,opt,name=total_online,json=totalOnline,proto3" json:"total_online"`
	// contains filtered or unexported fields
}

func (*AdminLiveGeneralDataResponse) Descriptor deprecated

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

Deprecated: Use AdminLiveGeneralDataResponse.ProtoReflect.Descriptor instead.

func (*AdminLiveGeneralDataResponse) GetAndroidOnline

func (x *AdminLiveGeneralDataResponse) GetAndroidOnline() int64

func (*AdminLiveGeneralDataResponse) GetFirstAnchorTotal

func (x *AdminLiveGeneralDataResponse) GetFirstAnchorTotal() int64

func (*AdminLiveGeneralDataResponse) GetIosOnline

func (x *AdminLiveGeneralDataResponse) GetIosOnline() int64

func (*AdminLiveGeneralDataResponse) GetLivingTotal

func (x *AdminLiveGeneralDataResponse) GetLivingTotal() int64

func (*AdminLiveGeneralDataResponse) GetNewAnchorTotal

func (x *AdminLiveGeneralDataResponse) GetNewAnchorTotal() int64

func (*AdminLiveGeneralDataResponse) GetNowDayAnchorTotal

func (x *AdminLiveGeneralDataResponse) GetNowDayAnchorTotal() int64

func (*AdminLiveGeneralDataResponse) GetRegisterIos

func (x *AdminLiveGeneralDataResponse) GetRegisterIos() int64

func (*AdminLiveGeneralDataResponse) GetResisterAndroid

func (x *AdminLiveGeneralDataResponse) GetResisterAndroid() int64

func (*AdminLiveGeneralDataResponse) GetResisterTotal

func (x *AdminLiveGeneralDataResponse) GetResisterTotal() int64

func (*AdminLiveGeneralDataResponse) GetTotalOnline

func (x *AdminLiveGeneralDataResponse) GetTotalOnline() int64

func (*AdminLiveGeneralDataResponse) ProtoMessage

func (*AdminLiveGeneralDataResponse) ProtoMessage()

func (*AdminLiveGeneralDataResponse) ProtoReflect

func (*AdminLiveGeneralDataResponse) Reset

func (x *AdminLiveGeneralDataResponse) Reset()

func (*AdminLiveGeneralDataResponse) String

func (*AdminLiveGeneralDataResponse) Validate

func (m *AdminLiveGeneralDataResponse) Validate() error

Validate checks the field values on AdminLiveGeneralDataResponse 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 (*AdminLiveGeneralDataResponse) ValidateAll

func (m *AdminLiveGeneralDataResponse) ValidateAll() error

ValidateAll checks the field values on AdminLiveGeneralDataResponse 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 AdminLiveGeneralDataResponseMultiError, or nil if none found.

type AdminLiveGeneralDataResponseMultiError

type AdminLiveGeneralDataResponseMultiError []error

AdminLiveGeneralDataResponseMultiError is an error wrapping multiple validation errors returned by AdminLiveGeneralDataResponse.ValidateAll() if the designated constraints aren't met.

func (AdminLiveGeneralDataResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AdminLiveGeneralDataResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AdminLiveGeneralDataResponseValidationError

type AdminLiveGeneralDataResponseValidationError struct {
	// contains filtered or unexported fields
}

AdminLiveGeneralDataResponseValidationError is the validation error returned by AdminLiveGeneralDataResponse.Validate if the designated constraints aren't met.

func (AdminLiveGeneralDataResponseValidationError) Cause

Cause function returns cause value.

func (AdminLiveGeneralDataResponseValidationError) Error

Error satisfies the builtin error interface

func (AdminLiveGeneralDataResponseValidationError) ErrorName

ErrorName returns error name.

func (AdminLiveGeneralDataResponseValidationError) Field

Field function returns field value.

func (AdminLiveGeneralDataResponseValidationError) Key

Key function returns key value.

func (AdminLiveGeneralDataResponseValidationError) Reason

Reason function returns reason value.

type AdminSrvService

type AdminSrvService interface {
	// 后台关闭直播
	CloseLive(ctx context.Context, in *CloseLiveRequest, opts ...client.CallOption) (*CloseLiveResponse, error)
	// 直播有效天数
	AnchorsLiveStatistical(ctx context.Context, in *AnchorsLiveStatisticalRequest, opts ...client.CallOption) (*AnchorsLiveStatisticalResponse, error)
	AdminLiveGeneralData(ctx context.Context, in *AdminLiveAddDataRequest, opts ...client.CallOption) (*AdminLiveGeneralDataResponse, error)
	SeeLiveAudience(ctx context.Context, in *SeeLiveAudienceRequest, opts ...client.CallOption) (*SeeLiveAudienceDataResponse, error)
	AdminAddLiveData(ctx context.Context, in *AdminAddLiveDataRequest, opts ...client.CallOption) (*AdminAddLiveDataResponse, error)
}

func NewAdminSrvService

func NewAdminSrvService(name string, c client.Client) AdminSrvService

type AnchorsLiveStatisticalRequest

type AnchorsLiveStatisticalRequest struct {
	AnchorIds []int64 `protobuf:"varint,1,rep,packed,name=anchorIds,proto3" json:"anchorIds"`
	StartTime string  `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time"`
	EndTime   string  `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time"`
	Country   string  `protobuf:"bytes,4,opt,name=country,proto3" json:"country"`
	// contains filtered or unexported fields
}

主播归档数据

func (*AnchorsLiveStatisticalRequest) Descriptor deprecated

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

Deprecated: Use AnchorsLiveStatisticalRequest.ProtoReflect.Descriptor instead.

func (*AnchorsLiveStatisticalRequest) GetAnchorIds

func (x *AnchorsLiveStatisticalRequest) GetAnchorIds() []int64

func (*AnchorsLiveStatisticalRequest) GetCountry

func (x *AnchorsLiveStatisticalRequest) GetCountry() string

func (*AnchorsLiveStatisticalRequest) GetEndTime

func (x *AnchorsLiveStatisticalRequest) GetEndTime() string

func (*AnchorsLiveStatisticalRequest) GetStartTime

func (x *AnchorsLiveStatisticalRequest) GetStartTime() string

func (*AnchorsLiveStatisticalRequest) ProtoMessage

func (*AnchorsLiveStatisticalRequest) ProtoMessage()

func (*AnchorsLiveStatisticalRequest) ProtoReflect

func (*AnchorsLiveStatisticalRequest) Reset

func (x *AnchorsLiveStatisticalRequest) Reset()

func (*AnchorsLiveStatisticalRequest) String

func (*AnchorsLiveStatisticalRequest) Validate

func (m *AnchorsLiveStatisticalRequest) Validate() error

Validate checks the field values on AnchorsLiveStatisticalRequest 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 (*AnchorsLiveStatisticalRequest) ValidateAll

func (m *AnchorsLiveStatisticalRequest) ValidateAll() error

ValidateAll checks the field values on AnchorsLiveStatisticalRequest 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 AnchorsLiveStatisticalRequestMultiError, or nil if none found.

type AnchorsLiveStatisticalRequestMultiError

type AnchorsLiveStatisticalRequestMultiError []error

AnchorsLiveStatisticalRequestMultiError is an error wrapping multiple validation errors returned by AnchorsLiveStatisticalRequest.ValidateAll() if the designated constraints aren't met.

func (AnchorsLiveStatisticalRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AnchorsLiveStatisticalRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AnchorsLiveStatisticalRequestValidationError

type AnchorsLiveStatisticalRequestValidationError struct {
	// contains filtered or unexported fields
}

AnchorsLiveStatisticalRequestValidationError is the validation error returned by AnchorsLiveStatisticalRequest.Validate if the designated constraints aren't met.

func (AnchorsLiveStatisticalRequestValidationError) Cause

Cause function returns cause value.

func (AnchorsLiveStatisticalRequestValidationError) Error

Error satisfies the builtin error interface

func (AnchorsLiveStatisticalRequestValidationError) ErrorName

ErrorName returns error name.

func (AnchorsLiveStatisticalRequestValidationError) Field

Field function returns field value.

func (AnchorsLiveStatisticalRequestValidationError) Key

Key function returns key value.

func (AnchorsLiveStatisticalRequestValidationError) Reason

Reason function returns reason value.

type AnchorsLiveStatisticalResponse

type AnchorsLiveStatisticalResponse struct {
	AnchorLives map[int64]*AnchorsLiveStatisticalResponse_ValidLive `` /* 173-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AnchorsLiveStatisticalResponse) Descriptor deprecated

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

Deprecated: Use AnchorsLiveStatisticalResponse.ProtoReflect.Descriptor instead.

func (*AnchorsLiveStatisticalResponse) GetAnchorLives

func (*AnchorsLiveStatisticalResponse) ProtoMessage

func (*AnchorsLiveStatisticalResponse) ProtoMessage()

func (*AnchorsLiveStatisticalResponse) ProtoReflect

func (*AnchorsLiveStatisticalResponse) Reset

func (x *AnchorsLiveStatisticalResponse) Reset()

func (*AnchorsLiveStatisticalResponse) String

func (*AnchorsLiveStatisticalResponse) Validate

func (m *AnchorsLiveStatisticalResponse) Validate() error

Validate checks the field values on AnchorsLiveStatisticalResponse 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 (*AnchorsLiveStatisticalResponse) ValidateAll

func (m *AnchorsLiveStatisticalResponse) ValidateAll() error

ValidateAll checks the field values on AnchorsLiveStatisticalResponse 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 AnchorsLiveStatisticalResponseMultiError, or nil if none found.

type AnchorsLiveStatisticalResponseMultiError

type AnchorsLiveStatisticalResponseMultiError []error

AnchorsLiveStatisticalResponseMultiError is an error wrapping multiple validation errors returned by AnchorsLiveStatisticalResponse.ValidateAll() if the designated constraints aren't met.

func (AnchorsLiveStatisticalResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AnchorsLiveStatisticalResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AnchorsLiveStatisticalResponseValidationError

type AnchorsLiveStatisticalResponseValidationError struct {
	// contains filtered or unexported fields
}

AnchorsLiveStatisticalResponseValidationError is the validation error returned by AnchorsLiveStatisticalResponse.Validate if the designated constraints aren't met.

func (AnchorsLiveStatisticalResponseValidationError) Cause

Cause function returns cause value.

func (AnchorsLiveStatisticalResponseValidationError) Error

Error satisfies the builtin error interface

func (AnchorsLiveStatisticalResponseValidationError) ErrorName

ErrorName returns error name.

func (AnchorsLiveStatisticalResponseValidationError) Field

Field function returns field value.

func (AnchorsLiveStatisticalResponseValidationError) Key

Key function returns key value.

func (AnchorsLiveStatisticalResponseValidationError) Reason

Reason function returns reason value.

type AnchorsLiveStatisticalResponse_ValidLive

type AnchorsLiveStatisticalResponse_ValidLive struct {
	AnchorId   int64  `protobuf:"varint,1,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id"`
	LivingTime uint32 `protobuf:"varint,2,opt,name=living_time,json=livingTime,proto3" json:"living_time"`
	ValidDay   uint32 `protobuf:"varint,3,opt,name=valid_day,json=validDay,proto3" json:"valid_day"`
	// contains filtered or unexported fields
}

func (*AnchorsLiveStatisticalResponse_ValidLive) Descriptor deprecated

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

Deprecated: Use AnchorsLiveStatisticalResponse_ValidLive.ProtoReflect.Descriptor instead.

func (*AnchorsLiveStatisticalResponse_ValidLive) GetAnchorId

func (*AnchorsLiveStatisticalResponse_ValidLive) GetLivingTime

func (*AnchorsLiveStatisticalResponse_ValidLive) GetValidDay

func (*AnchorsLiveStatisticalResponse_ValidLive) ProtoMessage

func (*AnchorsLiveStatisticalResponse_ValidLive) ProtoReflect

func (*AnchorsLiveStatisticalResponse_ValidLive) Reset

func (*AnchorsLiveStatisticalResponse_ValidLive) String

func (*AnchorsLiveStatisticalResponse_ValidLive) Validate

Validate checks the field values on AnchorsLiveStatisticalResponse_ValidLive 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 (*AnchorsLiveStatisticalResponse_ValidLive) ValidateAll

ValidateAll checks the field values on AnchorsLiveStatisticalResponse_ValidLive 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 AnchorsLiveStatisticalResponse_ValidLiveMultiError, or nil if none found.

type AnchorsLiveStatisticalResponse_ValidLiveMultiError

type AnchorsLiveStatisticalResponse_ValidLiveMultiError []error

AnchorsLiveStatisticalResponse_ValidLiveMultiError is an error wrapping multiple validation errors returned by AnchorsLiveStatisticalResponse_ValidLive.ValidateAll() if the designated constraints aren't met.

func (AnchorsLiveStatisticalResponse_ValidLiveMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (AnchorsLiveStatisticalResponse_ValidLiveMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AnchorsLiveStatisticalResponse_ValidLiveValidationError

type AnchorsLiveStatisticalResponse_ValidLiveValidationError struct {
	// contains filtered or unexported fields
}

AnchorsLiveStatisticalResponse_ValidLiveValidationError is the validation error returned by AnchorsLiveStatisticalResponse_ValidLive.Validate if the designated constraints aren't met.

func (AnchorsLiveStatisticalResponse_ValidLiveValidationError) Cause

Cause function returns cause value.

func (AnchorsLiveStatisticalResponse_ValidLiveValidationError) Error

Error satisfies the builtin error interface

func (AnchorsLiveStatisticalResponse_ValidLiveValidationError) ErrorName

ErrorName returns error name.

func (AnchorsLiveStatisticalResponse_ValidLiveValidationError) Field

Field function returns field value.

func (AnchorsLiveStatisticalResponse_ValidLiveValidationError) Key

Key function returns key value.

func (AnchorsLiveStatisticalResponse_ValidLiveValidationError) Reason

Reason function returns reason value.

type CloseLiveRequest

type CloseLiveRequest struct {
	LiveId uint64 `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id"`
	// contains filtered or unexported fields
}

关闭直播

func (*CloseLiveRequest) Descriptor deprecated

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

Deprecated: Use CloseLiveRequest.ProtoReflect.Descriptor instead.

func (*CloseLiveRequest) GetLiveId

func (x *CloseLiveRequest) GetLiveId() uint64

func (*CloseLiveRequest) ProtoMessage

func (*CloseLiveRequest) ProtoMessage()

func (*CloseLiveRequest) ProtoReflect

func (x *CloseLiveRequest) ProtoReflect() protoreflect.Message

func (*CloseLiveRequest) Reset

func (x *CloseLiveRequest) Reset()

func (*CloseLiveRequest) String

func (x *CloseLiveRequest) String() string

func (*CloseLiveRequest) Validate

func (m *CloseLiveRequest) Validate() error

Validate checks the field values on CloseLiveRequest 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 (*CloseLiveRequest) ValidateAll

func (m *CloseLiveRequest) ValidateAll() error

ValidateAll checks the field values on CloseLiveRequest 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 CloseLiveRequestMultiError, or nil if none found.

type CloseLiveRequestMultiError

type CloseLiveRequestMultiError []error

CloseLiveRequestMultiError is an error wrapping multiple validation errors returned by CloseLiveRequest.ValidateAll() if the designated constraints aren't met.

func (CloseLiveRequestMultiError) AllErrors

func (m CloseLiveRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CloseLiveRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CloseLiveRequestValidationError

type CloseLiveRequestValidationError struct {
	// contains filtered or unexported fields
}

CloseLiveRequestValidationError is the validation error returned by CloseLiveRequest.Validate if the designated constraints aren't met.

func (CloseLiveRequestValidationError) Cause

Cause function returns cause value.

func (CloseLiveRequestValidationError) Error

Error satisfies the builtin error interface

func (CloseLiveRequestValidationError) ErrorName

ErrorName returns error name.

func (CloseLiveRequestValidationError) Field

Field function returns field value.

func (CloseLiveRequestValidationError) Key

Key function returns key value.

func (CloseLiveRequestValidationError) Reason

Reason function returns reason value.

type CloseLiveResponse

type CloseLiveResponse struct {
	// contains filtered or unexported fields
}

func (*CloseLiveResponse) Descriptor deprecated

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

Deprecated: Use CloseLiveResponse.ProtoReflect.Descriptor instead.

func (*CloseLiveResponse) ProtoMessage

func (*CloseLiveResponse) ProtoMessage()

func (*CloseLiveResponse) ProtoReflect

func (x *CloseLiveResponse) ProtoReflect() protoreflect.Message

func (*CloseLiveResponse) Reset

func (x *CloseLiveResponse) Reset()

func (*CloseLiveResponse) String

func (x *CloseLiveResponse) String() string

func (*CloseLiveResponse) Validate

func (m *CloseLiveResponse) Validate() error

Validate checks the field values on CloseLiveResponse 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 (*CloseLiveResponse) ValidateAll

func (m *CloseLiveResponse) ValidateAll() error

ValidateAll checks the field values on CloseLiveResponse 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 CloseLiveResponseMultiError, or nil if none found.

type CloseLiveResponseMultiError

type CloseLiveResponseMultiError []error

CloseLiveResponseMultiError is an error wrapping multiple validation errors returned by CloseLiveResponse.ValidateAll() if the designated constraints aren't met.

func (CloseLiveResponseMultiError) AllErrors

func (m CloseLiveResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CloseLiveResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CloseLiveResponseValidationError

type CloseLiveResponseValidationError struct {
	// contains filtered or unexported fields
}

CloseLiveResponseValidationError is the validation error returned by CloseLiveResponse.Validate if the designated constraints aren't met.

func (CloseLiveResponseValidationError) Cause

Cause function returns cause value.

func (CloseLiveResponseValidationError) Error

Error satisfies the builtin error interface

func (CloseLiveResponseValidationError) ErrorName

ErrorName returns error name.

func (CloseLiveResponseValidationError) Field

Field function returns field value.

func (CloseLiveResponseValidationError) Key

Key function returns key value.

func (CloseLiveResponseValidationError) Reason

Reason function returns reason value.

type SeeLiveAudienceDataResponse

type SeeLiveAudienceDataResponse struct {
	// contains filtered or unexported fields
}

func (*SeeLiveAudienceDataResponse) Descriptor deprecated

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

Deprecated: Use SeeLiveAudienceDataResponse.ProtoReflect.Descriptor instead.

func (*SeeLiveAudienceDataResponse) ProtoMessage

func (*SeeLiveAudienceDataResponse) ProtoMessage()

func (*SeeLiveAudienceDataResponse) ProtoReflect

func (*SeeLiveAudienceDataResponse) Reset

func (x *SeeLiveAudienceDataResponse) Reset()

func (*SeeLiveAudienceDataResponse) String

func (x *SeeLiveAudienceDataResponse) String() string

func (*SeeLiveAudienceDataResponse) Validate

func (m *SeeLiveAudienceDataResponse) Validate() error

Validate checks the field values on SeeLiveAudienceDataResponse 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 (*SeeLiveAudienceDataResponse) ValidateAll

func (m *SeeLiveAudienceDataResponse) ValidateAll() error

ValidateAll checks the field values on SeeLiveAudienceDataResponse 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 SeeLiveAudienceDataResponseMultiError, or nil if none found.

type SeeLiveAudienceDataResponseMultiError

type SeeLiveAudienceDataResponseMultiError []error

SeeLiveAudienceDataResponseMultiError is an error wrapping multiple validation errors returned by SeeLiveAudienceDataResponse.ValidateAll() if the designated constraints aren't met.

func (SeeLiveAudienceDataResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SeeLiveAudienceDataResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SeeLiveAudienceDataResponseValidationError

type SeeLiveAudienceDataResponseValidationError struct {
	// contains filtered or unexported fields
}

SeeLiveAudienceDataResponseValidationError is the validation error returned by SeeLiveAudienceDataResponse.Validate if the designated constraints aren't met.

func (SeeLiveAudienceDataResponseValidationError) Cause

Cause function returns cause value.

func (SeeLiveAudienceDataResponseValidationError) Error

Error satisfies the builtin error interface

func (SeeLiveAudienceDataResponseValidationError) ErrorName

ErrorName returns error name.

func (SeeLiveAudienceDataResponseValidationError) Field

Field function returns field value.

func (SeeLiveAudienceDataResponseValidationError) Key

Key function returns key value.

func (SeeLiveAudienceDataResponseValidationError) Reason

Reason function returns reason value.

type SeeLiveAudienceRequest

type SeeLiveAudienceRequest struct {
	AudienceId int64  `protobuf:"varint,1,opt,name=audience_id,json=audienceId,proto3" json:"audience_id"`
	Version    string `protobuf:"bytes,2,opt,name=version,proto3" json:"version"`
	Ymd        string `protobuf:"bytes,3,opt,name=ymd,proto3" json:"ymd"`
	Os         string `protobuf:"bytes,4,opt,name=os,proto3" json:"os"`
	// contains filtered or unexported fields
}

func (*SeeLiveAudienceRequest) Descriptor deprecated

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

Deprecated: Use SeeLiveAudienceRequest.ProtoReflect.Descriptor instead.

func (*SeeLiveAudienceRequest) GetAudienceId

func (x *SeeLiveAudienceRequest) GetAudienceId() int64

func (*SeeLiveAudienceRequest) GetOs

func (x *SeeLiveAudienceRequest) GetOs() string

func (*SeeLiveAudienceRequest) GetVersion

func (x *SeeLiveAudienceRequest) GetVersion() string

func (*SeeLiveAudienceRequest) GetYmd

func (x *SeeLiveAudienceRequest) GetYmd() string

func (*SeeLiveAudienceRequest) ProtoMessage

func (*SeeLiveAudienceRequest) ProtoMessage()

func (*SeeLiveAudienceRequest) ProtoReflect

func (x *SeeLiveAudienceRequest) ProtoReflect() protoreflect.Message

func (*SeeLiveAudienceRequest) Reset

func (x *SeeLiveAudienceRequest) Reset()

func (*SeeLiveAudienceRequest) String

func (x *SeeLiveAudienceRequest) String() string

func (*SeeLiveAudienceRequest) Validate

func (m *SeeLiveAudienceRequest) Validate() error

Validate checks the field values on SeeLiveAudienceRequest 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 (*SeeLiveAudienceRequest) ValidateAll

func (m *SeeLiveAudienceRequest) ValidateAll() error

ValidateAll checks the field values on SeeLiveAudienceRequest 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 SeeLiveAudienceRequestMultiError, or nil if none found.

type SeeLiveAudienceRequestMultiError

type SeeLiveAudienceRequestMultiError []error

SeeLiveAudienceRequestMultiError is an error wrapping multiple validation errors returned by SeeLiveAudienceRequest.ValidateAll() if the designated constraints aren't met.

func (SeeLiveAudienceRequestMultiError) AllErrors

func (m SeeLiveAudienceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SeeLiveAudienceRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SeeLiveAudienceRequestValidationError

type SeeLiveAudienceRequestValidationError struct {
	// contains filtered or unexported fields
}

SeeLiveAudienceRequestValidationError is the validation error returned by SeeLiveAudienceRequest.Validate if the designated constraints aren't met.

func (SeeLiveAudienceRequestValidationError) Cause

Cause function returns cause value.

func (SeeLiveAudienceRequestValidationError) Error

Error satisfies the builtin error interface

func (SeeLiveAudienceRequestValidationError) ErrorName

ErrorName returns error name.

func (SeeLiveAudienceRequestValidationError) Field

Field function returns field value.

func (SeeLiveAudienceRequestValidationError) Key

Key function returns key value.

func (SeeLiveAudienceRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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