v1

package
v1.0.33 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const OperationChannelCreateChannel = "/application.api.application.channel.v1.Channel/CreateChannel"
View Source
const OperationChannelDeleteChannel = "/application.api.application.channel.v1.Channel/DeleteChannel"
View Source
const OperationChannelListChannel = "/application.api.application.channel.v1.Channel/ListChannel"
View Source
const OperationChannelListChannelType = "/application.api.application.channel.v1.Channel/ListChannelType"
View Source
const OperationChannelUpdateChannel = "/application.api.application.channel.v1.Channel/UpdateChannel"

Variables

View Source
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)

View Source
var File_api_application_channel_application_channel_proto protoreflect.FileDescriptor
View Source
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 (*ChannelHTTPClientImpl) DeleteChannel

func (*ChannelHTTPClientImpl) ListChannel

func (*ChannelHTTPClientImpl) ListChannelType

func (*ChannelHTTPClientImpl) UpdateChannel

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

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

Cause function returns cause value.

func (CreateChannelReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateChannelReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateChannelReplyValidationError) Field

Field function returns field value.

func (CreateChannelReplyValidationError) Key

Key function returns key value.

func (CreateChannelReplyValidationError) Reason

Reason function returns reason value.

type CreateChannelRequest

type CreateChannelRequest struct {
	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 (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

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

Cause function returns cause value.

func (CreateChannelRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateChannelRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateChannelRequestValidationError) Field

Field function returns field value.

func (CreateChannelRequestValidationError) Key

Key function returns key value.

func (CreateChannelRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteChannelReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteChannelReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteChannelReplyValidationError) Field

Field function returns field value.

func (DeleteChannelReplyValidationError) Key

Key function returns key value.

func (DeleteChannelReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteChannelRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteChannelRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteChannelRequestValidationError) Field

Field function returns field value.

func (DeleteChannelRequestValidationError) Key

Key function returns key value.

func (DeleteChannelRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListChannelReplyValidationError) Error

Error satisfies the builtin error interface

func (ListChannelReplyValidationError) ErrorName

ErrorName returns error name.

func (ListChannelReplyValidationError) Field

Field function returns field value.

func (ListChannelReplyValidationError) Key

Key function returns key value.

func (ListChannelReplyValidationError) Reason

Reason function returns reason value.

type ListChannelReply_Channel

type ListChannelReply_Channel struct {
	Id        uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,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 (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

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

Cause function returns cause value.

func (ListChannelReply_ChannelValidationError) Error

Error satisfies the builtin error interface

func (ListChannelReply_ChannelValidationError) ErrorName

ErrorName returns error name.

func (ListChannelReply_ChannelValidationError) Field

Field function returns field value.

func (ListChannelReply_ChannelValidationError) Key

Key function returns key value.

func (ListChannelReply_ChannelValidationError) Reason

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

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

Cause function returns cause value.

func (ListChannelRequestValidationError) Error

Error satisfies the builtin error interface

func (ListChannelRequestValidationError) ErrorName

ErrorName returns error name.

func (ListChannelRequestValidationError) Field

Field function returns field value.

func (ListChannelRequestValidationError) Key

Key function returns key value.

func (ListChannelRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListChannelTypeReplyValidationError) Error

Error satisfies the builtin error interface

func (ListChannelTypeReplyValidationError) ErrorName

ErrorName returns error name.

func (ListChannelTypeReplyValidationError) Field

Field function returns field value.

func (ListChannelTypeReplyValidationError) Key

Key function returns key value.

func (ListChannelTypeReplyValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (ListChannelTypeReply_TypeMultiError) Error

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

Cause function returns cause value.

func (ListChannelTypeReply_TypeValidationError) Error

Error satisfies the builtin error interface

func (ListChannelTypeReply_TypeValidationError) ErrorName

ErrorName returns error name.

func (ListChannelTypeReply_TypeValidationError) Field

Field function returns field value.

func (ListChannelTypeReply_TypeValidationError) Key

Key function returns key value.

func (ListChannelTypeReply_TypeValidationError) Reason

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

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

Cause function returns cause value.

func (ListChannelTypeRequestValidationError) Error

Error satisfies the builtin error interface

func (ListChannelTypeRequestValidationError) ErrorName

ErrorName returns error name.

func (ListChannelTypeRequestValidationError) Field

Field function returns field value.

func (ListChannelTypeRequestValidationError) Key

Key function returns key value.

func (ListChannelTypeRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedChannelServer

type UnimplementedChannelServer struct {
}

UnimplementedChannelServer must be embedded to have forward compatible implementations.

func (UnimplementedChannelServer) CreateChannel

func (UnimplementedChannelServer) DeleteChannel

func (UnimplementedChannelServer) ListChannel

func (UnimplementedChannelServer) ListChannelType

func (UnimplementedChannelServer) UpdateChannel

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

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

Cause function returns cause value.

func (UpdateChannelReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateChannelReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateChannelReplyValidationError) Field

Field function returns field value.

func (UpdateChannelReplyValidationError) Key

Key function returns key value.

func (UpdateChannelReplyValidationError) Reason

Reason function returns reason value.

type UpdateChannelRequest

type UpdateChannelRequest struct {
	Id      uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,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 (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

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

Cause function returns cause value.

func (UpdateChannelRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateChannelRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateChannelRequestValidationError) Field

Field function returns field value.

func (UpdateChannelRequestValidationError) Key

Key function returns key value.

func (UpdateChannelRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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