third_live

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_live_third_live_third_proto protoreflect.FileDescriptor

Functions

func NewLiveThirdEndpoints

func NewLiveThirdEndpoints() []*api.Endpoint

func RegisterLiveThirdHandler

func RegisterLiveThirdHandler(s server.Server, hdlr LiveThirdHandler, opts ...server.HandlerOption) error

Types

type LiveThirdHandler

type LiveThirdHandler interface {
	// 三方直播分类
	LiveThirdTypeList(context.Context, *LiveThirdTypeListRequest, *LiveThirdTypeListResponse) error
	// 修改三方直播分类
	LiveThirdTypeStatus(context.Context, *LiveThirdTypeStatusRequest, *wrapperspb.BoolValue) error
	// 修改三方直播分类
	LiveThirdStreamDisable(context.Context, *LiveThirdStreamDisableRequest, *wrapperspb.BoolValue) error
}

type LiveThirdService

type LiveThirdService interface {
	// 三方直播分类
	LiveThirdTypeList(ctx context.Context, in *LiveThirdTypeListRequest, opts ...client.CallOption) (*LiveThirdTypeListResponse, error)
	// 修改三方直播分类
	LiveThirdTypeStatus(ctx context.Context, in *LiveThirdTypeStatusRequest, opts ...client.CallOption) (*wrapperspb.BoolValue, error)
	// 修改三方直播分类
	LiveThirdStreamDisable(ctx context.Context, in *LiveThirdStreamDisableRequest, opts ...client.CallOption) (*wrapperspb.BoolValue, error)
}

func NewLiveThirdService

func NewLiveThirdService(name string, c client.Client) LiveThirdService

type LiveThirdStreamDisableRequest

type LiveThirdStreamDisableRequest struct {
	DisableItems []*LiveThirdStreamDisableRequest_Item `protobuf:"bytes,1,rep,name=disable_items,json=disableItems,proto3" json:"disable_items"`
	// contains filtered or unexported fields
}

func (*LiveThirdStreamDisableRequest) Descriptor deprecated

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

Deprecated: Use LiveThirdStreamDisableRequest.ProtoReflect.Descriptor instead.

func (*LiveThirdStreamDisableRequest) GetDisableItems

func (*LiveThirdStreamDisableRequest) ProtoMessage

func (*LiveThirdStreamDisableRequest) ProtoMessage()

func (*LiveThirdStreamDisableRequest) ProtoReflect

func (*LiveThirdStreamDisableRequest) Reset

func (x *LiveThirdStreamDisableRequest) Reset()

func (*LiveThirdStreamDisableRequest) String

func (*LiveThirdStreamDisableRequest) Validate

func (m *LiveThirdStreamDisableRequest) Validate() error

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

func (m *LiveThirdStreamDisableRequest) ValidateAll() error

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

type LiveThirdStreamDisableRequestMultiError

type LiveThirdStreamDisableRequestMultiError []error

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

func (LiveThirdStreamDisableRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveThirdStreamDisableRequestMultiError) Error

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

type LiveThirdStreamDisableRequestValidationError

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

LiveThirdStreamDisableRequestValidationError is the validation error returned by LiveThirdStreamDisableRequest.Validate if the designated constraints aren't met.

func (LiveThirdStreamDisableRequestValidationError) Cause

Cause function returns cause value.

func (LiveThirdStreamDisableRequestValidationError) Error

Error satisfies the builtin error interface

func (LiveThirdStreamDisableRequestValidationError) ErrorName

ErrorName returns error name.

func (LiveThirdStreamDisableRequestValidationError) Field

Field function returns field value.

func (LiveThirdStreamDisableRequestValidationError) Key

Key function returns key value.

func (LiveThirdStreamDisableRequestValidationError) Reason

Reason function returns reason value.

type LiveThirdStreamDisableRequest_Item

type LiveThirdStreamDisableRequest_Item struct {
	Type     int32  `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
	AnchorId int64  `protobuf:"varint,2,opt,name=AnchorId,proto3" json:"AnchorId"`
	LiveId   uint64 `protobuf:"varint,3,opt,name=LiveId,proto3" json:"LiveId"`
	// contains filtered or unexported fields
}

func (*LiveThirdStreamDisableRequest_Item) Descriptor deprecated

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

Deprecated: Use LiveThirdStreamDisableRequest_Item.ProtoReflect.Descriptor instead.

func (*LiveThirdStreamDisableRequest_Item) GetAnchorId

func (x *LiveThirdStreamDisableRequest_Item) GetAnchorId() int64

func (*LiveThirdStreamDisableRequest_Item) GetLiveId

func (*LiveThirdStreamDisableRequest_Item) GetType

func (*LiveThirdStreamDisableRequest_Item) ProtoMessage

func (*LiveThirdStreamDisableRequest_Item) ProtoMessage()

func (*LiveThirdStreamDisableRequest_Item) ProtoReflect

func (*LiveThirdStreamDisableRequest_Item) Reset

func (*LiveThirdStreamDisableRequest_Item) String

func (*LiveThirdStreamDisableRequest_Item) Validate

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

func (m *LiveThirdStreamDisableRequest_Item) ValidateAll() error

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

type LiveThirdStreamDisableRequest_ItemMultiError

type LiveThirdStreamDisableRequest_ItemMultiError []error

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

func (LiveThirdStreamDisableRequest_ItemMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveThirdStreamDisableRequest_ItemMultiError) Error

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

type LiveThirdStreamDisableRequest_ItemValidationError

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

LiveThirdStreamDisableRequest_ItemValidationError is the validation error returned by LiveThirdStreamDisableRequest_Item.Validate if the designated constraints aren't met.

func (LiveThirdStreamDisableRequest_ItemValidationError) Cause

Cause function returns cause value.

func (LiveThirdStreamDisableRequest_ItemValidationError) Error

Error satisfies the builtin error interface

func (LiveThirdStreamDisableRequest_ItemValidationError) ErrorName

ErrorName returns error name.

func (LiveThirdStreamDisableRequest_ItemValidationError) Field

Field function returns field value.

func (LiveThirdStreamDisableRequest_ItemValidationError) Key

Key function returns key value.

func (LiveThirdStreamDisableRequest_ItemValidationError) Reason

Reason function returns reason value.

type LiveThirdTypeItem

type LiveThirdTypeItem struct {
	Type     int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
	Status   int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status"`                     // 0 正常 1 禁用
	Tag      int32 `protobuf:"varint,3,opt,name=tag,proto3" json:"tag"`                           // 1 source 2 channel
	DataType int32 `protobuf:"varint,4,opt,name=data_type,json=dataType,proto3" json:"data_type"` // json+msg
	// contains filtered or unexported fields
}

func (*LiveThirdTypeItem) Descriptor deprecated

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

Deprecated: Use LiveThirdTypeItem.ProtoReflect.Descriptor instead.

func (*LiveThirdTypeItem) GetDataType

func (x *LiveThirdTypeItem) GetDataType() int32

func (*LiveThirdTypeItem) GetStatus

func (x *LiveThirdTypeItem) GetStatus() int32

func (*LiveThirdTypeItem) GetTag

func (x *LiveThirdTypeItem) GetTag() int32

func (*LiveThirdTypeItem) GetType

func (x *LiveThirdTypeItem) GetType() int32

func (*LiveThirdTypeItem) ProtoMessage

func (*LiveThirdTypeItem) ProtoMessage()

func (*LiveThirdTypeItem) ProtoReflect

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

func (*LiveThirdTypeItem) Reset

func (x *LiveThirdTypeItem) Reset()

func (*LiveThirdTypeItem) String

func (x *LiveThirdTypeItem) String() string

func (*LiveThirdTypeItem) Validate

func (m *LiveThirdTypeItem) Validate() error

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

func (m *LiveThirdTypeItem) ValidateAll() error

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

type LiveThirdTypeItemMultiError

type LiveThirdTypeItemMultiError []error

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

func (LiveThirdTypeItemMultiError) AllErrors

func (m LiveThirdTypeItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LiveThirdTypeItemMultiError) Error

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

type LiveThirdTypeItemValidationError

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

LiveThirdTypeItemValidationError is the validation error returned by LiveThirdTypeItem.Validate if the designated constraints aren't met.

func (LiveThirdTypeItemValidationError) Cause

Cause function returns cause value.

func (LiveThirdTypeItemValidationError) Error

Error satisfies the builtin error interface

func (LiveThirdTypeItemValidationError) ErrorName

ErrorName returns error name.

func (LiveThirdTypeItemValidationError) Field

Field function returns field value.

func (LiveThirdTypeItemValidationError) Key

Key function returns key value.

func (LiveThirdTypeItemValidationError) Reason

Reason function returns reason value.

type LiveThirdTypeListRequest

type LiveThirdTypeListRequest struct {
	Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
	// contains filtered or unexported fields
}

func (*LiveThirdTypeListRequest) Descriptor deprecated

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

Deprecated: Use LiveThirdTypeListRequest.ProtoReflect.Descriptor instead.

func (*LiveThirdTypeListRequest) GetType

func (x *LiveThirdTypeListRequest) GetType() int32

func (*LiveThirdTypeListRequest) ProtoMessage

func (*LiveThirdTypeListRequest) ProtoMessage()

func (*LiveThirdTypeListRequest) ProtoReflect

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

func (*LiveThirdTypeListRequest) Reset

func (x *LiveThirdTypeListRequest) Reset()

func (*LiveThirdTypeListRequest) String

func (x *LiveThirdTypeListRequest) String() string

func (*LiveThirdTypeListRequest) Validate

func (m *LiveThirdTypeListRequest) Validate() error

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

func (m *LiveThirdTypeListRequest) ValidateAll() error

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

type LiveThirdTypeListRequestMultiError

type LiveThirdTypeListRequestMultiError []error

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

func (LiveThirdTypeListRequestMultiError) AllErrors

func (m LiveThirdTypeListRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LiveThirdTypeListRequestMultiError) Error

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

type LiveThirdTypeListRequestValidationError

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

LiveThirdTypeListRequestValidationError is the validation error returned by LiveThirdTypeListRequest.Validate if the designated constraints aren't met.

func (LiveThirdTypeListRequestValidationError) Cause

Cause function returns cause value.

func (LiveThirdTypeListRequestValidationError) Error

Error satisfies the builtin error interface

func (LiveThirdTypeListRequestValidationError) ErrorName

ErrorName returns error name.

func (LiveThirdTypeListRequestValidationError) Field

Field function returns field value.

func (LiveThirdTypeListRequestValidationError) Key

Key function returns key value.

func (LiveThirdTypeListRequestValidationError) Reason

Reason function returns reason value.

type LiveThirdTypeListResponse

type LiveThirdTypeListResponse struct {
	List []*LiveThirdTypeItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
	// contains filtered or unexported fields
}

func (*LiveThirdTypeListResponse) Descriptor deprecated

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

Deprecated: Use LiveThirdTypeListResponse.ProtoReflect.Descriptor instead.

func (*LiveThirdTypeListResponse) GetList

func (*LiveThirdTypeListResponse) ProtoMessage

func (*LiveThirdTypeListResponse) ProtoMessage()

func (*LiveThirdTypeListResponse) ProtoReflect

func (*LiveThirdTypeListResponse) Reset

func (x *LiveThirdTypeListResponse) Reset()

func (*LiveThirdTypeListResponse) String

func (x *LiveThirdTypeListResponse) String() string

func (*LiveThirdTypeListResponse) Validate

func (m *LiveThirdTypeListResponse) Validate() error

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

func (m *LiveThirdTypeListResponse) ValidateAll() error

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

type LiveThirdTypeListResponseMultiError

type LiveThirdTypeListResponseMultiError []error

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

func (LiveThirdTypeListResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveThirdTypeListResponseMultiError) Error

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

type LiveThirdTypeListResponseValidationError

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

LiveThirdTypeListResponseValidationError is the validation error returned by LiveThirdTypeListResponse.Validate if the designated constraints aren't met.

func (LiveThirdTypeListResponseValidationError) Cause

Cause function returns cause value.

func (LiveThirdTypeListResponseValidationError) Error

Error satisfies the builtin error interface

func (LiveThirdTypeListResponseValidationError) ErrorName

ErrorName returns error name.

func (LiveThirdTypeListResponseValidationError) Field

Field function returns field value.

func (LiveThirdTypeListResponseValidationError) Key

Key function returns key value.

func (LiveThirdTypeListResponseValidationError) Reason

Reason function returns reason value.

type LiveThirdTypeStatusRequest

type LiveThirdTypeStatusRequest struct {
	Type   int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
	Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status"`
	// contains filtered or unexported fields
}

func (*LiveThirdTypeStatusRequest) Descriptor deprecated

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

Deprecated: Use LiveThirdTypeStatusRequest.ProtoReflect.Descriptor instead.

func (*LiveThirdTypeStatusRequest) GetStatus

func (x *LiveThirdTypeStatusRequest) GetStatus() int32

func (*LiveThirdTypeStatusRequest) GetType

func (x *LiveThirdTypeStatusRequest) GetType() int32

func (*LiveThirdTypeStatusRequest) ProtoMessage

func (*LiveThirdTypeStatusRequest) ProtoMessage()

func (*LiveThirdTypeStatusRequest) ProtoReflect

func (*LiveThirdTypeStatusRequest) Reset

func (x *LiveThirdTypeStatusRequest) Reset()

func (*LiveThirdTypeStatusRequest) String

func (x *LiveThirdTypeStatusRequest) String() string

func (*LiveThirdTypeStatusRequest) Validate

func (m *LiveThirdTypeStatusRequest) Validate() error

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

func (m *LiveThirdTypeStatusRequest) ValidateAll() error

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

type LiveThirdTypeStatusRequestMultiError

type LiveThirdTypeStatusRequestMultiError []error

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

func (LiveThirdTypeStatusRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (LiveThirdTypeStatusRequestMultiError) Error

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

type LiveThirdTypeStatusRequestValidationError

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

LiveThirdTypeStatusRequestValidationError is the validation error returned by LiveThirdTypeStatusRequest.Validate if the designated constraints aren't met.

func (LiveThirdTypeStatusRequestValidationError) Cause

Cause function returns cause value.

func (LiveThirdTypeStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (LiveThirdTypeStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (LiveThirdTypeStatusRequestValidationError) Field

Field function returns field value.

func (LiveThirdTypeStatusRequestValidationError) Key

Key function returns key value.

func (LiveThirdTypeStatusRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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