Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAppOAutherHTTPServer(s *http.Server, srv AppOAutherHTTPServer)
- func RegisterAppOAutherServer(s grpc.ServiceRegistrar, srv AppOAutherServer)
- type AppOAutherClient
- type AppOAutherHTTPClient
- type AppOAutherHTTPClientImpl
- func (c *AppOAutherHTTPClientImpl) CreateAppOAuther(ctx context.Context, in *CreateAppOAutherRequest, opts ...http.CallOption) (*CreateAppOAutherReply, error)
- func (c *AppOAutherHTTPClientImpl) DeleteAppOAuther(ctx context.Context, in *DeleteAppOAutherRequest, opts ...http.CallOption) (*DeleteAppOAutherReply, error)
- func (c *AppOAutherHTTPClientImpl) ListAppOAuther(ctx context.Context, in *ListAppOAutherRequest, opts ...http.CallOption) (*ListAppOAutherReply, error)
- type AppOAutherHTTPServer
- type AppOAutherServer
- type CreateAppOAutherReply
- func (*CreateAppOAutherReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAppOAutherReply) GetId() uint32
- func (*CreateAppOAutherReply) ProtoMessage()
- func (x *CreateAppOAutherReply) ProtoReflect() protoreflect.Message
- func (x *CreateAppOAutherReply) Reset()
- func (x *CreateAppOAutherReply) String() string
- func (m *CreateAppOAutherReply) Validate() error
- func (m *CreateAppOAutherReply) ValidateAll() error
- type CreateAppOAutherReplyMultiError
- type CreateAppOAutherReplyValidationError
- func (e CreateAppOAutherReplyValidationError) Cause() error
- func (e CreateAppOAutherReplyValidationError) Error() string
- func (e CreateAppOAutherReplyValidationError) ErrorName() string
- func (e CreateAppOAutherReplyValidationError) Field() string
- func (e CreateAppOAutherReplyValidationError) Key() bool
- func (e CreateAppOAutherReplyValidationError) Reason() string
- type CreateAppOAutherRequest
- func (*CreateAppOAutherRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAppOAutherRequest) GetAppId() uint32
- func (x *CreateAppOAutherRequest) GetOautherId() uint32
- func (*CreateAppOAutherRequest) ProtoMessage()
- func (x *CreateAppOAutherRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAppOAutherRequest) Reset()
- func (x *CreateAppOAutherRequest) String() string
- func (m *CreateAppOAutherRequest) Validate() error
- func (m *CreateAppOAutherRequest) ValidateAll() error
- type CreateAppOAutherRequestMultiError
- type CreateAppOAutherRequestValidationError
- func (e CreateAppOAutherRequestValidationError) Cause() error
- func (e CreateAppOAutherRequestValidationError) Error() string
- func (e CreateAppOAutherRequestValidationError) ErrorName() string
- func (e CreateAppOAutherRequestValidationError) Field() string
- func (e CreateAppOAutherRequestValidationError) Key() bool
- func (e CreateAppOAutherRequestValidationError) Reason() string
- type DeleteAppOAutherReply
- func (*DeleteAppOAutherReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteAppOAutherReply) ProtoMessage()
- func (x *DeleteAppOAutherReply) ProtoReflect() protoreflect.Message
- func (x *DeleteAppOAutherReply) Reset()
- func (x *DeleteAppOAutherReply) String() string
- func (m *DeleteAppOAutherReply) Validate() error
- func (m *DeleteAppOAutherReply) ValidateAll() error
- type DeleteAppOAutherReplyMultiError
- type DeleteAppOAutherReplyValidationError
- func (e DeleteAppOAutherReplyValidationError) Cause() error
- func (e DeleteAppOAutherReplyValidationError) Error() string
- func (e DeleteAppOAutherReplyValidationError) ErrorName() string
- func (e DeleteAppOAutherReplyValidationError) Field() string
- func (e DeleteAppOAutherReplyValidationError) Key() bool
- func (e DeleteAppOAutherReplyValidationError) Reason() string
- type DeleteAppOAutherRequest
- func (*DeleteAppOAutherRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAppOAutherRequest) GetId() uint32
- func (*DeleteAppOAutherRequest) ProtoMessage()
- func (x *DeleteAppOAutherRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAppOAutherRequest) Reset()
- func (x *DeleteAppOAutherRequest) String() string
- func (m *DeleteAppOAutherRequest) Validate() error
- func (m *DeleteAppOAutherRequest) ValidateAll() error
- type DeleteAppOAutherRequestMultiError
- type DeleteAppOAutherRequestValidationError
- func (e DeleteAppOAutherRequestValidationError) Cause() error
- func (e DeleteAppOAutherRequestValidationError) Error() string
- func (e DeleteAppOAutherRequestValidationError) ErrorName() string
- func (e DeleteAppOAutherRequestValidationError) Field() string
- func (e DeleteAppOAutherRequestValidationError) Key() bool
- func (e DeleteAppOAutherRequestValidationError) Reason() string
- type ListAppOAutherReply
- func (*ListAppOAutherReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListAppOAutherReply) GetList() []*ListAppOAutherReply_Data
- func (x *ListAppOAutherReply) GetTotal() uint32
- func (*ListAppOAutherReply) ProtoMessage()
- func (x *ListAppOAutherReply) ProtoReflect() protoreflect.Message
- func (x *ListAppOAutherReply) Reset()
- func (x *ListAppOAutherReply) String() string
- func (m *ListAppOAutherReply) Validate() error
- func (m *ListAppOAutherReply) ValidateAll() error
- type ListAppOAutherReplyMultiError
- type ListAppOAutherReplyValidationError
- func (e ListAppOAutherReplyValidationError) Cause() error
- func (e ListAppOAutherReplyValidationError) Error() string
- func (e ListAppOAutherReplyValidationError) ErrorName() string
- func (e ListAppOAutherReplyValidationError) Field() string
- func (e ListAppOAutherReplyValidationError) Key() bool
- func (e ListAppOAutherReplyValidationError) Reason() string
- type ListAppOAutherReply_Data
- func (*ListAppOAutherReply_Data) Descriptor() ([]byte, []int)deprecated
- func (x *ListAppOAutherReply_Data) GetAppId() uint32
- func (x *ListAppOAutherReply_Data) GetCreatedAt() uint32
- func (x *ListAppOAutherReply_Data) GetId() uint32
- func (x *ListAppOAutherReply_Data) GetOauther() *OAuther
- func (x *ListAppOAutherReply_Data) GetOautherId() uint32
- func (x *ListAppOAutherReply_Data) GetUpdatedAt() uint32
- func (*ListAppOAutherReply_Data) ProtoMessage()
- func (x *ListAppOAutherReply_Data) ProtoReflect() protoreflect.Message
- func (x *ListAppOAutherReply_Data) Reset()
- func (x *ListAppOAutherReply_Data) String() string
- func (m *ListAppOAutherReply_Data) Validate() error
- func (m *ListAppOAutherReply_Data) ValidateAll() error
- type ListAppOAutherReply_DataMultiError
- type ListAppOAutherReply_DataValidationError
- func (e ListAppOAutherReply_DataValidationError) Cause() error
- func (e ListAppOAutherReply_DataValidationError) Error() string
- func (e ListAppOAutherReply_DataValidationError) ErrorName() string
- func (e ListAppOAutherReply_DataValidationError) Field() string
- func (e ListAppOAutherReply_DataValidationError) Key() bool
- func (e ListAppOAutherReply_DataValidationError) Reason() string
- type ListAppOAutherRequest
- func (*ListAppOAutherRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAppOAutherRequest) GetAppId() uint32
- func (x *ListAppOAutherRequest) GetKeyword() string
- func (x *ListAppOAutherRequest) GetName() string
- func (x *ListAppOAutherRequest) GetOrder() string
- func (x *ListAppOAutherRequest) GetOrderBy() string
- func (x *ListAppOAutherRequest) GetPage() uint32
- func (x *ListAppOAutherRequest) GetPageSize() uint32
- func (*ListAppOAutherRequest) ProtoMessage()
- func (x *ListAppOAutherRequest) ProtoReflect() protoreflect.Message
- func (x *ListAppOAutherRequest) Reset()
- func (x *ListAppOAutherRequest) String() string
- func (m *ListAppOAutherRequest) Validate() error
- func (m *ListAppOAutherRequest) ValidateAll() error
- type ListAppOAutherRequestMultiError
- type ListAppOAutherRequestValidationError
- func (e ListAppOAutherRequestValidationError) Cause() error
- func (e ListAppOAutherRequestValidationError) Error() string
- func (e ListAppOAutherRequestValidationError) ErrorName() string
- func (e ListAppOAutherRequestValidationError) Field() string
- func (e ListAppOAutherRequestValidationError) Key() bool
- func (e ListAppOAutherRequestValidationError) Reason() string
- type OAuther
- func (*OAuther) Descriptor() ([]byte, []int)deprecated
- func (x *OAuther) GetId() uint32
- func (x *OAuther) GetKeyword() string
- func (x *OAuther) GetLogo() string
- func (x *OAuther) GetName() string
- func (x *OAuther) GetType() string
- func (*OAuther) ProtoMessage()
- func (x *OAuther) ProtoReflect() protoreflect.Message
- func (x *OAuther) Reset()
- func (x *OAuther) String() string
- func (m *OAuther) Validate() error
- func (m *OAuther) ValidateAll() error
- type OAutherMultiError
- type OAutherValidationError
- type UnimplementedAppOAutherServer
- func (UnimplementedAppOAutherServer) CreateAppOAuther(context.Context, *CreateAppOAutherRequest) (*CreateAppOAutherReply, error)
- func (UnimplementedAppOAutherServer) DeleteAppOAuther(context.Context, *DeleteAppOAutherRequest) (*DeleteAppOAutherReply, error)
- func (UnimplementedAppOAutherServer) ListAppOAuther(context.Context, *ListAppOAutherRequest) (*ListAppOAutherReply, error)
- type UnsafeAppOAutherServer
Constants ¶
const ( AppOAuther_ListAppOAuther_FullMethodName = "/manager.api.appoauther.AppOAuther/ListAppOAuther" AppOAuther_CreateAppOAuther_FullMethodName = "/manager.api.appoauther.AppOAuther/CreateAppOAuther" AppOAuther_DeleteAppOAuther_FullMethodName = "/manager.api.appoauther.AppOAuther/DeleteAppOAuther" )
const ( OperationAppOAutherCreateAppOAuther = "/manager.api.appoauther.AppOAuther/CreateAppOAuther" OperationAppOAutherDeleteAppOAuther = "/manager.api.appoauther.AppOAuther/DeleteAppOAuther" OperationAppOAutherListAppOAuther = "/manager.api.appoauther.AppOAuther/ListAppOAuther" )
Variables ¶
var AppOAuther_ServiceDesc = grpc.ServiceDesc{ ServiceName: "manager.api.appoauther.AppOAuther", HandlerType: (*AppOAutherServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListAppOAuther", Handler: _AppOAuther_ListAppOAuther_Handler, }, { MethodName: "CreateAppOAuther", Handler: _AppOAuther_CreateAppOAuther_Handler, }, { MethodName: "DeleteAppOAuther", Handler: _AppOAuther_DeleteAppOAuther_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/appoauther/proto/appoauther_service.proto", }
AppOAuther_ServiceDesc is the grpc.ServiceDesc for AppOAuther 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_appoauther_proto_appoauther_proto protoreflect.FileDescriptor
var File_api_appoauther_proto_appoauther_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAppOAutherHTTPServer ¶
func RegisterAppOAutherHTTPServer(s *http.Server, srv AppOAutherHTTPServer)
func RegisterAppOAutherServer ¶
func RegisterAppOAutherServer(s grpc.ServiceRegistrar, srv AppOAutherServer)
Types ¶
type AppOAutherClient ¶
type AppOAutherClient interface {
// ListAppOAuther 获取应用渠道信息
ListAppOAuther(ctx context.Context, in *ListAppOAutherRequest, opts ...grpc.CallOption) (*ListAppOAutherReply, error)
// CreateApp 创建应用渠道信息
CreateAppOAuther(ctx context.Context, in *CreateAppOAutherRequest, opts ...grpc.CallOption) (*CreateAppOAutherReply, error)
// DeleteApp 删除应用渠道信息
DeleteAppOAuther(ctx context.Context, in *DeleteAppOAutherRequest, opts ...grpc.CallOption) (*DeleteAppOAutherReply, error)
}
AppOAutherClient is the client API for AppOAuther 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 NewAppOAutherClient ¶
func NewAppOAutherClient(cc grpc.ClientConnInterface) AppOAutherClient
type AppOAutherHTTPClient ¶
type AppOAutherHTTPClient interface {
CreateAppOAuther(ctx context.Context, req *CreateAppOAutherRequest, opts ...http.CallOption) (rsp *CreateAppOAutherReply, err error)
DeleteAppOAuther(ctx context.Context, req *DeleteAppOAutherRequest, opts ...http.CallOption) (rsp *DeleteAppOAutherReply, err error)
ListAppOAuther(ctx context.Context, req *ListAppOAutherRequest, opts ...http.CallOption) (rsp *ListAppOAutherReply, err error)
}
func NewAppOAutherHTTPClient ¶
func NewAppOAutherHTTPClient(client *http.Client) AppOAutherHTTPClient
type AppOAutherHTTPClientImpl ¶
type AppOAutherHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AppOAutherHTTPClientImpl) CreateAppOAuther ¶
func (c *AppOAutherHTTPClientImpl) CreateAppOAuther(ctx context.Context, in *CreateAppOAutherRequest, opts ...http.CallOption) (*CreateAppOAutherReply, error)
func (*AppOAutherHTTPClientImpl) DeleteAppOAuther ¶
func (c *AppOAutherHTTPClientImpl) DeleteAppOAuther(ctx context.Context, in *DeleteAppOAutherRequest, opts ...http.CallOption) (*DeleteAppOAutherReply, error)
func (*AppOAutherHTTPClientImpl) ListAppOAuther ¶
func (c *AppOAutherHTTPClientImpl) ListAppOAuther(ctx context.Context, in *ListAppOAutherRequest, opts ...http.CallOption) (*ListAppOAutherReply, error)
type AppOAutherHTTPServer ¶
type AppOAutherHTTPServer interface {
// CreateAppOAuther CreateApp 创建应用渠道信息
CreateAppOAuther(context.Context, *CreateAppOAutherRequest) (*CreateAppOAutherReply, error)
// DeleteAppOAuther DeleteApp 删除应用渠道信息
DeleteAppOAuther(context.Context, *DeleteAppOAutherRequest) (*DeleteAppOAutherReply, error)
// ListAppOAuther ListAppOAuther 获取应用渠道信息
ListAppOAuther(context.Context, *ListAppOAutherRequest) (*ListAppOAutherReply, error)
}
type AppOAutherServer ¶
type AppOAutherServer interface {
// ListAppOAuther 获取应用渠道信息
ListAppOAuther(context.Context, *ListAppOAutherRequest) (*ListAppOAutherReply, error)
// CreateApp 创建应用渠道信息
CreateAppOAuther(context.Context, *CreateAppOAutherRequest) (*CreateAppOAutherReply, error)
// DeleteApp 删除应用渠道信息
DeleteAppOAuther(context.Context, *DeleteAppOAutherRequest) (*DeleteAppOAutherReply, error)
// contains filtered or unexported methods
}
AppOAutherServer is the server API for AppOAuther service. All implementations must embed UnimplementedAppOAutherServer for forward compatibility
type CreateAppOAutherReply ¶
type CreateAppOAutherReply struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAppOAutherReply) Descriptor
deprecated
func (*CreateAppOAutherReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateAppOAutherReply.ProtoReflect.Descriptor instead.
func (*CreateAppOAutherReply) GetId ¶
func (x *CreateAppOAutherReply) GetId() uint32
func (*CreateAppOAutherReply) ProtoMessage ¶
func (*CreateAppOAutherReply) ProtoMessage()
func (*CreateAppOAutherReply) ProtoReflect ¶
func (x *CreateAppOAutherReply) ProtoReflect() protoreflect.Message
func (*CreateAppOAutherReply) Reset ¶
func (x *CreateAppOAutherReply) Reset()
func (*CreateAppOAutherReply) String ¶
func (x *CreateAppOAutherReply) String() string
func (*CreateAppOAutherReply) Validate ¶
func (m *CreateAppOAutherReply) Validate() error
Validate checks the field values on CreateAppOAutherReply 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 (*CreateAppOAutherReply) ValidateAll ¶
func (m *CreateAppOAutherReply) ValidateAll() error
ValidateAll checks the field values on CreateAppOAutherReply 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 CreateAppOAutherReplyMultiError, or nil if none found.
type CreateAppOAutherReplyMultiError ¶
type CreateAppOAutherReplyMultiError []error
CreateAppOAutherReplyMultiError is an error wrapping multiple validation errors returned by CreateAppOAutherReply.ValidateAll() if the designated constraints aren't met.
func (CreateAppOAutherReplyMultiError) AllErrors ¶
func (m CreateAppOAutherReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAppOAutherReplyMultiError) Error ¶
func (m CreateAppOAutherReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAppOAutherReplyValidationError ¶
type CreateAppOAutherReplyValidationError struct {
// contains filtered or unexported fields
}
CreateAppOAutherReplyValidationError is the validation error returned by CreateAppOAutherReply.Validate if the designated constraints aren't met.
func (CreateAppOAutherReplyValidationError) Cause ¶
func (e CreateAppOAutherReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateAppOAutherReplyValidationError) Error ¶
func (e CreateAppOAutherReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAppOAutherReplyValidationError) ErrorName ¶
func (e CreateAppOAutherReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAppOAutherReplyValidationError) Field ¶
func (e CreateAppOAutherReplyValidationError) Field() string
Field function returns field value.
func (CreateAppOAutherReplyValidationError) Key ¶
func (e CreateAppOAutherReplyValidationError) Key() bool
Key function returns key value.
func (CreateAppOAutherReplyValidationError) Reason ¶
func (e CreateAppOAutherReplyValidationError) Reason() string
Reason function returns reason value.
type CreateAppOAutherRequest ¶
type CreateAppOAutherRequest struct {
AppId uint32 `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
OautherId uint32 `protobuf:"varint,2,opt,name=oautherId,proto3" json:"oautherId,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAppOAutherRequest) Descriptor
deprecated
func (*CreateAppOAutherRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAppOAutherRequest.ProtoReflect.Descriptor instead.
func (*CreateAppOAutherRequest) GetAppId ¶
func (x *CreateAppOAutherRequest) GetAppId() uint32
func (*CreateAppOAutherRequest) GetOautherId ¶
func (x *CreateAppOAutherRequest) GetOautherId() uint32
func (*CreateAppOAutherRequest) ProtoMessage ¶
func (*CreateAppOAutherRequest) ProtoMessage()
func (*CreateAppOAutherRequest) ProtoReflect ¶
func (x *CreateAppOAutherRequest) ProtoReflect() protoreflect.Message
func (*CreateAppOAutherRequest) Reset ¶
func (x *CreateAppOAutherRequest) Reset()
func (*CreateAppOAutherRequest) String ¶
func (x *CreateAppOAutherRequest) String() string
func (*CreateAppOAutherRequest) Validate ¶
func (m *CreateAppOAutherRequest) Validate() error
Validate checks the field values on CreateAppOAutherRequest 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 (*CreateAppOAutherRequest) ValidateAll ¶
func (m *CreateAppOAutherRequest) ValidateAll() error
ValidateAll checks the field values on CreateAppOAutherRequest 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 CreateAppOAutherRequestMultiError, or nil if none found.
type CreateAppOAutherRequestMultiError ¶
type CreateAppOAutherRequestMultiError []error
CreateAppOAutherRequestMultiError is an error wrapping multiple validation errors returned by CreateAppOAutherRequest.ValidateAll() if the designated constraints aren't met.
func (CreateAppOAutherRequestMultiError) AllErrors ¶
func (m CreateAppOAutherRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAppOAutherRequestMultiError) Error ¶
func (m CreateAppOAutherRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAppOAutherRequestValidationError ¶
type CreateAppOAutherRequestValidationError struct {
// contains filtered or unexported fields
}
CreateAppOAutherRequestValidationError is the validation error returned by CreateAppOAutherRequest.Validate if the designated constraints aren't met.
func (CreateAppOAutherRequestValidationError) Cause ¶
func (e CreateAppOAutherRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateAppOAutherRequestValidationError) Error ¶
func (e CreateAppOAutherRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAppOAutherRequestValidationError) ErrorName ¶
func (e CreateAppOAutherRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAppOAutherRequestValidationError) Field ¶
func (e CreateAppOAutherRequestValidationError) Field() string
Field function returns field value.
func (CreateAppOAutherRequestValidationError) Key ¶
func (e CreateAppOAutherRequestValidationError) Key() bool
Key function returns key value.
func (CreateAppOAutherRequestValidationError) Reason ¶
func (e CreateAppOAutherRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteAppOAutherReply ¶
type DeleteAppOAutherReply struct {
// contains filtered or unexported fields
}
func (*DeleteAppOAutherReply) Descriptor
deprecated
func (*DeleteAppOAutherReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAppOAutherReply.ProtoReflect.Descriptor instead.
func (*DeleteAppOAutherReply) ProtoMessage ¶
func (*DeleteAppOAutherReply) ProtoMessage()
func (*DeleteAppOAutherReply) ProtoReflect ¶
func (x *DeleteAppOAutherReply) ProtoReflect() protoreflect.Message
func (*DeleteAppOAutherReply) Reset ¶
func (x *DeleteAppOAutherReply) Reset()
func (*DeleteAppOAutherReply) String ¶
func (x *DeleteAppOAutherReply) String() string
func (*DeleteAppOAutherReply) Validate ¶
func (m *DeleteAppOAutherReply) Validate() error
Validate checks the field values on DeleteAppOAutherReply 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 (*DeleteAppOAutherReply) ValidateAll ¶
func (m *DeleteAppOAutherReply) ValidateAll() error
ValidateAll checks the field values on DeleteAppOAutherReply 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 DeleteAppOAutherReplyMultiError, or nil if none found.
type DeleteAppOAutherReplyMultiError ¶
type DeleteAppOAutherReplyMultiError []error
DeleteAppOAutherReplyMultiError is an error wrapping multiple validation errors returned by DeleteAppOAutherReply.ValidateAll() if the designated constraints aren't met.
func (DeleteAppOAutherReplyMultiError) AllErrors ¶
func (m DeleteAppOAutherReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAppOAutherReplyMultiError) Error ¶
func (m DeleteAppOAutherReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAppOAutherReplyValidationError ¶
type DeleteAppOAutherReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteAppOAutherReplyValidationError is the validation error returned by DeleteAppOAutherReply.Validate if the designated constraints aren't met.
func (DeleteAppOAutherReplyValidationError) Cause ¶
func (e DeleteAppOAutherReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteAppOAutherReplyValidationError) Error ¶
func (e DeleteAppOAutherReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAppOAutherReplyValidationError) ErrorName ¶
func (e DeleteAppOAutherReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAppOAutherReplyValidationError) Field ¶
func (e DeleteAppOAutherReplyValidationError) Field() string
Field function returns field value.
func (DeleteAppOAutherReplyValidationError) Key ¶
func (e DeleteAppOAutherReplyValidationError) Key() bool
Key function returns key value.
func (DeleteAppOAutherReplyValidationError) Reason ¶
func (e DeleteAppOAutherReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteAppOAutherRequest ¶
type DeleteAppOAutherRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteAppOAutherRequest) Descriptor
deprecated
func (*DeleteAppOAutherRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAppOAutherRequest.ProtoReflect.Descriptor instead.
func (*DeleteAppOAutherRequest) GetId ¶
func (x *DeleteAppOAutherRequest) GetId() uint32
func (*DeleteAppOAutherRequest) ProtoMessage ¶
func (*DeleteAppOAutherRequest) ProtoMessage()
func (*DeleteAppOAutherRequest) ProtoReflect ¶
func (x *DeleteAppOAutherRequest) ProtoReflect() protoreflect.Message
func (*DeleteAppOAutherRequest) Reset ¶
func (x *DeleteAppOAutherRequest) Reset()
func (*DeleteAppOAutherRequest) String ¶
func (x *DeleteAppOAutherRequest) String() string
func (*DeleteAppOAutherRequest) Validate ¶
func (m *DeleteAppOAutherRequest) Validate() error
Validate checks the field values on DeleteAppOAutherRequest 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 (*DeleteAppOAutherRequest) ValidateAll ¶
func (m *DeleteAppOAutherRequest) ValidateAll() error
ValidateAll checks the field values on DeleteAppOAutherRequest 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 DeleteAppOAutherRequestMultiError, or nil if none found.
type DeleteAppOAutherRequestMultiError ¶
type DeleteAppOAutherRequestMultiError []error
DeleteAppOAutherRequestMultiError is an error wrapping multiple validation errors returned by DeleteAppOAutherRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteAppOAutherRequestMultiError) AllErrors ¶
func (m DeleteAppOAutherRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAppOAutherRequestMultiError) Error ¶
func (m DeleteAppOAutherRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAppOAutherRequestValidationError ¶
type DeleteAppOAutherRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteAppOAutherRequestValidationError is the validation error returned by DeleteAppOAutherRequest.Validate if the designated constraints aren't met.
func (DeleteAppOAutherRequestValidationError) Cause ¶
func (e DeleteAppOAutherRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteAppOAutherRequestValidationError) Error ¶
func (e DeleteAppOAutherRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAppOAutherRequestValidationError) ErrorName ¶
func (e DeleteAppOAutherRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAppOAutherRequestValidationError) Field ¶
func (e DeleteAppOAutherRequestValidationError) Field() string
Field function returns field value.
func (DeleteAppOAutherRequestValidationError) Key ¶
func (e DeleteAppOAutherRequestValidationError) Key() bool
Key function returns key value.
func (DeleteAppOAutherRequestValidationError) Reason ¶
func (e DeleteAppOAutherRequestValidationError) Reason() string
Reason function returns reason value.
type ListAppOAutherReply ¶
type ListAppOAutherReply struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
List []*ListAppOAutherReply_Data `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*ListAppOAutherReply) Descriptor
deprecated
func (*ListAppOAutherReply) Descriptor() ([]byte, []int)
Deprecated: Use ListAppOAutherReply.ProtoReflect.Descriptor instead.
func (*ListAppOAutherReply) GetList ¶
func (x *ListAppOAutherReply) GetList() []*ListAppOAutherReply_Data
func (*ListAppOAutherReply) GetTotal ¶
func (x *ListAppOAutherReply) GetTotal() uint32
func (*ListAppOAutherReply) ProtoMessage ¶
func (*ListAppOAutherReply) ProtoMessage()
func (*ListAppOAutherReply) ProtoReflect ¶
func (x *ListAppOAutherReply) ProtoReflect() protoreflect.Message
func (*ListAppOAutherReply) Reset ¶
func (x *ListAppOAutherReply) Reset()
func (*ListAppOAutherReply) String ¶
func (x *ListAppOAutherReply) String() string
func (*ListAppOAutherReply) Validate ¶
func (m *ListAppOAutherReply) Validate() error
Validate checks the field values on ListAppOAutherReply 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 (*ListAppOAutherReply) ValidateAll ¶
func (m *ListAppOAutherReply) ValidateAll() error
ValidateAll checks the field values on ListAppOAutherReply 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 ListAppOAutherReplyMultiError, or nil if none found.
type ListAppOAutherReplyMultiError ¶
type ListAppOAutherReplyMultiError []error
ListAppOAutherReplyMultiError is an error wrapping multiple validation errors returned by ListAppOAutherReply.ValidateAll() if the designated constraints aren't met.
func (ListAppOAutherReplyMultiError) AllErrors ¶
func (m ListAppOAutherReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAppOAutherReplyMultiError) Error ¶
func (m ListAppOAutherReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAppOAutherReplyValidationError ¶
type ListAppOAutherReplyValidationError struct {
// contains filtered or unexported fields
}
ListAppOAutherReplyValidationError is the validation error returned by ListAppOAutherReply.Validate if the designated constraints aren't met.
func (ListAppOAutherReplyValidationError) Cause ¶
func (e ListAppOAutherReplyValidationError) Cause() error
Cause function returns cause value.
func (ListAppOAutherReplyValidationError) Error ¶
func (e ListAppOAutherReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListAppOAutherReplyValidationError) ErrorName ¶
func (e ListAppOAutherReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListAppOAutherReplyValidationError) Field ¶
func (e ListAppOAutherReplyValidationError) Field() string
Field function returns field value.
func (ListAppOAutherReplyValidationError) Key ¶
func (e ListAppOAutherReplyValidationError) Key() bool
Key function returns key value.
func (ListAppOAutherReplyValidationError) Reason ¶
func (e ListAppOAutherReplyValidationError) Reason() string
Reason function returns reason value.
type ListAppOAutherReply_Data ¶
type ListAppOAutherReply_Data struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
AppId uint32 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"`
OautherId uint32 `protobuf:"varint,3,opt,name=oautherId,proto3" json:"oautherId,omitempty"`
CreatedAt uint32 `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt uint32 `protobuf:"varint,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
Oauther *OAuther `protobuf:"bytes,6,opt,name=oauther,proto3" json:"oauther,omitempty"`
// contains filtered or unexported fields
}
func (*ListAppOAutherReply_Data) Descriptor
deprecated
func (*ListAppOAutherReply_Data) Descriptor() ([]byte, []int)
Deprecated: Use ListAppOAutherReply_Data.ProtoReflect.Descriptor instead.
func (*ListAppOAutherReply_Data) GetAppId ¶
func (x *ListAppOAutherReply_Data) GetAppId() uint32
func (*ListAppOAutherReply_Data) GetCreatedAt ¶
func (x *ListAppOAutherReply_Data) GetCreatedAt() uint32
func (*ListAppOAutherReply_Data) GetId ¶
func (x *ListAppOAutherReply_Data) GetId() uint32
func (*ListAppOAutherReply_Data) GetOauther ¶
func (x *ListAppOAutherReply_Data) GetOauther() *OAuther
func (*ListAppOAutherReply_Data) GetOautherId ¶
func (x *ListAppOAutherReply_Data) GetOautherId() uint32
func (*ListAppOAutherReply_Data) GetUpdatedAt ¶
func (x *ListAppOAutherReply_Data) GetUpdatedAt() uint32
func (*ListAppOAutherReply_Data) ProtoMessage ¶
func (*ListAppOAutherReply_Data) ProtoMessage()
func (*ListAppOAutherReply_Data) ProtoReflect ¶
func (x *ListAppOAutherReply_Data) ProtoReflect() protoreflect.Message
func (*ListAppOAutherReply_Data) Reset ¶
func (x *ListAppOAutherReply_Data) Reset()
func (*ListAppOAutherReply_Data) String ¶
func (x *ListAppOAutherReply_Data) String() string
func (*ListAppOAutherReply_Data) Validate ¶
func (m *ListAppOAutherReply_Data) Validate() error
Validate checks the field values on ListAppOAutherReply_Data 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 (*ListAppOAutherReply_Data) ValidateAll ¶
func (m *ListAppOAutherReply_Data) ValidateAll() error
ValidateAll checks the field values on ListAppOAutherReply_Data 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 ListAppOAutherReply_DataMultiError, or nil if none found.
type ListAppOAutherReply_DataMultiError ¶
type ListAppOAutherReply_DataMultiError []error
ListAppOAutherReply_DataMultiError is an error wrapping multiple validation errors returned by ListAppOAutherReply_Data.ValidateAll() if the designated constraints aren't met.
func (ListAppOAutherReply_DataMultiError) AllErrors ¶
func (m ListAppOAutherReply_DataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAppOAutherReply_DataMultiError) Error ¶
func (m ListAppOAutherReply_DataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAppOAutherReply_DataValidationError ¶
type ListAppOAutherReply_DataValidationError struct {
// contains filtered or unexported fields
}
ListAppOAutherReply_DataValidationError is the validation error returned by ListAppOAutherReply_Data.Validate if the designated constraints aren't met.
func (ListAppOAutherReply_DataValidationError) Cause ¶
func (e ListAppOAutherReply_DataValidationError) Cause() error
Cause function returns cause value.
func (ListAppOAutherReply_DataValidationError) Error ¶
func (e ListAppOAutherReply_DataValidationError) Error() string
Error satisfies the builtin error interface
func (ListAppOAutherReply_DataValidationError) ErrorName ¶
func (e ListAppOAutherReply_DataValidationError) ErrorName() string
ErrorName returns error name.
func (ListAppOAutherReply_DataValidationError) Field ¶
func (e ListAppOAutherReply_DataValidationError) Field() string
Field function returns field value.
func (ListAppOAutherReply_DataValidationError) Key ¶
func (e ListAppOAutherReply_DataValidationError) Key() bool
Key function returns key value.
func (ListAppOAutherReply_DataValidationError) Reason ¶
func (e ListAppOAutherReply_DataValidationError) Reason() string
Reason function returns reason value.
type ListAppOAutherRequest ¶
type ListAppOAutherRequest 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"`
AppId uint32 `protobuf:"varint,7,opt,name=appId,proto3" json:"appId,omitempty"`
// contains filtered or unexported fields
}
func (*ListAppOAutherRequest) Descriptor
deprecated
func (*ListAppOAutherRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAppOAutherRequest.ProtoReflect.Descriptor instead.
func (*ListAppOAutherRequest) GetAppId ¶
func (x *ListAppOAutherRequest) GetAppId() uint32
func (*ListAppOAutherRequest) GetKeyword ¶
func (x *ListAppOAutherRequest) GetKeyword() string
func (*ListAppOAutherRequest) GetName ¶
func (x *ListAppOAutherRequest) GetName() string
func (*ListAppOAutherRequest) GetOrder ¶
func (x *ListAppOAutherRequest) GetOrder() string
func (*ListAppOAutherRequest) GetOrderBy ¶
func (x *ListAppOAutherRequest) GetOrderBy() string
func (*ListAppOAutherRequest) GetPage ¶
func (x *ListAppOAutherRequest) GetPage() uint32
func (*ListAppOAutherRequest) GetPageSize ¶
func (x *ListAppOAutherRequest) GetPageSize() uint32
func (*ListAppOAutherRequest) ProtoMessage ¶
func (*ListAppOAutherRequest) ProtoMessage()
func (*ListAppOAutherRequest) ProtoReflect ¶
func (x *ListAppOAutherRequest) ProtoReflect() protoreflect.Message
func (*ListAppOAutherRequest) Reset ¶
func (x *ListAppOAutherRequest) Reset()
func (*ListAppOAutherRequest) String ¶
func (x *ListAppOAutherRequest) String() string
func (*ListAppOAutherRequest) Validate ¶
func (m *ListAppOAutherRequest) Validate() error
Validate checks the field values on ListAppOAutherRequest 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 (*ListAppOAutherRequest) ValidateAll ¶
func (m *ListAppOAutherRequest) ValidateAll() error
ValidateAll checks the field values on ListAppOAutherRequest 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 ListAppOAutherRequestMultiError, or nil if none found.
type ListAppOAutherRequestMultiError ¶
type ListAppOAutherRequestMultiError []error
ListAppOAutherRequestMultiError is an error wrapping multiple validation errors returned by ListAppOAutherRequest.ValidateAll() if the designated constraints aren't met.
func (ListAppOAutherRequestMultiError) AllErrors ¶
func (m ListAppOAutherRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAppOAutherRequestMultiError) Error ¶
func (m ListAppOAutherRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAppOAutherRequestValidationError ¶
type ListAppOAutherRequestValidationError struct {
// contains filtered or unexported fields
}
ListAppOAutherRequestValidationError is the validation error returned by ListAppOAutherRequest.Validate if the designated constraints aren't met.
func (ListAppOAutherRequestValidationError) Cause ¶
func (e ListAppOAutherRequestValidationError) Cause() error
Cause function returns cause value.
func (ListAppOAutherRequestValidationError) Error ¶
func (e ListAppOAutherRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListAppOAutherRequestValidationError) ErrorName ¶
func (e ListAppOAutherRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListAppOAutherRequestValidationError) Field ¶
func (e ListAppOAutherRequestValidationError) Field() string
Field function returns field value.
func (ListAppOAutherRequestValidationError) Key ¶
func (e ListAppOAutherRequestValidationError) Key() bool
Key function returns key value.
func (ListAppOAutherRequestValidationError) Reason ¶
func (e ListAppOAutherRequestValidationError) Reason() string
Reason function returns reason value.
type OAuther ¶
type OAuther 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"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*OAuther) Descriptor
deprecated
func (*OAuther) GetKeyword ¶
func (*OAuther) ProtoMessage ¶
func (*OAuther) ProtoMessage()
func (*OAuther) ProtoReflect ¶
func (x *OAuther) ProtoReflect() protoreflect.Message
func (*OAuther) Validate ¶
Validate checks the field values on OAuther 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 (*OAuther) ValidateAll ¶
ValidateAll checks the field values on OAuther 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 OAutherMultiError, or nil if none found.
type OAutherMultiError ¶
type OAutherMultiError []error
OAutherMultiError is an error wrapping multiple validation errors returned by OAuther.ValidateAll() if the designated constraints aren't met.
func (OAutherMultiError) AllErrors ¶
func (m OAutherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OAutherMultiError) Error ¶
func (m OAutherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OAutherValidationError ¶
type OAutherValidationError struct {
// contains filtered or unexported fields
}
OAutherValidationError is the validation error returned by OAuther.Validate if the designated constraints aren't met.
func (OAutherValidationError) Cause ¶
func (e OAutherValidationError) Cause() error
Cause function returns cause value.
func (OAutherValidationError) Error ¶
func (e OAutherValidationError) Error() string
Error satisfies the builtin error interface
func (OAutherValidationError) ErrorName ¶
func (e OAutherValidationError) ErrorName() string
ErrorName returns error name.
func (OAutherValidationError) Field ¶
func (e OAutherValidationError) Field() string
Field function returns field value.
func (OAutherValidationError) Key ¶
func (e OAutherValidationError) Key() bool
Key function returns key value.
func (OAutherValidationError) Reason ¶
func (e OAutherValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAppOAutherServer ¶
type UnimplementedAppOAutherServer struct{}
UnimplementedAppOAutherServer must be embedded to have forward compatible implementations.
func (UnimplementedAppOAutherServer) CreateAppOAuther ¶
func (UnimplementedAppOAutherServer) CreateAppOAuther(context.Context, *CreateAppOAutherRequest) (*CreateAppOAutherReply, error)
func (UnimplementedAppOAutherServer) DeleteAppOAuther ¶
func (UnimplementedAppOAutherServer) DeleteAppOAuther(context.Context, *DeleteAppOAutherRequest) (*DeleteAppOAutherReply, error)
func (UnimplementedAppOAutherServer) ListAppOAuther ¶
func (UnimplementedAppOAutherServer) ListAppOAuther(context.Context, *ListAppOAutherRequest) (*ListAppOAutherReply, error)
type UnsafeAppOAutherServer ¶
type UnsafeAppOAutherServer interface {
// contains filtered or unexported methods
}
UnsafeAppOAutherServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppOAutherServer will result in compilation errors.