Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterChannelHTTPServer(s *http.Server, srv ChannelHTTPServer)
- func RegisterChannelServer(s grpc.ServiceRegistrar, srv ChannelServer)
- type ChannelClient
- type ChannelHTTPClient
- type ChannelHTTPClientImpl
- func (c *ChannelHTTPClientImpl) CreateChannel(ctx context.Context, in *CreateChannelRequest, opts ...http.CallOption) (*CreateChannelReply, error)
- func (c *ChannelHTTPClientImpl) DeleteChannel(ctx context.Context, in *DeleteChannelRequest, opts ...http.CallOption) (*DeleteChannelReply, error)
- func (c *ChannelHTTPClientImpl) ListChannel(ctx context.Context, in *ListChannelRequest, opts ...http.CallOption) (*ListChannelReply, error)
- func (c *ChannelHTTPClientImpl) ListChannelType(ctx context.Context, in *ListChannelTypeRequest, opts ...http.CallOption) (*ListChannelTypeReply, error)
- func (c *ChannelHTTPClientImpl) UpdateChannel(ctx context.Context, in *UpdateChannelRequest, opts ...http.CallOption) (*UpdateChannelReply, error)
- type ChannelHTTPServer
- type ChannelServer
- type CreateChannelReply
- func (*CreateChannelReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChannelReply) GetId() uint32
- func (*CreateChannelReply) ProtoMessage()
- func (x *CreateChannelReply) ProtoReflect() protoreflect.Message
- func (x *CreateChannelReply) Reset()
- func (x *CreateChannelReply) String() string
- func (m *CreateChannelReply) Validate() error
- func (m *CreateChannelReply) ValidateAll() error
- type CreateChannelReplyMultiError
- type CreateChannelReplyValidationError
- func (e CreateChannelReplyValidationError) Cause() error
- func (e CreateChannelReplyValidationError) Error() string
- func (e CreateChannelReplyValidationError) ErrorName() string
- func (e CreateChannelReplyValidationError) Field() string
- func (e CreateChannelReplyValidationError) Key() bool
- func (e CreateChannelReplyValidationError) Reason() string
- type CreateChannelRequest
- func (*CreateChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChannelRequest) GetAk() string
- func (x *CreateChannelRequest) GetExtra() string
- func (x *CreateChannelRequest) GetKeyword() string
- func (x *CreateChannelRequest) GetLogo() string
- func (x *CreateChannelRequest) GetName() string
- func (x *CreateChannelRequest) GetSk() string
- func (x *CreateChannelRequest) GetStatus() bool
- func (*CreateChannelRequest) ProtoMessage()
- func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChannelRequest) Reset()
- func (x *CreateChannelRequest) String() string
- func (m *CreateChannelRequest) Validate() error
- func (m *CreateChannelRequest) ValidateAll() error
- type CreateChannelRequestMultiError
- type CreateChannelRequestValidationError
- func (e CreateChannelRequestValidationError) Cause() error
- func (e CreateChannelRequestValidationError) Error() string
- func (e CreateChannelRequestValidationError) ErrorName() string
- func (e CreateChannelRequestValidationError) Field() string
- func (e CreateChannelRequestValidationError) Key() bool
- func (e CreateChannelRequestValidationError) Reason() string
- type DeleteChannelReply
- func (*DeleteChannelReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteChannelReply) ProtoMessage()
- func (x *DeleteChannelReply) ProtoReflect() protoreflect.Message
- func (x *DeleteChannelReply) Reset()
- func (x *DeleteChannelReply) String() string
- func (m *DeleteChannelReply) Validate() error
- func (m *DeleteChannelReply) ValidateAll() error
- type DeleteChannelReplyMultiError
- type DeleteChannelReplyValidationError
- func (e DeleteChannelReplyValidationError) Cause() error
- func (e DeleteChannelReplyValidationError) Error() string
- func (e DeleteChannelReplyValidationError) ErrorName() string
- func (e DeleteChannelReplyValidationError) Field() string
- func (e DeleteChannelReplyValidationError) Key() bool
- func (e DeleteChannelReplyValidationError) Reason() string
- type DeleteChannelRequest
- func (*DeleteChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChannelRequest) GetId() uint32
- func (*DeleteChannelRequest) ProtoMessage()
- func (x *DeleteChannelRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteChannelRequest) Reset()
- func (x *DeleteChannelRequest) String() string
- func (m *DeleteChannelRequest) Validate() error
- func (m *DeleteChannelRequest) ValidateAll() error
- type DeleteChannelRequestMultiError
- type DeleteChannelRequestValidationError
- func (e DeleteChannelRequestValidationError) Cause() error
- func (e DeleteChannelRequestValidationError) Error() string
- func (e DeleteChannelRequestValidationError) ErrorName() string
- func (e DeleteChannelRequestValidationError) Field() string
- func (e DeleteChannelRequestValidationError) Key() bool
- func (e DeleteChannelRequestValidationError) Reason() string
- type ListChannelReply
- func (*ListChannelReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListChannelReply) GetList() []*ListChannelReply_Channel
- func (x *ListChannelReply) GetTotal() uint32
- func (*ListChannelReply) ProtoMessage()
- func (x *ListChannelReply) ProtoReflect() protoreflect.Message
- func (x *ListChannelReply) Reset()
- func (x *ListChannelReply) String() string
- func (m *ListChannelReply) Validate() error
- func (m *ListChannelReply) ValidateAll() error
- type ListChannelReplyMultiError
- type ListChannelReplyValidationError
- func (e ListChannelReplyValidationError) Cause() error
- func (e ListChannelReplyValidationError) Error() string
- func (e ListChannelReplyValidationError) ErrorName() string
- func (e ListChannelReplyValidationError) Field() string
- func (e ListChannelReplyValidationError) Key() bool
- func (e ListChannelReplyValidationError) Reason() string
- type ListChannelReply_Channel
- func (*ListChannelReply_Channel) Descriptor() ([]byte, []int)deprecated
- func (x *ListChannelReply_Channel) GetAk() string
- func (x *ListChannelReply_Channel) GetCreatedAt() uint32
- func (x *ListChannelReply_Channel) GetExtra() string
- func (x *ListChannelReply_Channel) GetId() uint32
- func (x *ListChannelReply_Channel) GetKeyword() string
- func (x *ListChannelReply_Channel) GetLogo() string
- func (x *ListChannelReply_Channel) GetLogoUrl() string
- func (x *ListChannelReply_Channel) GetName() string
- func (x *ListChannelReply_Channel) GetSk() string
- func (x *ListChannelReply_Channel) GetStatus() bool
- func (x *ListChannelReply_Channel) GetUpdatedAt() uint32
- func (*ListChannelReply_Channel) ProtoMessage()
- func (x *ListChannelReply_Channel) ProtoReflect() protoreflect.Message
- func (x *ListChannelReply_Channel) Reset()
- func (x *ListChannelReply_Channel) String() string
- func (m *ListChannelReply_Channel) Validate() error
- func (m *ListChannelReply_Channel) ValidateAll() error
- type ListChannelReply_ChannelMultiError
- type ListChannelReply_ChannelValidationError
- func (e ListChannelReply_ChannelValidationError) Cause() error
- func (e ListChannelReply_ChannelValidationError) Error() string
- func (e ListChannelReply_ChannelValidationError) ErrorName() string
- func (e ListChannelReply_ChannelValidationError) Field() string
- func (e ListChannelReply_ChannelValidationError) Key() bool
- func (e ListChannelReply_ChannelValidationError) Reason() string
- type ListChannelRequest
- func (*ListChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChannelRequest) GetKeyword() string
- func (x *ListChannelRequest) GetName() string
- func (x *ListChannelRequest) GetOrder() string
- func (x *ListChannelRequest) GetOrderBy() string
- func (x *ListChannelRequest) GetPage() uint32
- func (x *ListChannelRequest) GetPageSize() uint32
- func (x *ListChannelRequest) GetStatus() bool
- func (*ListChannelRequest) ProtoMessage()
- func (x *ListChannelRequest) ProtoReflect() protoreflect.Message
- func (x *ListChannelRequest) Reset()
- func (x *ListChannelRequest) String() string
- func (m *ListChannelRequest) Validate() error
- func (m *ListChannelRequest) ValidateAll() error
- type ListChannelRequestMultiError
- type ListChannelRequestValidationError
- func (e ListChannelRequestValidationError) Cause() error
- func (e ListChannelRequestValidationError) Error() string
- func (e ListChannelRequestValidationError) ErrorName() string
- func (e ListChannelRequestValidationError) Field() string
- func (e ListChannelRequestValidationError) Key() bool
- func (e ListChannelRequestValidationError) Reason() string
- type ListChannelTypeReply
- func (*ListChannelTypeReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListChannelTypeReply) GetList() []*ListChannelTypeReply_Type
- func (*ListChannelTypeReply) ProtoMessage()
- func (x *ListChannelTypeReply) ProtoReflect() protoreflect.Message
- func (x *ListChannelTypeReply) Reset()
- func (x *ListChannelTypeReply) String() string
- func (m *ListChannelTypeReply) Validate() error
- func (m *ListChannelTypeReply) ValidateAll() error
- type ListChannelTypeReplyMultiError
- type ListChannelTypeReplyValidationError
- func (e ListChannelTypeReplyValidationError) Cause() error
- func (e ListChannelTypeReplyValidationError) Error() string
- func (e ListChannelTypeReplyValidationError) ErrorName() string
- func (e ListChannelTypeReplyValidationError) Field() string
- func (e ListChannelTypeReplyValidationError) Key() bool
- func (e ListChannelTypeReplyValidationError) Reason() string
- type ListChannelTypeReply_Type
- func (*ListChannelTypeReply_Type) Descriptor() ([]byte, []int)deprecated
- func (x *ListChannelTypeReply_Type) GetKeyword() string
- func (x *ListChannelTypeReply_Type) GetName() string
- func (*ListChannelTypeReply_Type) ProtoMessage()
- func (x *ListChannelTypeReply_Type) ProtoReflect() protoreflect.Message
- func (x *ListChannelTypeReply_Type) Reset()
- func (x *ListChannelTypeReply_Type) String() string
- func (m *ListChannelTypeReply_Type) Validate() error
- func (m *ListChannelTypeReply_Type) ValidateAll() error
- type ListChannelTypeReply_TypeMultiError
- type ListChannelTypeReply_TypeValidationError
- func (e ListChannelTypeReply_TypeValidationError) Cause() error
- func (e ListChannelTypeReply_TypeValidationError) Error() string
- func (e ListChannelTypeReply_TypeValidationError) ErrorName() string
- func (e ListChannelTypeReply_TypeValidationError) Field() string
- func (e ListChannelTypeReply_TypeValidationError) Key() bool
- func (e ListChannelTypeReply_TypeValidationError) Reason() string
- type ListChannelTypeRequest
- func (*ListChannelTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListChannelTypeRequest) ProtoMessage()
- func (x *ListChannelTypeRequest) ProtoReflect() protoreflect.Message
- func (x *ListChannelTypeRequest) Reset()
- func (x *ListChannelTypeRequest) String() string
- func (m *ListChannelTypeRequest) Validate() error
- func (m *ListChannelTypeRequest) ValidateAll() error
- type ListChannelTypeRequestMultiError
- type ListChannelTypeRequestValidationError
- func (e ListChannelTypeRequestValidationError) Cause() error
- func (e ListChannelTypeRequestValidationError) Error() string
- func (e ListChannelTypeRequestValidationError) ErrorName() string
- func (e ListChannelTypeRequestValidationError) Field() string
- func (e ListChannelTypeRequestValidationError) Key() bool
- func (e ListChannelTypeRequestValidationError) Reason() string
- type UnimplementedChannelServer
- func (UnimplementedChannelServer) CreateChannel(context.Context, *CreateChannelRequest) (*CreateChannelReply, error)
- func (UnimplementedChannelServer) DeleteChannel(context.Context, *DeleteChannelRequest) (*DeleteChannelReply, error)
- func (UnimplementedChannelServer) ListChannel(context.Context, *ListChannelRequest) (*ListChannelReply, error)
- func (UnimplementedChannelServer) ListChannelType(context.Context, *ListChannelTypeRequest) (*ListChannelTypeReply, error)
- func (UnimplementedChannelServer) UpdateChannel(context.Context, *UpdateChannelRequest) (*UpdateChannelReply, error)
- type UnsafeChannelServer
- type UpdateChannelReply
- func (*UpdateChannelReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateChannelReply) ProtoMessage()
- func (x *UpdateChannelReply) ProtoReflect() protoreflect.Message
- func (x *UpdateChannelReply) Reset()
- func (x *UpdateChannelReply) String() string
- func (m *UpdateChannelReply) Validate() error
- func (m *UpdateChannelReply) ValidateAll() error
- type UpdateChannelReplyMultiError
- type UpdateChannelReplyValidationError
- func (e UpdateChannelReplyValidationError) Cause() error
- func (e UpdateChannelReplyValidationError) Error() string
- func (e UpdateChannelReplyValidationError) ErrorName() string
- func (e UpdateChannelReplyValidationError) Field() string
- func (e UpdateChannelReplyValidationError) Key() bool
- func (e UpdateChannelReplyValidationError) Reason() string
- type UpdateChannelRequest
- func (*UpdateChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChannelRequest) GetAk() string
- func (x *UpdateChannelRequest) GetExtra() string
- func (x *UpdateChannelRequest) GetId() uint32
- func (x *UpdateChannelRequest) GetKeyword() string
- func (x *UpdateChannelRequest) GetLogo() string
- func (x *UpdateChannelRequest) GetName() string
- func (x *UpdateChannelRequest) GetSk() string
- func (x *UpdateChannelRequest) GetStatus() bool
- func (*UpdateChannelRequest) ProtoMessage()
- func (x *UpdateChannelRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateChannelRequest) Reset()
- func (x *UpdateChannelRequest) String() string
- func (m *UpdateChannelRequest) Validate() error
- func (m *UpdateChannelRequest) ValidateAll() error
- type UpdateChannelRequestMultiError
- type UpdateChannelRequestValidationError
- func (e UpdateChannelRequestValidationError) Cause() error
- func (e UpdateChannelRequestValidationError) Error() string
- func (e UpdateChannelRequestValidationError) ErrorName() string
- func (e UpdateChannelRequestValidationError) Field() string
- func (e UpdateChannelRequestValidationError) Key() bool
- func (e UpdateChannelRequestValidationError) Reason() string
Constants ¶
const ( Channel_ListChannelType_FullMethodName = "/application.api.application.channel.v1.Channel/ListChannelType" Channel_ListChannel_FullMethodName = "/application.api.application.channel.v1.Channel/ListChannel" Channel_CreateChannel_FullMethodName = "/application.api.application.channel.v1.Channel/CreateChannel" Channel_UpdateChannel_FullMethodName = "/application.api.application.channel.v1.Channel/UpdateChannel" Channel_DeleteChannel_FullMethodName = "/application.api.application.channel.v1.Channel/DeleteChannel" )
const OperationChannelCreateChannel = "/application.api.application.channel.v1.Channel/CreateChannel"
const OperationChannelDeleteChannel = "/application.api.application.channel.v1.Channel/DeleteChannel"
const OperationChannelListChannel = "/application.api.application.channel.v1.Channel/ListChannel"
const OperationChannelListChannelType = "/application.api.application.channel.v1.Channel/ListChannelType"
const OperationChannelUpdateChannel = "/application.api.application.channel.v1.Channel/UpdateChannel"
Variables ¶
var Channel_ServiceDesc = grpc.ServiceDesc{ ServiceName: "application.api.application.channel.v1.Channel", HandlerType: (*ChannelServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListChannelType", Handler: _Channel_ListChannelType_Handler, }, { MethodName: "ListChannel", Handler: _Channel_ListChannel_Handler, }, { MethodName: "CreateChannel", Handler: _Channel_CreateChannel_Handler, }, { MethodName: "UpdateChannel", Handler: _Channel_UpdateChannel_Handler, }, { MethodName: "DeleteChannel", Handler: _Channel_DeleteChannel_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/application/channel/application_channel_service.proto", }
Channel_ServiceDesc is the grpc.ServiceDesc for Channel service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_application_channel_application_channel_proto protoreflect.FileDescriptor
var File_api_application_channel_application_channel_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterChannelHTTPServer ¶
func RegisterChannelHTTPServer(s *http.Server, srv ChannelHTTPServer)
func RegisterChannelServer ¶
func RegisterChannelServer(s grpc.ServiceRegistrar, srv ChannelServer)
Types ¶
type ChannelClient ¶
type ChannelClient interface { // ListChannelType 获取登陆渠道可用列表 ListChannelType(ctx context.Context, in *ListChannelTypeRequest, opts ...grpc.CallOption) (*ListChannelTypeReply, error) // ListChannel 获取登陆渠道列表 ListChannel(ctx context.Context, in *ListChannelRequest, opts ...grpc.CallOption) (*ListChannelReply, error) // CreateChannel 创建登陆渠道 CreateChannel(ctx context.Context, in *CreateChannelRequest, opts ...grpc.CallOption) (*CreateChannelReply, error) // UpdateChannel 更新登陆渠道 UpdateChannel(ctx context.Context, in *UpdateChannelRequest, opts ...grpc.CallOption) (*UpdateChannelReply, error) // DeleteChannel 删除登陆渠道 DeleteChannel(ctx context.Context, in *DeleteChannelRequest, opts ...grpc.CallOption) (*DeleteChannelReply, error) }
ChannelClient is the client API for Channel service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewChannelClient ¶
func NewChannelClient(cc grpc.ClientConnInterface) ChannelClient
type ChannelHTTPClient ¶
type ChannelHTTPClient interface { CreateChannel(ctx context.Context, req *CreateChannelRequest, opts ...http.CallOption) (rsp *CreateChannelReply, err error) DeleteChannel(ctx context.Context, req *DeleteChannelRequest, opts ...http.CallOption) (rsp *DeleteChannelReply, err error) ListChannel(ctx context.Context, req *ListChannelRequest, opts ...http.CallOption) (rsp *ListChannelReply, err error) ListChannelType(ctx context.Context, req *ListChannelTypeRequest, opts ...http.CallOption) (rsp *ListChannelTypeReply, err error) UpdateChannel(ctx context.Context, req *UpdateChannelRequest, opts ...http.CallOption) (rsp *UpdateChannelReply, err error) }
func NewChannelHTTPClient ¶
func NewChannelHTTPClient(client *http.Client) ChannelHTTPClient
type ChannelHTTPClientImpl ¶
type ChannelHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ChannelHTTPClientImpl) CreateChannel ¶
func (c *ChannelHTTPClientImpl) CreateChannel(ctx context.Context, in *CreateChannelRequest, opts ...http.CallOption) (*CreateChannelReply, error)
func (*ChannelHTTPClientImpl) DeleteChannel ¶
func (c *ChannelHTTPClientImpl) DeleteChannel(ctx context.Context, in *DeleteChannelRequest, opts ...http.CallOption) (*DeleteChannelReply, error)
func (*ChannelHTTPClientImpl) ListChannel ¶
func (c *ChannelHTTPClientImpl) ListChannel(ctx context.Context, in *ListChannelRequest, opts ...http.CallOption) (*ListChannelReply, error)
func (*ChannelHTTPClientImpl) ListChannelType ¶
func (c *ChannelHTTPClientImpl) ListChannelType(ctx context.Context, in *ListChannelTypeRequest, opts ...http.CallOption) (*ListChannelTypeReply, error)
func (*ChannelHTTPClientImpl) UpdateChannel ¶
func (c *ChannelHTTPClientImpl) UpdateChannel(ctx context.Context, in *UpdateChannelRequest, opts ...http.CallOption) (*UpdateChannelReply, error)
type ChannelHTTPServer ¶
type ChannelHTTPServer interface { // CreateChannel CreateChannel 创建登陆渠道 CreateChannel(context.Context, *CreateChannelRequest) (*CreateChannelReply, error) // DeleteChannel DeleteChannel 删除登陆渠道 DeleteChannel(context.Context, *DeleteChannelRequest) (*DeleteChannelReply, error) // ListChannel ListChannel 获取登陆渠道列表 ListChannel(context.Context, *ListChannelRequest) (*ListChannelReply, error) // ListChannelType ListChannelType 获取登陆渠道可用列表 ListChannelType(context.Context, *ListChannelTypeRequest) (*ListChannelTypeReply, error) // UpdateChannel UpdateChannel 更新登陆渠道 UpdateChannel(context.Context, *UpdateChannelRequest) (*UpdateChannelReply, error) }
type ChannelServer ¶
type ChannelServer interface { // ListChannelType 获取登陆渠道可用列表 ListChannelType(context.Context, *ListChannelTypeRequest) (*ListChannelTypeReply, error) // ListChannel 获取登陆渠道列表 ListChannel(context.Context, *ListChannelRequest) (*ListChannelReply, error) // CreateChannel 创建登陆渠道 CreateChannel(context.Context, *CreateChannelRequest) (*CreateChannelReply, error) // UpdateChannel 更新登陆渠道 UpdateChannel(context.Context, *UpdateChannelRequest) (*UpdateChannelReply, error) // DeleteChannel 删除登陆渠道 DeleteChannel(context.Context, *DeleteChannelRequest) (*DeleteChannelReply, error) // contains filtered or unexported methods }
ChannelServer is the server API for Channel service. All implementations must embed UnimplementedChannelServer for forward compatibility
type CreateChannelReply ¶
type CreateChannelReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateChannelReply) Descriptor
deprecated
func (*CreateChannelReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateChannelReply.ProtoReflect.Descriptor instead.
func (*CreateChannelReply) GetId ¶
func (x *CreateChannelReply) GetId() uint32
func (*CreateChannelReply) ProtoMessage ¶
func (*CreateChannelReply) ProtoMessage()
func (*CreateChannelReply) ProtoReflect ¶
func (x *CreateChannelReply) ProtoReflect() protoreflect.Message
func (*CreateChannelReply) Reset ¶
func (x *CreateChannelReply) Reset()
func (*CreateChannelReply) String ¶
func (x *CreateChannelReply) String() string
func (*CreateChannelReply) Validate ¶
func (m *CreateChannelReply) Validate() error
Validate checks the field values on CreateChannelReply 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 (*CreateChannelReply) ValidateAll ¶
func (m *CreateChannelReply) ValidateAll() error
ValidateAll checks the field values on CreateChannelReply 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 CreateChannelReplyMultiError, or nil if none found.
type CreateChannelReplyMultiError ¶
type CreateChannelReplyMultiError []error
CreateChannelReplyMultiError is an error wrapping multiple validation errors returned by CreateChannelReply.ValidateAll() if the designated constraints aren't met.
func (CreateChannelReplyMultiError) AllErrors ¶
func (m CreateChannelReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateChannelReplyMultiError) Error ¶
func (m CreateChannelReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateChannelReplyValidationError ¶
type CreateChannelReplyValidationError struct {
// contains filtered or unexported fields
}
CreateChannelReplyValidationError is the validation error returned by CreateChannelReply.Validate if the designated constraints aren't met.
func (CreateChannelReplyValidationError) Cause ¶
func (e CreateChannelReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateChannelReplyValidationError) Error ¶
func (e CreateChannelReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateChannelReplyValidationError) ErrorName ¶
func (e CreateChannelReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateChannelReplyValidationError) Field ¶
func (e CreateChannelReplyValidationError) Field() string
Field function returns field value.
func (CreateChannelReplyValidationError) Key ¶
func (e CreateChannelReplyValidationError) Key() bool
Key function returns key value.
func (CreateChannelReplyValidationError) Reason ¶
func (e CreateChannelReplyValidationError) Reason() string
Reason function returns reason value.
type CreateChannelRequest ¶
type CreateChannelRequest struct { Logo string `protobuf:"bytes,1,opt,name=logo,proto3" json:"logo,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Status *bool `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Ak *string `protobuf:"bytes,5,opt,name=ak,proto3,oneof" json:"ak,omitempty"` Sk *string `protobuf:"bytes,6,opt,name=sk,proto3,oneof" json:"sk,omitempty"` Extra *string `protobuf:"bytes,7,opt,name=extra,proto3,oneof" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*CreateChannelRequest) Descriptor
deprecated
func (*CreateChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChannelRequest.ProtoReflect.Descriptor instead.
func (*CreateChannelRequest) GetAk ¶
func (x *CreateChannelRequest) GetAk() string
func (*CreateChannelRequest) GetExtra ¶
func (x *CreateChannelRequest) GetExtra() string
func (*CreateChannelRequest) GetKeyword ¶
func (x *CreateChannelRequest) GetKeyword() string
func (*CreateChannelRequest) GetLogo ¶
func (x *CreateChannelRequest) GetLogo() string
func (*CreateChannelRequest) GetName ¶
func (x *CreateChannelRequest) GetName() string
func (*CreateChannelRequest) GetSk ¶
func (x *CreateChannelRequest) GetSk() string
func (*CreateChannelRequest) GetStatus ¶
func (x *CreateChannelRequest) GetStatus() bool
func (*CreateChannelRequest) ProtoMessage ¶
func (*CreateChannelRequest) ProtoMessage()
func (*CreateChannelRequest) ProtoReflect ¶
func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message
func (*CreateChannelRequest) Reset ¶
func (x *CreateChannelRequest) Reset()
func (*CreateChannelRequest) String ¶
func (x *CreateChannelRequest) String() string
func (*CreateChannelRequest) Validate ¶
func (m *CreateChannelRequest) Validate() error
Validate checks the field values on CreateChannelRequest 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 (*CreateChannelRequest) ValidateAll ¶
func (m *CreateChannelRequest) ValidateAll() error
ValidateAll checks the field values on CreateChannelRequest 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 CreateChannelRequestMultiError, or nil if none found.
type CreateChannelRequestMultiError ¶
type CreateChannelRequestMultiError []error
CreateChannelRequestMultiError is an error wrapping multiple validation errors returned by CreateChannelRequest.ValidateAll() if the designated constraints aren't met.
func (CreateChannelRequestMultiError) AllErrors ¶
func (m CreateChannelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateChannelRequestMultiError) Error ¶
func (m CreateChannelRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateChannelRequestValidationError ¶
type CreateChannelRequestValidationError struct {
// contains filtered or unexported fields
}
CreateChannelRequestValidationError is the validation error returned by CreateChannelRequest.Validate if the designated constraints aren't met.
func (CreateChannelRequestValidationError) Cause ¶
func (e CreateChannelRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateChannelRequestValidationError) Error ¶
func (e CreateChannelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateChannelRequestValidationError) ErrorName ¶
func (e CreateChannelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateChannelRequestValidationError) Field ¶
func (e CreateChannelRequestValidationError) Field() string
Field function returns field value.
func (CreateChannelRequestValidationError) Key ¶
func (e CreateChannelRequestValidationError) Key() bool
Key function returns key value.
func (CreateChannelRequestValidationError) Reason ¶
func (e CreateChannelRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteChannelReply ¶
type DeleteChannelReply struct {
// contains filtered or unexported fields
}
func (*DeleteChannelReply) Descriptor
deprecated
func (*DeleteChannelReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChannelReply.ProtoReflect.Descriptor instead.
func (*DeleteChannelReply) ProtoMessage ¶
func (*DeleteChannelReply) ProtoMessage()
func (*DeleteChannelReply) ProtoReflect ¶
func (x *DeleteChannelReply) ProtoReflect() protoreflect.Message
func (*DeleteChannelReply) Reset ¶
func (x *DeleteChannelReply) Reset()
func (*DeleteChannelReply) String ¶
func (x *DeleteChannelReply) String() string
func (*DeleteChannelReply) Validate ¶
func (m *DeleteChannelReply) Validate() error
Validate checks the field values on DeleteChannelReply 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 (*DeleteChannelReply) ValidateAll ¶
func (m *DeleteChannelReply) ValidateAll() error
ValidateAll checks the field values on DeleteChannelReply 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 DeleteChannelReplyMultiError, or nil if none found.
type DeleteChannelReplyMultiError ¶
type DeleteChannelReplyMultiError []error
DeleteChannelReplyMultiError is an error wrapping multiple validation errors returned by DeleteChannelReply.ValidateAll() if the designated constraints aren't met.
func (DeleteChannelReplyMultiError) AllErrors ¶
func (m DeleteChannelReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteChannelReplyMultiError) Error ¶
func (m DeleteChannelReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteChannelReplyValidationError ¶
type DeleteChannelReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteChannelReplyValidationError is the validation error returned by DeleteChannelReply.Validate if the designated constraints aren't met.
func (DeleteChannelReplyValidationError) Cause ¶
func (e DeleteChannelReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteChannelReplyValidationError) Error ¶
func (e DeleteChannelReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteChannelReplyValidationError) ErrorName ¶
func (e DeleteChannelReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteChannelReplyValidationError) Field ¶
func (e DeleteChannelReplyValidationError) Field() string
Field function returns field value.
func (DeleteChannelReplyValidationError) Key ¶
func (e DeleteChannelReplyValidationError) Key() bool
Key function returns key value.
func (DeleteChannelReplyValidationError) Reason ¶
func (e DeleteChannelReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteChannelRequest ¶
type DeleteChannelRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteChannelRequest) Descriptor
deprecated
func (*DeleteChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChannelRequest.ProtoReflect.Descriptor instead.
func (*DeleteChannelRequest) GetId ¶
func (x *DeleteChannelRequest) GetId() uint32
func (*DeleteChannelRequest) ProtoMessage ¶
func (*DeleteChannelRequest) ProtoMessage()
func (*DeleteChannelRequest) ProtoReflect ¶
func (x *DeleteChannelRequest) ProtoReflect() protoreflect.Message
func (*DeleteChannelRequest) Reset ¶
func (x *DeleteChannelRequest) Reset()
func (*DeleteChannelRequest) String ¶
func (x *DeleteChannelRequest) String() string
func (*DeleteChannelRequest) Validate ¶
func (m *DeleteChannelRequest) Validate() error
Validate checks the field values on DeleteChannelRequest 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 (*DeleteChannelRequest) ValidateAll ¶
func (m *DeleteChannelRequest) ValidateAll() error
ValidateAll checks the field values on DeleteChannelRequest 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 DeleteChannelRequestMultiError, or nil if none found.
type DeleteChannelRequestMultiError ¶
type DeleteChannelRequestMultiError []error
DeleteChannelRequestMultiError is an error wrapping multiple validation errors returned by DeleteChannelRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteChannelRequestMultiError) AllErrors ¶
func (m DeleteChannelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteChannelRequestMultiError) Error ¶
func (m DeleteChannelRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteChannelRequestValidationError ¶
type DeleteChannelRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteChannelRequestValidationError is the validation error returned by DeleteChannelRequest.Validate if the designated constraints aren't met.
func (DeleteChannelRequestValidationError) Cause ¶
func (e DeleteChannelRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteChannelRequestValidationError) Error ¶
func (e DeleteChannelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteChannelRequestValidationError) ErrorName ¶
func (e DeleteChannelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteChannelRequestValidationError) Field ¶
func (e DeleteChannelRequestValidationError) Field() string
Field function returns field value.
func (DeleteChannelRequestValidationError) Key ¶
func (e DeleteChannelRequestValidationError) Key() bool
Key function returns key value.
func (DeleteChannelRequestValidationError) Reason ¶
func (e DeleteChannelRequestValidationError) Reason() string
Reason function returns reason value.
type ListChannelReply ¶
type ListChannelReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListChannelReply_Channel `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListChannelReply) Descriptor
deprecated
func (*ListChannelReply) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelReply.ProtoReflect.Descriptor instead.
func (*ListChannelReply) GetList ¶
func (x *ListChannelReply) GetList() []*ListChannelReply_Channel
func (*ListChannelReply) GetTotal ¶
func (x *ListChannelReply) GetTotal() uint32
func (*ListChannelReply) ProtoMessage ¶
func (*ListChannelReply) ProtoMessage()
func (*ListChannelReply) ProtoReflect ¶
func (x *ListChannelReply) ProtoReflect() protoreflect.Message
func (*ListChannelReply) Reset ¶
func (x *ListChannelReply) Reset()
func (*ListChannelReply) String ¶
func (x *ListChannelReply) String() string
func (*ListChannelReply) Validate ¶
func (m *ListChannelReply) Validate() error
Validate checks the field values on ListChannelReply 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 (*ListChannelReply) ValidateAll ¶
func (m *ListChannelReply) ValidateAll() error
ValidateAll checks the field values on ListChannelReply 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 ListChannelReplyMultiError, or nil if none found.
type ListChannelReplyMultiError ¶
type ListChannelReplyMultiError []error
ListChannelReplyMultiError is an error wrapping multiple validation errors returned by ListChannelReply.ValidateAll() if the designated constraints aren't met.
func (ListChannelReplyMultiError) AllErrors ¶
func (m ListChannelReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChannelReplyMultiError) Error ¶
func (m ListChannelReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChannelReplyValidationError ¶
type ListChannelReplyValidationError struct {
// contains filtered or unexported fields
}
ListChannelReplyValidationError is the validation error returned by ListChannelReply.Validate if the designated constraints aren't met.
func (ListChannelReplyValidationError) Cause ¶
func (e ListChannelReplyValidationError) Cause() error
Cause function returns cause value.
func (ListChannelReplyValidationError) Error ¶
func (e ListChannelReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListChannelReplyValidationError) ErrorName ¶
func (e ListChannelReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListChannelReplyValidationError) Field ¶
func (e ListChannelReplyValidationError) Field() string
Field function returns field value.
func (ListChannelReplyValidationError) Key ¶
func (e ListChannelReplyValidationError) Key() bool
Key function returns key value.
func (ListChannelReplyValidationError) Reason ¶
func (e ListChannelReplyValidationError) Reason() string
Reason function returns reason value.
type ListChannelReply_Channel ¶
type ListChannelReply_Channel struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Logo string `protobuf:"bytes,2,opt,name=logo,proto3" json:"logo,omitempty"` LogoUrl string `protobuf:"bytes,3,opt,name=logoUrl,proto3" json:"logoUrl,omitempty"` Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Status *bool `protobuf:"varint,6,opt,name=status,proto3,oneof" json:"status,omitempty"` Ak *string `protobuf:"bytes,7,opt,name=ak,proto3,oneof" json:"ak,omitempty"` Sk *string `protobuf:"bytes,8,opt,name=sk,proto3,oneof" json:"sk,omitempty"` Extra *string `protobuf:"bytes,9,opt,name=extra,proto3,oneof" json:"extra,omitempty"` CreatedAt uint32 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*ListChannelReply_Channel) Descriptor
deprecated
func (*ListChannelReply_Channel) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelReply_Channel.ProtoReflect.Descriptor instead.
func (*ListChannelReply_Channel) GetAk ¶
func (x *ListChannelReply_Channel) GetAk() string
func (*ListChannelReply_Channel) GetCreatedAt ¶
func (x *ListChannelReply_Channel) GetCreatedAt() uint32
func (*ListChannelReply_Channel) GetExtra ¶
func (x *ListChannelReply_Channel) GetExtra() string
func (*ListChannelReply_Channel) GetId ¶
func (x *ListChannelReply_Channel) GetId() uint32
func (*ListChannelReply_Channel) GetKeyword ¶
func (x *ListChannelReply_Channel) GetKeyword() string
func (*ListChannelReply_Channel) GetLogo ¶
func (x *ListChannelReply_Channel) GetLogo() string
func (*ListChannelReply_Channel) GetLogoUrl ¶
func (x *ListChannelReply_Channel) GetLogoUrl() string
func (*ListChannelReply_Channel) GetName ¶
func (x *ListChannelReply_Channel) GetName() string
func (*ListChannelReply_Channel) GetSk ¶
func (x *ListChannelReply_Channel) GetSk() string
func (*ListChannelReply_Channel) GetStatus ¶
func (x *ListChannelReply_Channel) GetStatus() bool
func (*ListChannelReply_Channel) GetUpdatedAt ¶
func (x *ListChannelReply_Channel) GetUpdatedAt() uint32
func (*ListChannelReply_Channel) ProtoMessage ¶
func (*ListChannelReply_Channel) ProtoMessage()
func (*ListChannelReply_Channel) ProtoReflect ¶
func (x *ListChannelReply_Channel) ProtoReflect() protoreflect.Message
func (*ListChannelReply_Channel) Reset ¶
func (x *ListChannelReply_Channel) Reset()
func (*ListChannelReply_Channel) String ¶
func (x *ListChannelReply_Channel) String() string
func (*ListChannelReply_Channel) Validate ¶
func (m *ListChannelReply_Channel) Validate() error
Validate checks the field values on ListChannelReply_Channel 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 (*ListChannelReply_Channel) ValidateAll ¶
func (m *ListChannelReply_Channel) ValidateAll() error
ValidateAll checks the field values on ListChannelReply_Channel 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 ListChannelReply_ChannelMultiError, or nil if none found.
type ListChannelReply_ChannelMultiError ¶
type ListChannelReply_ChannelMultiError []error
ListChannelReply_ChannelMultiError is an error wrapping multiple validation errors returned by ListChannelReply_Channel.ValidateAll() if the designated constraints aren't met.
func (ListChannelReply_ChannelMultiError) AllErrors ¶
func (m ListChannelReply_ChannelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChannelReply_ChannelMultiError) Error ¶
func (m ListChannelReply_ChannelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChannelReply_ChannelValidationError ¶
type ListChannelReply_ChannelValidationError struct {
// contains filtered or unexported fields
}
ListChannelReply_ChannelValidationError is the validation error returned by ListChannelReply_Channel.Validate if the designated constraints aren't met.
func (ListChannelReply_ChannelValidationError) Cause ¶
func (e ListChannelReply_ChannelValidationError) Cause() error
Cause function returns cause value.
func (ListChannelReply_ChannelValidationError) Error ¶
func (e ListChannelReply_ChannelValidationError) Error() string
Error satisfies the builtin error interface
func (ListChannelReply_ChannelValidationError) ErrorName ¶
func (e ListChannelReply_ChannelValidationError) ErrorName() string
ErrorName returns error name.
func (ListChannelReply_ChannelValidationError) Field ¶
func (e ListChannelReply_ChannelValidationError) Field() string
Field function returns field value.
func (ListChannelReply_ChannelValidationError) Key ¶
func (e ListChannelReply_ChannelValidationError) Key() bool
Key function returns key value.
func (ListChannelReply_ChannelValidationError) Reason ¶
func (e ListChannelReply_ChannelValidationError) Reason() string
Reason function returns reason value.
type ListChannelRequest ¶
type ListChannelRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Order *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"` OrderBy *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"` Keyword *string `protobuf:"bytes,5,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"` Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"` Status *bool `protobuf:"varint,7,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ListChannelRequest) Descriptor
deprecated
func (*ListChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelRequest.ProtoReflect.Descriptor instead.
func (*ListChannelRequest) GetKeyword ¶
func (x *ListChannelRequest) GetKeyword() string
func (*ListChannelRequest) GetName ¶
func (x *ListChannelRequest) GetName() string
func (*ListChannelRequest) GetOrder ¶
func (x *ListChannelRequest) GetOrder() string
func (*ListChannelRequest) GetOrderBy ¶
func (x *ListChannelRequest) GetOrderBy() string
func (*ListChannelRequest) GetPage ¶
func (x *ListChannelRequest) GetPage() uint32
func (*ListChannelRequest) GetPageSize ¶
func (x *ListChannelRequest) GetPageSize() uint32
func (*ListChannelRequest) GetStatus ¶
func (x *ListChannelRequest) GetStatus() bool
func (*ListChannelRequest) ProtoMessage ¶
func (*ListChannelRequest) ProtoMessage()
func (*ListChannelRequest) ProtoReflect ¶
func (x *ListChannelRequest) ProtoReflect() protoreflect.Message
func (*ListChannelRequest) Reset ¶
func (x *ListChannelRequest) Reset()
func (*ListChannelRequest) String ¶
func (x *ListChannelRequest) String() string
func (*ListChannelRequest) Validate ¶
func (m *ListChannelRequest) Validate() error
Validate checks the field values on ListChannelRequest 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 (*ListChannelRequest) ValidateAll ¶
func (m *ListChannelRequest) ValidateAll() error
ValidateAll checks the field values on ListChannelRequest 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 ListChannelRequestMultiError, or nil if none found.
type ListChannelRequestMultiError ¶
type ListChannelRequestMultiError []error
ListChannelRequestMultiError is an error wrapping multiple validation errors returned by ListChannelRequest.ValidateAll() if the designated constraints aren't met.
func (ListChannelRequestMultiError) AllErrors ¶
func (m ListChannelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChannelRequestMultiError) Error ¶
func (m ListChannelRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChannelRequestValidationError ¶
type ListChannelRequestValidationError struct {
// contains filtered or unexported fields
}
ListChannelRequestValidationError is the validation error returned by ListChannelRequest.Validate if the designated constraints aren't met.
func (ListChannelRequestValidationError) Cause ¶
func (e ListChannelRequestValidationError) Cause() error
Cause function returns cause value.
func (ListChannelRequestValidationError) Error ¶
func (e ListChannelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListChannelRequestValidationError) ErrorName ¶
func (e ListChannelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListChannelRequestValidationError) Field ¶
func (e ListChannelRequestValidationError) Field() string
Field function returns field value.
func (ListChannelRequestValidationError) Key ¶
func (e ListChannelRequestValidationError) Key() bool
Key function returns key value.
func (ListChannelRequestValidationError) Reason ¶
func (e ListChannelRequestValidationError) Reason() string
Reason function returns reason value.
type ListChannelTypeReply ¶
type ListChannelTypeReply struct { List []*ListChannelTypeReply_Type `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListChannelTypeReply) Descriptor
deprecated
func (*ListChannelTypeReply) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelTypeReply.ProtoReflect.Descriptor instead.
func (*ListChannelTypeReply) GetList ¶
func (x *ListChannelTypeReply) GetList() []*ListChannelTypeReply_Type
func (*ListChannelTypeReply) ProtoMessage ¶
func (*ListChannelTypeReply) ProtoMessage()
func (*ListChannelTypeReply) ProtoReflect ¶
func (x *ListChannelTypeReply) ProtoReflect() protoreflect.Message
func (*ListChannelTypeReply) Reset ¶
func (x *ListChannelTypeReply) Reset()
func (*ListChannelTypeReply) String ¶
func (x *ListChannelTypeReply) String() string
func (*ListChannelTypeReply) Validate ¶
func (m *ListChannelTypeReply) Validate() error
Validate checks the field values on ListChannelTypeReply 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 (*ListChannelTypeReply) ValidateAll ¶
func (m *ListChannelTypeReply) ValidateAll() error
ValidateAll checks the field values on ListChannelTypeReply 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 ListChannelTypeReplyMultiError, or nil if none found.
type ListChannelTypeReplyMultiError ¶
type ListChannelTypeReplyMultiError []error
ListChannelTypeReplyMultiError is an error wrapping multiple validation errors returned by ListChannelTypeReply.ValidateAll() if the designated constraints aren't met.
func (ListChannelTypeReplyMultiError) AllErrors ¶
func (m ListChannelTypeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChannelTypeReplyMultiError) Error ¶
func (m ListChannelTypeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChannelTypeReplyValidationError ¶
type ListChannelTypeReplyValidationError struct {
// contains filtered or unexported fields
}
ListChannelTypeReplyValidationError is the validation error returned by ListChannelTypeReply.Validate if the designated constraints aren't met.
func (ListChannelTypeReplyValidationError) Cause ¶
func (e ListChannelTypeReplyValidationError) Cause() error
Cause function returns cause value.
func (ListChannelTypeReplyValidationError) Error ¶
func (e ListChannelTypeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListChannelTypeReplyValidationError) ErrorName ¶
func (e ListChannelTypeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListChannelTypeReplyValidationError) Field ¶
func (e ListChannelTypeReplyValidationError) Field() string
Field function returns field value.
func (ListChannelTypeReplyValidationError) Key ¶
func (e ListChannelTypeReplyValidationError) Key() bool
Key function returns key value.
func (ListChannelTypeReplyValidationError) Reason ¶
func (e ListChannelTypeReplyValidationError) Reason() string
Reason function returns reason value.
type ListChannelTypeReply_Type ¶
type ListChannelTypeReply_Type struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListChannelTypeReply_Type) Descriptor
deprecated
func (*ListChannelTypeReply_Type) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelTypeReply_Type.ProtoReflect.Descriptor instead.
func (*ListChannelTypeReply_Type) GetKeyword ¶
func (x *ListChannelTypeReply_Type) GetKeyword() string
func (*ListChannelTypeReply_Type) GetName ¶
func (x *ListChannelTypeReply_Type) GetName() string
func (*ListChannelTypeReply_Type) ProtoMessage ¶
func (*ListChannelTypeReply_Type) ProtoMessage()
func (*ListChannelTypeReply_Type) ProtoReflect ¶
func (x *ListChannelTypeReply_Type) ProtoReflect() protoreflect.Message
func (*ListChannelTypeReply_Type) Reset ¶
func (x *ListChannelTypeReply_Type) Reset()
func (*ListChannelTypeReply_Type) String ¶
func (x *ListChannelTypeReply_Type) String() string
func (*ListChannelTypeReply_Type) Validate ¶
func (m *ListChannelTypeReply_Type) Validate() error
Validate checks the field values on ListChannelTypeReply_Type 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 (*ListChannelTypeReply_Type) ValidateAll ¶
func (m *ListChannelTypeReply_Type) ValidateAll() error
ValidateAll checks the field values on ListChannelTypeReply_Type 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 ListChannelTypeReply_TypeMultiError, or nil if none found.
type ListChannelTypeReply_TypeMultiError ¶
type ListChannelTypeReply_TypeMultiError []error
ListChannelTypeReply_TypeMultiError is an error wrapping multiple validation errors returned by ListChannelTypeReply_Type.ValidateAll() if the designated constraints aren't met.
func (ListChannelTypeReply_TypeMultiError) AllErrors ¶
func (m ListChannelTypeReply_TypeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChannelTypeReply_TypeMultiError) Error ¶
func (m ListChannelTypeReply_TypeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChannelTypeReply_TypeValidationError ¶
type ListChannelTypeReply_TypeValidationError struct {
// contains filtered or unexported fields
}
ListChannelTypeReply_TypeValidationError is the validation error returned by ListChannelTypeReply_Type.Validate if the designated constraints aren't met.
func (ListChannelTypeReply_TypeValidationError) Cause ¶
func (e ListChannelTypeReply_TypeValidationError) Cause() error
Cause function returns cause value.
func (ListChannelTypeReply_TypeValidationError) Error ¶
func (e ListChannelTypeReply_TypeValidationError) Error() string
Error satisfies the builtin error interface
func (ListChannelTypeReply_TypeValidationError) ErrorName ¶
func (e ListChannelTypeReply_TypeValidationError) ErrorName() string
ErrorName returns error name.
func (ListChannelTypeReply_TypeValidationError) Field ¶
func (e ListChannelTypeReply_TypeValidationError) Field() string
Field function returns field value.
func (ListChannelTypeReply_TypeValidationError) Key ¶
func (e ListChannelTypeReply_TypeValidationError) Key() bool
Key function returns key value.
func (ListChannelTypeReply_TypeValidationError) Reason ¶
func (e ListChannelTypeReply_TypeValidationError) Reason() string
Reason function returns reason value.
type ListChannelTypeRequest ¶
type ListChannelTypeRequest struct {
// contains filtered or unexported fields
}
func (*ListChannelTypeRequest) Descriptor
deprecated
func (*ListChannelTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelTypeRequest.ProtoReflect.Descriptor instead.
func (*ListChannelTypeRequest) ProtoMessage ¶
func (*ListChannelTypeRequest) ProtoMessage()
func (*ListChannelTypeRequest) ProtoReflect ¶
func (x *ListChannelTypeRequest) ProtoReflect() protoreflect.Message
func (*ListChannelTypeRequest) Reset ¶
func (x *ListChannelTypeRequest) Reset()
func (*ListChannelTypeRequest) String ¶
func (x *ListChannelTypeRequest) String() string
func (*ListChannelTypeRequest) Validate ¶
func (m *ListChannelTypeRequest) Validate() error
Validate checks the field values on ListChannelTypeRequest 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 (*ListChannelTypeRequest) ValidateAll ¶
func (m *ListChannelTypeRequest) ValidateAll() error
ValidateAll checks the field values on ListChannelTypeRequest 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 ListChannelTypeRequestMultiError, or nil if none found.
type ListChannelTypeRequestMultiError ¶
type ListChannelTypeRequestMultiError []error
ListChannelTypeRequestMultiError is an error wrapping multiple validation errors returned by ListChannelTypeRequest.ValidateAll() if the designated constraints aren't met.
func (ListChannelTypeRequestMultiError) AllErrors ¶
func (m ListChannelTypeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListChannelTypeRequestMultiError) Error ¶
func (m ListChannelTypeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListChannelTypeRequestValidationError ¶
type ListChannelTypeRequestValidationError struct {
// contains filtered or unexported fields
}
ListChannelTypeRequestValidationError is the validation error returned by ListChannelTypeRequest.Validate if the designated constraints aren't met.
func (ListChannelTypeRequestValidationError) Cause ¶
func (e ListChannelTypeRequestValidationError) Cause() error
Cause function returns cause value.
func (ListChannelTypeRequestValidationError) Error ¶
func (e ListChannelTypeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListChannelTypeRequestValidationError) ErrorName ¶
func (e ListChannelTypeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListChannelTypeRequestValidationError) Field ¶
func (e ListChannelTypeRequestValidationError) Field() string
Field function returns field value.
func (ListChannelTypeRequestValidationError) Key ¶
func (e ListChannelTypeRequestValidationError) Key() bool
Key function returns key value.
func (ListChannelTypeRequestValidationError) Reason ¶
func (e ListChannelTypeRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedChannelServer ¶
type UnimplementedChannelServer struct { }
UnimplementedChannelServer must be embedded to have forward compatible implementations.
func (UnimplementedChannelServer) CreateChannel ¶
func (UnimplementedChannelServer) CreateChannel(context.Context, *CreateChannelRequest) (*CreateChannelReply, error)
func (UnimplementedChannelServer) DeleteChannel ¶
func (UnimplementedChannelServer) DeleteChannel(context.Context, *DeleteChannelRequest) (*DeleteChannelReply, error)
func (UnimplementedChannelServer) ListChannel ¶
func (UnimplementedChannelServer) ListChannel(context.Context, *ListChannelRequest) (*ListChannelReply, error)
func (UnimplementedChannelServer) ListChannelType ¶
func (UnimplementedChannelServer) ListChannelType(context.Context, *ListChannelTypeRequest) (*ListChannelTypeReply, error)
func (UnimplementedChannelServer) UpdateChannel ¶
func (UnimplementedChannelServer) UpdateChannel(context.Context, *UpdateChannelRequest) (*UpdateChannelReply, error)
type UnsafeChannelServer ¶
type UnsafeChannelServer interface {
// contains filtered or unexported methods
}
UnsafeChannelServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelServer will result in compilation errors.
type UpdateChannelReply ¶
type UpdateChannelReply struct {
// contains filtered or unexported fields
}
func (*UpdateChannelReply) Descriptor
deprecated
func (*UpdateChannelReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChannelReply.ProtoReflect.Descriptor instead.
func (*UpdateChannelReply) ProtoMessage ¶
func (*UpdateChannelReply) ProtoMessage()
func (*UpdateChannelReply) ProtoReflect ¶
func (x *UpdateChannelReply) ProtoReflect() protoreflect.Message
func (*UpdateChannelReply) Reset ¶
func (x *UpdateChannelReply) Reset()
func (*UpdateChannelReply) String ¶
func (x *UpdateChannelReply) String() string
func (*UpdateChannelReply) Validate ¶
func (m *UpdateChannelReply) Validate() error
Validate checks the field values on UpdateChannelReply 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 (*UpdateChannelReply) ValidateAll ¶
func (m *UpdateChannelReply) ValidateAll() error
ValidateAll checks the field values on UpdateChannelReply 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 UpdateChannelReplyMultiError, or nil if none found.
type UpdateChannelReplyMultiError ¶
type UpdateChannelReplyMultiError []error
UpdateChannelReplyMultiError is an error wrapping multiple validation errors returned by UpdateChannelReply.ValidateAll() if the designated constraints aren't met.
func (UpdateChannelReplyMultiError) AllErrors ¶
func (m UpdateChannelReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateChannelReplyMultiError) Error ¶
func (m UpdateChannelReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateChannelReplyValidationError ¶
type UpdateChannelReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateChannelReplyValidationError is the validation error returned by UpdateChannelReply.Validate if the designated constraints aren't met.
func (UpdateChannelReplyValidationError) Cause ¶
func (e UpdateChannelReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateChannelReplyValidationError) Error ¶
func (e UpdateChannelReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateChannelReplyValidationError) ErrorName ¶
func (e UpdateChannelReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateChannelReplyValidationError) Field ¶
func (e UpdateChannelReplyValidationError) Field() string
Field function returns field value.
func (UpdateChannelReplyValidationError) Key ¶
func (e UpdateChannelReplyValidationError) Key() bool
Key function returns key value.
func (UpdateChannelReplyValidationError) Reason ¶
func (e UpdateChannelReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateChannelRequest ¶
type UpdateChannelRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Logo string `protobuf:"bytes,2,opt,name=logo,proto3" json:"logo,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Status *bool `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"` Ak *string `protobuf:"bytes,6,opt,name=ak,proto3,oneof" json:"ak,omitempty"` Sk *string `protobuf:"bytes,7,opt,name=sk,proto3,oneof" json:"sk,omitempty"` Extra *string `protobuf:"bytes,8,opt,name=extra,proto3,oneof" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*UpdateChannelRequest) Descriptor
deprecated
func (*UpdateChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChannelRequest.ProtoReflect.Descriptor instead.
func (*UpdateChannelRequest) GetAk ¶
func (x *UpdateChannelRequest) GetAk() string
func (*UpdateChannelRequest) GetExtra ¶
func (x *UpdateChannelRequest) GetExtra() string
func (*UpdateChannelRequest) GetId ¶
func (x *UpdateChannelRequest) GetId() uint32
func (*UpdateChannelRequest) GetKeyword ¶
func (x *UpdateChannelRequest) GetKeyword() string
func (*UpdateChannelRequest) GetLogo ¶
func (x *UpdateChannelRequest) GetLogo() string
func (*UpdateChannelRequest) GetName ¶
func (x *UpdateChannelRequest) GetName() string
func (*UpdateChannelRequest) GetSk ¶
func (x *UpdateChannelRequest) GetSk() string
func (*UpdateChannelRequest) GetStatus ¶
func (x *UpdateChannelRequest) GetStatus() bool
func (*UpdateChannelRequest) ProtoMessage ¶
func (*UpdateChannelRequest) ProtoMessage()
func (*UpdateChannelRequest) ProtoReflect ¶
func (x *UpdateChannelRequest) ProtoReflect() protoreflect.Message
func (*UpdateChannelRequest) Reset ¶
func (x *UpdateChannelRequest) Reset()
func (*UpdateChannelRequest) String ¶
func (x *UpdateChannelRequest) String() string
func (*UpdateChannelRequest) Validate ¶
func (m *UpdateChannelRequest) Validate() error
Validate checks the field values on UpdateChannelRequest 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 (*UpdateChannelRequest) ValidateAll ¶
func (m *UpdateChannelRequest) ValidateAll() error
ValidateAll checks the field values on UpdateChannelRequest 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 UpdateChannelRequestMultiError, or nil if none found.
type UpdateChannelRequestMultiError ¶
type UpdateChannelRequestMultiError []error
UpdateChannelRequestMultiError is an error wrapping multiple validation errors returned by UpdateChannelRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateChannelRequestMultiError) AllErrors ¶
func (m UpdateChannelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateChannelRequestMultiError) Error ¶
func (m UpdateChannelRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateChannelRequestValidationError ¶
type UpdateChannelRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateChannelRequestValidationError is the validation error returned by UpdateChannelRequest.Validate if the designated constraints aren't met.
func (UpdateChannelRequestValidationError) Cause ¶
func (e UpdateChannelRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateChannelRequestValidationError) Error ¶
func (e UpdateChannelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateChannelRequestValidationError) ErrorName ¶
func (e UpdateChannelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateChannelRequestValidationError) Field ¶
func (e UpdateChannelRequestValidationError) Field() string
Field function returns field value.
func (UpdateChannelRequestValidationError) Key ¶
func (e UpdateChannelRequestValidationError) Key() bool
Key function returns key value.
func (UpdateChannelRequestValidationError) Reason ¶
func (e UpdateChannelRequestValidationError) Reason() string
Reason function returns reason value.