Documentation ¶
Index ¶
- Constants
- Variables
- func NewLiveShareSrvEndpoints() []*api.Endpoint
- func RegisterLiveShareSrvHandler(s server.Server, hdlr LiveShareSrvHandler, opts ...server.HandlerOption) error
- type AddLiveShareRequest
- func (*AddLiveShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddLiveShareRequest) GetLiveShare() *LiveShare
- func (*AddLiveShareRequest) ProtoMessage()
- func (x *AddLiveShareRequest) ProtoReflect() protoreflect.Message
- func (x *AddLiveShareRequest) Reset()
- func (x *AddLiveShareRequest) String() string
- func (m *AddLiveShareRequest) Validate() error
- func (m *AddLiveShareRequest) ValidateAll() error
- type AddLiveShareRequestMultiError
- type AddLiveShareRequestValidationError
- func (e AddLiveShareRequestValidationError) Cause() error
- func (e AddLiveShareRequestValidationError) Error() string
- func (e AddLiveShareRequestValidationError) ErrorName() string
- func (e AddLiveShareRequestValidationError) Field() string
- func (e AddLiveShareRequestValidationError) Key() bool
- func (e AddLiveShareRequestValidationError) Reason() string
- type AddLiveShareResponse
- func (*AddLiveShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddLiveShareResponse) GetLiveShare() *LiveShare
- func (*AddLiveShareResponse) ProtoMessage()
- func (x *AddLiveShareResponse) ProtoReflect() protoreflect.Message
- func (x *AddLiveShareResponse) Reset()
- func (x *AddLiveShareResponse) String() string
- func (m *AddLiveShareResponse) Validate() error
- func (m *AddLiveShareResponse) ValidateAll() error
- type AddLiveShareResponseMultiError
- type AddLiveShareResponseValidationError
- func (e AddLiveShareResponseValidationError) Cause() error
- func (e AddLiveShareResponseValidationError) Error() string
- func (e AddLiveShareResponseValidationError) ErrorName() string
- func (e AddLiveShareResponseValidationError) Field() string
- func (e AddLiveShareResponseValidationError) Key() bool
- func (e AddLiveShareResponseValidationError) Reason() string
- type EventShare
- func (*EventShare) Descriptor() ([]byte, []int)deprecated
- func (x *EventShare) GetLiveShare() *LiveShare
- func (*EventShare) ProtoMessage()
- func (x *EventShare) ProtoReflect() protoreflect.Message
- func (x *EventShare) Reset()
- func (x *EventShare) String() string
- func (m *EventShare) Validate() error
- func (m *EventShare) ValidateAll() error
- type EventShareMultiError
- type EventShareValidationError
- type LiveShare
- func (*LiveShare) Descriptor() ([]byte, []int)deprecated
- func (x *LiveShare) GetAnchorId() int64
- func (x *LiveShare) GetAudienceId() int64
- func (x *LiveShare) GetContent() string
- func (x *LiveShare) GetCreatedAt() string
- func (x *LiveShare) GetLiveId() uint64
- func (x *LiveShare) GetPlatform() string
- func (*LiveShare) ProtoMessage()
- func (x *LiveShare) ProtoReflect() protoreflect.Message
- func (x *LiveShare) Reset()
- func (x *LiveShare) String() string
- func (m *LiveShare) Validate() error
- func (m *LiveShare) ValidateAll() error
- type LiveShareMultiError
- type LiveShareSrvHandler
- type LiveShareSrvService
- type LiveShareValidationError
Constants ¶
const (
)Variables ¶
Functions ¶
func RegisterLiveShareSrvHandler ¶
func RegisterLiveShareSrvHandler(s server.Server, hdlr LiveShareSrvHandler, opts ...server.HandlerOption) error
Types ¶
type AddLiveShareRequest ¶
type AddLiveShareRequest struct { // contains filtered or unexported fields }
func (*AddLiveShareRequest) Descriptor
deprecated
func (*AddLiveShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddLiveShareRequest.ProtoReflect.Descriptor instead.
func (*AddLiveShareRequest) GetLiveShare ¶
func (x *AddLiveShareRequest) GetLiveShare() *LiveShare
func (*AddLiveShareRequest) ProtoMessage ¶
func (*AddLiveShareRequest) ProtoMessage()
func (*AddLiveShareRequest) ProtoReflect ¶
func (x *AddLiveShareRequest) ProtoReflect() protoreflect.Message
func (*AddLiveShareRequest) Reset ¶
func (x *AddLiveShareRequest) Reset()
func (*AddLiveShareRequest) String ¶
func (x *AddLiveShareRequest) String() string
func (*AddLiveShareRequest) Validate ¶
func (m *AddLiveShareRequest) Validate() error
Validate checks the field values on AddLiveShareRequest 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 (*AddLiveShareRequest) ValidateAll ¶
func (m *AddLiveShareRequest) ValidateAll() error
ValidateAll checks the field values on AddLiveShareRequest 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 AddLiveShareRequestMultiError, or nil if none found.
type AddLiveShareRequestMultiError ¶
type AddLiveShareRequestMultiError []error
AddLiveShareRequestMultiError is an error wrapping multiple validation errors returned by AddLiveShareRequest.ValidateAll() if the designated constraints aren't met.
func (AddLiveShareRequestMultiError) AllErrors ¶
func (m AddLiveShareRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddLiveShareRequestMultiError) Error ¶
func (m AddLiveShareRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddLiveShareRequestValidationError ¶
type AddLiveShareRequestValidationError struct {
// contains filtered or unexported fields
}
AddLiveShareRequestValidationError is the validation error returned by AddLiveShareRequest.Validate if the designated constraints aren't met.
func (AddLiveShareRequestValidationError) Cause ¶
func (e AddLiveShareRequestValidationError) Cause() error
Cause function returns cause value.
func (AddLiveShareRequestValidationError) Error ¶
func (e AddLiveShareRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddLiveShareRequestValidationError) ErrorName ¶
func (e AddLiveShareRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddLiveShareRequestValidationError) Field ¶
func (e AddLiveShareRequestValidationError) Field() string
Field function returns field value.
func (AddLiveShareRequestValidationError) Key ¶
func (e AddLiveShareRequestValidationError) Key() bool
Key function returns key value.
func (AddLiveShareRequestValidationError) Reason ¶
func (e AddLiveShareRequestValidationError) Reason() string
Reason function returns reason value.
type AddLiveShareResponse ¶
type AddLiveShareResponse struct { // contains filtered or unexported fields }
func (*AddLiveShareResponse) Descriptor
deprecated
func (*AddLiveShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddLiveShareResponse.ProtoReflect.Descriptor instead.
func (*AddLiveShareResponse) GetLiveShare ¶
func (x *AddLiveShareResponse) GetLiveShare() *LiveShare
func (*AddLiveShareResponse) ProtoMessage ¶
func (*AddLiveShareResponse) ProtoMessage()
func (*AddLiveShareResponse) ProtoReflect ¶
func (x *AddLiveShareResponse) ProtoReflect() protoreflect.Message
func (*AddLiveShareResponse) Reset ¶
func (x *AddLiveShareResponse) Reset()
func (*AddLiveShareResponse) String ¶
func (x *AddLiveShareResponse) String() string
func (*AddLiveShareResponse) Validate ¶
func (m *AddLiveShareResponse) Validate() error
Validate checks the field values on AddLiveShareResponse 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 (*AddLiveShareResponse) ValidateAll ¶
func (m *AddLiveShareResponse) ValidateAll() error
ValidateAll checks the field values on AddLiveShareResponse 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 AddLiveShareResponseMultiError, or nil if none found.
type AddLiveShareResponseMultiError ¶
type AddLiveShareResponseMultiError []error
AddLiveShareResponseMultiError is an error wrapping multiple validation errors returned by AddLiveShareResponse.ValidateAll() if the designated constraints aren't met.
func (AddLiveShareResponseMultiError) AllErrors ¶
func (m AddLiveShareResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddLiveShareResponseMultiError) Error ¶
func (m AddLiveShareResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddLiveShareResponseValidationError ¶
type AddLiveShareResponseValidationError struct {
// contains filtered or unexported fields
}
AddLiveShareResponseValidationError is the validation error returned by AddLiveShareResponse.Validate if the designated constraints aren't met.
func (AddLiveShareResponseValidationError) Cause ¶
func (e AddLiveShareResponseValidationError) Cause() error
Cause function returns cause value.
func (AddLiveShareResponseValidationError) Error ¶
func (e AddLiveShareResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddLiveShareResponseValidationError) ErrorName ¶
func (e AddLiveShareResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddLiveShareResponseValidationError) Field ¶
func (e AddLiveShareResponseValidationError) Field() string
Field function returns field value.
func (AddLiveShareResponseValidationError) Key ¶
func (e AddLiveShareResponseValidationError) Key() bool
Key function returns key value.
func (AddLiveShareResponseValidationError) Reason ¶
func (e AddLiveShareResponseValidationError) Reason() string
Reason function returns reason value.
type EventShare ¶
type EventShare struct { // contains filtered or unexported fields }
func (*EventShare) Descriptor
deprecated
func (*EventShare) Descriptor() ([]byte, []int)
Deprecated: Use EventShare.ProtoReflect.Descriptor instead.
func (*EventShare) GetLiveShare ¶
func (x *EventShare) GetLiveShare() *LiveShare
func (*EventShare) ProtoMessage ¶
func (*EventShare) ProtoMessage()
func (*EventShare) ProtoReflect ¶
func (x *EventShare) ProtoReflect() protoreflect.Message
func (*EventShare) Reset ¶
func (x *EventShare) Reset()
func (*EventShare) String ¶
func (x *EventShare) String() string
func (*EventShare) Validate ¶
func (m *EventShare) Validate() error
Validate checks the field values on EventShare 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 (*EventShare) ValidateAll ¶
func (m *EventShare) ValidateAll() error
ValidateAll checks the field values on EventShare 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 EventShareMultiError, or nil if none found.
type EventShareMultiError ¶
type EventShareMultiError []error
EventShareMultiError is an error wrapping multiple validation errors returned by EventShare.ValidateAll() if the designated constraints aren't met.
func (EventShareMultiError) AllErrors ¶
func (m EventShareMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventShareMultiError) Error ¶
func (m EventShareMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventShareValidationError ¶
type EventShareValidationError struct {
// contains filtered or unexported fields
}
EventShareValidationError is the validation error returned by EventShare.Validate if the designated constraints aren't met.
func (EventShareValidationError) Cause ¶
func (e EventShareValidationError) Cause() error
Cause function returns cause value.
func (EventShareValidationError) Error ¶
func (e EventShareValidationError) Error() string
Error satisfies the builtin error interface
func (EventShareValidationError) ErrorName ¶
func (e EventShareValidationError) ErrorName() string
ErrorName returns error name.
func (EventShareValidationError) Field ¶
func (e EventShareValidationError) Field() string
Field function returns field value.
func (EventShareValidationError) Key ¶
func (e EventShareValidationError) Key() bool
Key function returns key value.
func (EventShareValidationError) Reason ¶
func (e EventShareValidationError) Reason() string
Reason function returns reason value.
type LiveShare ¶
type LiveShare struct { // contains filtered or unexported fields }
func (*LiveShare) Descriptor
deprecated
func (*LiveShare) GetAnchorId ¶
func (*LiveShare) GetAudienceId ¶
func (*LiveShare) GetContent ¶
func (*LiveShare) GetCreatedAt ¶
func (*LiveShare) GetPlatform ¶
func (*LiveShare) ProtoMessage ¶
func (*LiveShare) ProtoMessage()
func (*LiveShare) ProtoReflect ¶
func (x *LiveShare) ProtoReflect() protoreflect.Message
func (*LiveShare) Validate ¶
Validate checks the field values on LiveShare 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 (*LiveShare) ValidateAll ¶
ValidateAll checks the field values on LiveShare 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 LiveShareMultiError, or nil if none found.
type LiveShareMultiError ¶
type LiveShareMultiError []error
LiveShareMultiError is an error wrapping multiple validation errors returned by LiveShare.ValidateAll() if the designated constraints aren't met.
func (LiveShareMultiError) AllErrors ¶
func (m LiveShareMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LiveShareMultiError) Error ¶
func (m LiveShareMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LiveShareSrvHandler ¶
type LiveShareSrvHandler interface { context.Context, *AddLiveShareRequest, *AddLiveShareResponse) error }AddLiveShare(
type LiveShareSrvService ¶
type LiveShareSrvService interface { context.Context, in *AddLiveShareRequest, opts ...client.CallOption) (*AddLiveShareResponse, error) }AddLiveShare(ctx
func NewLiveShareSrvService ¶
func NewLiveShareSrvService(name string, c client.Client) LiveShareSrvService
type LiveShareValidationError ¶
type LiveShareValidationError struct {
// contains filtered or unexported fields
}
LiveShareValidationError is the validation error returned by LiveShare.Validate if the designated constraints aren't met.
func (LiveShareValidationError) Cause ¶
func (e LiveShareValidationError) Cause() error
Cause function returns cause value.
func (LiveShareValidationError) Error ¶
func (e LiveShareValidationError) Error() string
Error satisfies the builtin error interface
func (LiveShareValidationError) ErrorName ¶
func (e LiveShareValidationError) ErrorName() string
ErrorName returns error name.
func (LiveShareValidationError) Field ¶
func (e LiveShareValidationError) Field() string
Field function returns field value.
func (LiveShareValidationError) Key ¶
func (e LiveShareValidationError) Key() bool
Key function returns key value.
func (LiveShareValidationError) Reason ¶
func (e LiveShareValidationError) Reason() string
Reason function returns reason value.