Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAppHTTPServer(s *http.Server, srv AppHTTPServer)
- func RegisterAppServer(s grpc.ServiceRegistrar, srv AppServer)
- type AppClient
- type AppHTTPClient
- type AppHTTPClientImpl
- func (c *AppHTTPClientImpl) CreateApp(ctx context.Context, in *CreateAppRequest, opts ...http.CallOption) (*CreateAppReply, error)
- func (c *AppHTTPClientImpl) DeleteApp(ctx context.Context, in *DeleteAppRequest, opts ...http.CallOption) (*DeleteAppReply, error)
- func (c *AppHTTPClientImpl) GetApp(ctx context.Context, in *GetAppRequest, opts ...http.CallOption) (*GetAppReply, error)
- func (c *AppHTTPClientImpl) ListApp(ctx context.Context, in *ListAppRequest, opts ...http.CallOption) (*ListAppReply, error)
- func (c *AppHTTPClientImpl) UpdateApp(ctx context.Context, in *UpdateAppRequest, opts ...http.CallOption) (*UpdateAppReply, error)
- func (c *AppHTTPClientImpl) UpdateAppStatus(ctx context.Context, in *UpdateAppStatusRequest, opts ...http.CallOption) (*UpdateAppStatusReply, error)
- type AppHTTPServer
- type AppServer
- type CreateAppReply
- func (*CreateAppReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAppReply) GetId() uint32
- func (*CreateAppReply) ProtoMessage()
- func (x *CreateAppReply) ProtoReflect() protoreflect.Message
- func (x *CreateAppReply) Reset()
- func (x *CreateAppReply) String() string
- func (m *CreateAppReply) Validate() error
- func (m *CreateAppReply) ValidateAll() error
- type CreateAppReplyMultiError
- type CreateAppReplyValidationError
- func (e CreateAppReplyValidationError) Cause() error
- func (e CreateAppReplyValidationError) Error() string
- func (e CreateAppReplyValidationError) ErrorName() string
- func (e CreateAppReplyValidationError) Field() string
- func (e CreateAppReplyValidationError) Key() bool
- func (e CreateAppReplyValidationError) Reason() string
- type CreateAppRequest
- func (*CreateAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAppRequest) GetAllowRegistry() bool
- func (x *CreateAppRequest) GetChannelIds() []uint32
- func (x *CreateAppRequest) GetCopyright() string
- func (x *CreateAppRequest) GetDescription() string
- func (x *CreateAppRequest) GetExtra() string
- func (x *CreateAppRequest) GetFieldIds() []uint32
- func (x *CreateAppRequest) GetKeyword() string
- func (x *CreateAppRequest) GetLogo() string
- func (x *CreateAppRequest) GetName() string
- func (x *CreateAppRequest) GetVersion() string
- func (*CreateAppRequest) ProtoMessage()
- func (x *CreateAppRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAppRequest) Reset()
- func (x *CreateAppRequest) String() string
- func (m *CreateAppRequest) Validate() error
- func (m *CreateAppRequest) ValidateAll() error
- type CreateAppRequestMultiError
- type CreateAppRequestValidationError
- func (e CreateAppRequestValidationError) Cause() error
- func (e CreateAppRequestValidationError) Error() string
- func (e CreateAppRequestValidationError) ErrorName() string
- func (e CreateAppRequestValidationError) Field() string
- func (e CreateAppRequestValidationError) Key() bool
- func (e CreateAppRequestValidationError) Reason() string
- type DeleteAppReply
- func (*DeleteAppReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteAppReply) ProtoMessage()
- func (x *DeleteAppReply) ProtoReflect() protoreflect.Message
- func (x *DeleteAppReply) Reset()
- func (x *DeleteAppReply) String() string
- func (m *DeleteAppReply) Validate() error
- func (m *DeleteAppReply) ValidateAll() error
- type DeleteAppReplyMultiError
- type DeleteAppReplyValidationError
- func (e DeleteAppReplyValidationError) Cause() error
- func (e DeleteAppReplyValidationError) Error() string
- func (e DeleteAppReplyValidationError) ErrorName() string
- func (e DeleteAppReplyValidationError) Field() string
- func (e DeleteAppReplyValidationError) Key() bool
- func (e DeleteAppReplyValidationError) Reason() string
- type DeleteAppRequest
- func (*DeleteAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAppRequest) GetId() uint32
- func (*DeleteAppRequest) ProtoMessage()
- func (x *DeleteAppRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAppRequest) Reset()
- func (x *DeleteAppRequest) String() string
- func (m *DeleteAppRequest) Validate() error
- func (m *DeleteAppRequest) ValidateAll() error
- type DeleteAppRequestMultiError
- type DeleteAppRequestValidationError
- func (e DeleteAppRequestValidationError) Cause() error
- func (e DeleteAppRequestValidationError) Error() string
- func (e DeleteAppRequestValidationError) ErrorName() string
- func (e DeleteAppRequestValidationError) Field() string
- func (e DeleteAppRequestValidationError) Key() bool
- func (e DeleteAppRequestValidationError) Reason() string
- type GetAppReply
- func (*GetAppReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppReply) GetAllowRegistry() bool
- func (x *GetAppReply) GetChannels() []*GetAppReply_Channel
- func (x *GetAppReply) GetCopyright() string
- func (x *GetAppReply) GetCreatedAt() uint32
- func (x *GetAppReply) GetDescription() string
- func (x *GetAppReply) GetDisableDesc() string
- func (x *GetAppReply) GetExtra() string
- func (x *GetAppReply) GetFields() []*GetAppReply_Field
- func (x *GetAppReply) GetId() uint32
- func (x *GetAppReply) GetKeyword() string
- func (x *GetAppReply) GetLogo() string
- func (x *GetAppReply) GetLogoUrl() string
- func (x *GetAppReply) GetName() string
- func (x *GetAppReply) GetStatus() bool
- func (x *GetAppReply) GetUpdatedAt() uint32
- func (x *GetAppReply) GetVersion() string
- func (*GetAppReply) ProtoMessage()
- func (x *GetAppReply) ProtoReflect() protoreflect.Message
- func (x *GetAppReply) Reset()
- func (x *GetAppReply) String() string
- func (m *GetAppReply) Validate() error
- func (m *GetAppReply) ValidateAll() error
- type GetAppReplyMultiError
- type GetAppReplyValidationError
- func (e GetAppReplyValidationError) Cause() error
- func (e GetAppReplyValidationError) Error() string
- func (e GetAppReplyValidationError) ErrorName() string
- func (e GetAppReplyValidationError) Field() string
- func (e GetAppReplyValidationError) Key() bool
- func (e GetAppReplyValidationError) Reason() string
- type GetAppReply_Channel
- func (*GetAppReply_Channel) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppReply_Channel) GetId() uint32
- func (x *GetAppReply_Channel) GetKeyword() string
- func (x *GetAppReply_Channel) GetLogo() string
- func (x *GetAppReply_Channel) GetName() string
- func (*GetAppReply_Channel) ProtoMessage()
- func (x *GetAppReply_Channel) ProtoReflect() protoreflect.Message
- func (x *GetAppReply_Channel) Reset()
- func (x *GetAppReply_Channel) String() string
- func (m *GetAppReply_Channel) Validate() error
- func (m *GetAppReply_Channel) ValidateAll() error
- type GetAppReply_ChannelMultiError
- type GetAppReply_ChannelValidationError
- func (e GetAppReply_ChannelValidationError) Cause() error
- func (e GetAppReply_ChannelValidationError) Error() string
- func (e GetAppReply_ChannelValidationError) ErrorName() string
- func (e GetAppReply_ChannelValidationError) Field() string
- func (e GetAppReply_ChannelValidationError) Key() bool
- func (e GetAppReply_ChannelValidationError) Reason() string
- type GetAppReply_Field
- func (*GetAppReply_Field) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppReply_Field) GetId() uint32
- func (x *GetAppReply_Field) GetKeyword() string
- func (x *GetAppReply_Field) GetName() string
- func (x *GetAppReply_Field) GetType() string
- func (*GetAppReply_Field) ProtoMessage()
- func (x *GetAppReply_Field) ProtoReflect() protoreflect.Message
- func (x *GetAppReply_Field) Reset()
- func (x *GetAppReply_Field) String() string
- func (m *GetAppReply_Field) Validate() error
- func (m *GetAppReply_Field) ValidateAll() error
- type GetAppReply_FieldMultiError
- type GetAppReply_FieldValidationError
- func (e GetAppReply_FieldValidationError) Cause() error
- func (e GetAppReply_FieldValidationError) Error() string
- func (e GetAppReply_FieldValidationError) ErrorName() string
- func (e GetAppReply_FieldValidationError) Field() string
- func (e GetAppReply_FieldValidationError) Key() bool
- func (e GetAppReply_FieldValidationError) Reason() string
- type GetAppRequest
- func (*GetAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppRequest) GetId() uint32
- func (x *GetAppRequest) GetKeyword() string
- func (*GetAppRequest) ProtoMessage()
- func (x *GetAppRequest) ProtoReflect() protoreflect.Message
- func (x *GetAppRequest) Reset()
- func (x *GetAppRequest) String() string
- func (m *GetAppRequest) Validate() error
- func (m *GetAppRequest) ValidateAll() error
- type GetAppRequestMultiError
- type GetAppRequestValidationError
- func (e GetAppRequestValidationError) Cause() error
- func (e GetAppRequestValidationError) Error() string
- func (e GetAppRequestValidationError) ErrorName() string
- func (e GetAppRequestValidationError) Field() string
- func (e GetAppRequestValidationError) Key() bool
- func (e GetAppRequestValidationError) Reason() string
- type ListAppReply
- func (*ListAppReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListAppReply) GetList() []*ListAppReply_App
- func (x *ListAppReply) GetTotal() uint32
- func (*ListAppReply) ProtoMessage()
- func (x *ListAppReply) ProtoReflect() protoreflect.Message
- func (x *ListAppReply) Reset()
- func (x *ListAppReply) String() string
- func (m *ListAppReply) Validate() error
- func (m *ListAppReply) ValidateAll() error
- type ListAppReplyMultiError
- type ListAppReplyValidationError
- func (e ListAppReplyValidationError) Cause() error
- func (e ListAppReplyValidationError) Error() string
- func (e ListAppReplyValidationError) ErrorName() string
- func (e ListAppReplyValidationError) Field() string
- func (e ListAppReplyValidationError) Key() bool
- func (e ListAppReplyValidationError) Reason() string
- type ListAppReply_App
- func (*ListAppReply_App) Descriptor() ([]byte, []int)deprecated
- func (x *ListAppReply_App) GetAllowRegistry() bool
- func (x *ListAppReply_App) GetCopyright() string
- func (x *ListAppReply_App) GetCreatedAt() uint32
- func (x *ListAppReply_App) GetDescription() string
- func (x *ListAppReply_App) GetDisableDesc() string
- func (x *ListAppReply_App) GetExtra() string
- func (x *ListAppReply_App) GetId() uint32
- func (x *ListAppReply_App) GetKeyword() string
- func (x *ListAppReply_App) GetLogo() string
- func (x *ListAppReply_App) GetLogoUrl() string
- func (x *ListAppReply_App) GetName() string
- func (x *ListAppReply_App) GetStatus() bool
- func (x *ListAppReply_App) GetUpdatedAt() uint32
- func (x *ListAppReply_App) GetVersion() string
- func (*ListAppReply_App) ProtoMessage()
- func (x *ListAppReply_App) ProtoReflect() protoreflect.Message
- func (x *ListAppReply_App) Reset()
- func (x *ListAppReply_App) String() string
- func (m *ListAppReply_App) Validate() error
- func (m *ListAppReply_App) ValidateAll() error
- type ListAppReply_AppMultiError
- type ListAppReply_AppValidationError
- func (e ListAppReply_AppValidationError) Cause() error
- func (e ListAppReply_AppValidationError) Error() string
- func (e ListAppReply_AppValidationError) ErrorName() string
- func (e ListAppReply_AppValidationError) Field() string
- func (e ListAppReply_AppValidationError) Key() bool
- func (e ListAppReply_AppValidationError) Reason() string
- type ListAppRequest
- func (*ListAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAppRequest) GetKeyword() string
- func (x *ListAppRequest) GetName() string
- func (x *ListAppRequest) GetOrder() string
- func (x *ListAppRequest) GetOrderBy() string
- func (x *ListAppRequest) GetPage() uint32
- func (x *ListAppRequest) GetPageSize() uint32
- func (x *ListAppRequest) GetStatus() bool
- func (*ListAppRequest) ProtoMessage()
- func (x *ListAppRequest) ProtoReflect() protoreflect.Message
- func (x *ListAppRequest) Reset()
- func (x *ListAppRequest) String() string
- func (m *ListAppRequest) Validate() error
- func (m *ListAppRequest) ValidateAll() error
- type ListAppRequestMultiError
- type ListAppRequestValidationError
- func (e ListAppRequestValidationError) Cause() error
- func (e ListAppRequestValidationError) Error() string
- func (e ListAppRequestValidationError) ErrorName() string
- func (e ListAppRequestValidationError) Field() string
- func (e ListAppRequestValidationError) Key() bool
- func (e ListAppRequestValidationError) Reason() string
- type UnimplementedAppServer
- func (UnimplementedAppServer) CreateApp(context.Context, *CreateAppRequest) (*CreateAppReply, error)
- func (UnimplementedAppServer) DeleteApp(context.Context, *DeleteAppRequest) (*DeleteAppReply, error)
- func (UnimplementedAppServer) GetApp(context.Context, *GetAppRequest) (*GetAppReply, error)
- func (UnimplementedAppServer) ListApp(context.Context, *ListAppRequest) (*ListAppReply, error)
- func (UnimplementedAppServer) UpdateApp(context.Context, *UpdateAppRequest) (*UpdateAppReply, error)
- func (UnimplementedAppServer) UpdateAppStatus(context.Context, *UpdateAppStatusRequest) (*UpdateAppStatusReply, error)
- type UnsafeAppServer
- type UpdateAppReply
- func (*UpdateAppReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateAppReply) ProtoMessage()
- func (x *UpdateAppReply) ProtoReflect() protoreflect.Message
- func (x *UpdateAppReply) Reset()
- func (x *UpdateAppReply) String() string
- func (m *UpdateAppReply) Validate() error
- func (m *UpdateAppReply) ValidateAll() error
- type UpdateAppReplyMultiError
- type UpdateAppReplyValidationError
- func (e UpdateAppReplyValidationError) Cause() error
- func (e UpdateAppReplyValidationError) Error() string
- func (e UpdateAppReplyValidationError) ErrorName() string
- func (e UpdateAppReplyValidationError) Field() string
- func (e UpdateAppReplyValidationError) Key() bool
- func (e UpdateAppReplyValidationError) Reason() string
- type UpdateAppRequest
- func (*UpdateAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAppRequest) GetAllowRegistry() bool
- func (x *UpdateAppRequest) GetChannelIds() []uint32
- func (x *UpdateAppRequest) GetCopyright() string
- func (x *UpdateAppRequest) GetDescription() string
- func (x *UpdateAppRequest) GetExtra() string
- func (x *UpdateAppRequest) GetFieldIds() []uint32
- func (x *UpdateAppRequest) GetId() uint32
- func (x *UpdateAppRequest) GetKeyword() string
- func (x *UpdateAppRequest) GetLogo() string
- func (x *UpdateAppRequest) GetName() string
- func (x *UpdateAppRequest) GetVersion() string
- func (*UpdateAppRequest) ProtoMessage()
- func (x *UpdateAppRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAppRequest) Reset()
- func (x *UpdateAppRequest) String() string
- func (m *UpdateAppRequest) Validate() error
- func (m *UpdateAppRequest) ValidateAll() error
- type UpdateAppRequestMultiError
- type UpdateAppRequestValidationError
- func (e UpdateAppRequestValidationError) Cause() error
- func (e UpdateAppRequestValidationError) Error() string
- func (e UpdateAppRequestValidationError) ErrorName() string
- func (e UpdateAppRequestValidationError) Field() string
- func (e UpdateAppRequestValidationError) Key() bool
- func (e UpdateAppRequestValidationError) Reason() string
- type UpdateAppStatusReply
- func (*UpdateAppStatusReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateAppStatusReply) ProtoMessage()
- func (x *UpdateAppStatusReply) ProtoReflect() protoreflect.Message
- func (x *UpdateAppStatusReply) Reset()
- func (x *UpdateAppStatusReply) String() string
- func (m *UpdateAppStatusReply) Validate() error
- func (m *UpdateAppStatusReply) ValidateAll() error
- type UpdateAppStatusReplyMultiError
- type UpdateAppStatusReplyValidationError
- func (e UpdateAppStatusReplyValidationError) Cause() error
- func (e UpdateAppStatusReplyValidationError) Error() string
- func (e UpdateAppStatusReplyValidationError) ErrorName() string
- func (e UpdateAppStatusReplyValidationError) Field() string
- func (e UpdateAppStatusReplyValidationError) Key() bool
- func (e UpdateAppStatusReplyValidationError) Reason() string
- type UpdateAppStatusRequest
- func (*UpdateAppStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAppStatusRequest) GetDisableDesc() string
- func (x *UpdateAppStatusRequest) GetId() uint32
- func (x *UpdateAppStatusRequest) GetStatus() bool
- func (*UpdateAppStatusRequest) ProtoMessage()
- func (x *UpdateAppStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAppStatusRequest) Reset()
- func (x *UpdateAppStatusRequest) String() string
- func (m *UpdateAppStatusRequest) Validate() error
- func (m *UpdateAppStatusRequest) ValidateAll() error
- type UpdateAppStatusRequestMultiError
- type UpdateAppStatusRequestValidationError
- func (e UpdateAppStatusRequestValidationError) Cause() error
- func (e UpdateAppStatusRequestValidationError) Error() string
- func (e UpdateAppStatusRequestValidationError) ErrorName() string
- func (e UpdateAppStatusRequestValidationError) Field() string
- func (e UpdateAppStatusRequestValidationError) Key() bool
- func (e UpdateAppStatusRequestValidationError) Reason() string
Constants ¶
const ( App_GetApp_FullMethodName = "/application.api.application.app.v1.App/GetApp" App_ListApp_FullMethodName = "/application.api.application.app.v1.App/ListApp" App_CreateApp_FullMethodName = "/application.api.application.app.v1.App/CreateApp" App_UpdateApp_FullMethodName = "/application.api.application.app.v1.App/UpdateApp" App_UpdateAppStatus_FullMethodName = "/application.api.application.app.v1.App/UpdateAppStatus" App_DeleteApp_FullMethodName = "/application.api.application.app.v1.App/DeleteApp" )
const OperationAppCreateApp = "/application.api.application.app.v1.App/CreateApp"
const OperationAppDeleteApp = "/application.api.application.app.v1.App/DeleteApp"
const OperationAppGetApp = "/application.api.application.app.v1.App/GetApp"
const OperationAppListApp = "/application.api.application.app.v1.App/ListApp"
const OperationAppUpdateApp = "/application.api.application.app.v1.App/UpdateApp"
const OperationAppUpdateAppStatus = "/application.api.application.app.v1.App/UpdateAppStatus"
Variables ¶
var App_ServiceDesc = grpc.ServiceDesc{ ServiceName: "application.api.application.app.v1.App", HandlerType: (*AppServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetApp", Handler: _App_GetApp_Handler, }, { MethodName: "ListApp", Handler: _App_ListApp_Handler, }, { MethodName: "CreateApp", Handler: _App_CreateApp_Handler, }, { MethodName: "UpdateApp", Handler: _App_UpdateApp_Handler, }, { MethodName: "UpdateAppStatus", Handler: _App_UpdateAppStatus_Handler, }, { MethodName: "DeleteApp", Handler: _App_DeleteApp_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/application/app/application_app_service.proto", }
App_ServiceDesc is the grpc.ServiceDesc for App 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_app_application_app_proto protoreflect.FileDescriptor
var File_api_application_app_application_app_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAppHTTPServer ¶
func RegisterAppHTTPServer(s *http.Server, srv AppHTTPServer)
func RegisterAppServer ¶
func RegisterAppServer(s grpc.ServiceRegistrar, srv AppServer)
Types ¶
type AppClient ¶
type AppClient interface { // GetApp 获取指定的应用信息 GetApp(ctx context.Context, in *GetAppRequest, opts ...grpc.CallOption) (*GetAppReply, error) // ListApp 获取应用信息列表 ListApp(ctx context.Context, in *ListAppRequest, opts ...grpc.CallOption) (*ListAppReply, error) // CreateApp 创建应用信息 CreateApp(ctx context.Context, in *CreateAppRequest, opts ...grpc.CallOption) (*CreateAppReply, error) // UpdateApp 更新应用信息 UpdateApp(ctx context.Context, in *UpdateAppRequest, opts ...grpc.CallOption) (*UpdateAppReply, error) // UpdateAppStatus 更新应用信息状态 UpdateAppStatus(ctx context.Context, in *UpdateAppStatusRequest, opts ...grpc.CallOption) (*UpdateAppStatusReply, error) // DeleteApp 删除应用信息 DeleteApp(ctx context.Context, in *DeleteAppRequest, opts ...grpc.CallOption) (*DeleteAppReply, error) }
AppClient is the client API for App 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 NewAppClient ¶
func NewAppClient(cc grpc.ClientConnInterface) AppClient
type AppHTTPClient ¶
type AppHTTPClient interface { CreateApp(ctx context.Context, req *CreateAppRequest, opts ...http.CallOption) (rsp *CreateAppReply, err error) DeleteApp(ctx context.Context, req *DeleteAppRequest, opts ...http.CallOption) (rsp *DeleteAppReply, err error) GetApp(ctx context.Context, req *GetAppRequest, opts ...http.CallOption) (rsp *GetAppReply, err error) ListApp(ctx context.Context, req *ListAppRequest, opts ...http.CallOption) (rsp *ListAppReply, err error) UpdateApp(ctx context.Context, req *UpdateAppRequest, opts ...http.CallOption) (rsp *UpdateAppReply, err error) UpdateAppStatus(ctx context.Context, req *UpdateAppStatusRequest, opts ...http.CallOption) (rsp *UpdateAppStatusReply, err error) }
func NewAppHTTPClient ¶
func NewAppHTTPClient(client *http.Client) AppHTTPClient
type AppHTTPClientImpl ¶
type AppHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AppHTTPClientImpl) CreateApp ¶
func (c *AppHTTPClientImpl) CreateApp(ctx context.Context, in *CreateAppRequest, opts ...http.CallOption) (*CreateAppReply, error)
func (*AppHTTPClientImpl) DeleteApp ¶
func (c *AppHTTPClientImpl) DeleteApp(ctx context.Context, in *DeleteAppRequest, opts ...http.CallOption) (*DeleteAppReply, error)
func (*AppHTTPClientImpl) GetApp ¶
func (c *AppHTTPClientImpl) GetApp(ctx context.Context, in *GetAppRequest, opts ...http.CallOption) (*GetAppReply, error)
func (*AppHTTPClientImpl) ListApp ¶
func (c *AppHTTPClientImpl) ListApp(ctx context.Context, in *ListAppRequest, opts ...http.CallOption) (*ListAppReply, error)
func (*AppHTTPClientImpl) UpdateApp ¶
func (c *AppHTTPClientImpl) UpdateApp(ctx context.Context, in *UpdateAppRequest, opts ...http.CallOption) (*UpdateAppReply, error)
func (*AppHTTPClientImpl) UpdateAppStatus ¶
func (c *AppHTTPClientImpl) UpdateAppStatus(ctx context.Context, in *UpdateAppStatusRequest, opts ...http.CallOption) (*UpdateAppStatusReply, error)
type AppHTTPServer ¶
type AppHTTPServer interface { // CreateApp CreateApp 创建应用信息 CreateApp(context.Context, *CreateAppRequest) (*CreateAppReply, error) // DeleteApp DeleteApp 删除应用信息 DeleteApp(context.Context, *DeleteAppRequest) (*DeleteAppReply, error) // GetApp GetApp 获取指定的应用信息 GetApp(context.Context, *GetAppRequest) (*GetAppReply, error) // ListApp ListApp 获取应用信息列表 ListApp(context.Context, *ListAppRequest) (*ListAppReply, error) // UpdateApp UpdateApp 更新应用信息 UpdateApp(context.Context, *UpdateAppRequest) (*UpdateAppReply, error) // UpdateAppStatus UpdateAppStatus 更新应用信息状态 UpdateAppStatus(context.Context, *UpdateAppStatusRequest) (*UpdateAppStatusReply, error) }
type AppServer ¶
type AppServer interface { // GetApp 获取指定的应用信息 GetApp(context.Context, *GetAppRequest) (*GetAppReply, error) // ListApp 获取应用信息列表 ListApp(context.Context, *ListAppRequest) (*ListAppReply, error) // CreateApp 创建应用信息 CreateApp(context.Context, *CreateAppRequest) (*CreateAppReply, error) // UpdateApp 更新应用信息 UpdateApp(context.Context, *UpdateAppRequest) (*UpdateAppReply, error) // UpdateAppStatus 更新应用信息状态 UpdateAppStatus(context.Context, *UpdateAppStatusRequest) (*UpdateAppStatusReply, error) // DeleteApp 删除应用信息 DeleteApp(context.Context, *DeleteAppRequest) (*DeleteAppReply, error) // contains filtered or unexported methods }
AppServer is the server API for App service. All implementations must embed UnimplementedAppServer for forward compatibility
type CreateAppReply ¶
type CreateAppReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateAppReply) Descriptor
deprecated
func (*CreateAppReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateAppReply.ProtoReflect.Descriptor instead.
func (*CreateAppReply) GetId ¶
func (x *CreateAppReply) GetId() uint32
func (*CreateAppReply) ProtoMessage ¶
func (*CreateAppReply) ProtoMessage()
func (*CreateAppReply) ProtoReflect ¶
func (x *CreateAppReply) ProtoReflect() protoreflect.Message
func (*CreateAppReply) Reset ¶
func (x *CreateAppReply) Reset()
func (*CreateAppReply) String ¶
func (x *CreateAppReply) String() string
func (*CreateAppReply) Validate ¶
func (m *CreateAppReply) Validate() error
Validate checks the field values on CreateAppReply 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 (*CreateAppReply) ValidateAll ¶
func (m *CreateAppReply) ValidateAll() error
ValidateAll checks the field values on CreateAppReply 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 CreateAppReplyMultiError, or nil if none found.
type CreateAppReplyMultiError ¶
type CreateAppReplyMultiError []error
CreateAppReplyMultiError is an error wrapping multiple validation errors returned by CreateAppReply.ValidateAll() if the designated constraints aren't met.
func (CreateAppReplyMultiError) AllErrors ¶
func (m CreateAppReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAppReplyMultiError) Error ¶
func (m CreateAppReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAppReplyValidationError ¶
type CreateAppReplyValidationError struct {
// contains filtered or unexported fields
}
CreateAppReplyValidationError is the validation error returned by CreateAppReply.Validate if the designated constraints aren't met.
func (CreateAppReplyValidationError) Cause ¶
func (e CreateAppReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateAppReplyValidationError) Error ¶
func (e CreateAppReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAppReplyValidationError) ErrorName ¶
func (e CreateAppReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAppReplyValidationError) Field ¶
func (e CreateAppReplyValidationError) Field() string
Field function returns field value.
func (CreateAppReplyValidationError) Key ¶
func (e CreateAppReplyValidationError) Key() bool
Key function returns key value.
func (CreateAppReplyValidationError) Reason ¶
func (e CreateAppReplyValidationError) Reason() string
Reason function returns reason value.
type CreateAppRequest ¶
type CreateAppRequest 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"` AllowRegistry *bool `protobuf:"varint,4,opt,name=allowRegistry,proto3,oneof" json:"allowRegistry,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` Copyright string `protobuf:"bytes,6,opt,name=copyright,proto3" json:"copyright,omitempty"` Extra *string `protobuf:"bytes,7,opt,name=extra,proto3,oneof" json:"extra,omitempty"` Description *string `protobuf:"bytes,8,opt,name=description,proto3,oneof" json:"description,omitempty"` ChannelIds []uint32 `protobuf:"varint,9,rep,packed,name=channelIds,proto3" json:"channelIds,omitempty"` FieldIds []uint32 `protobuf:"varint,10,rep,packed,name=fieldIds,proto3" json:"fieldIds,omitempty"` // contains filtered or unexported fields }
func (*CreateAppRequest) Descriptor
deprecated
func (*CreateAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAppRequest.ProtoReflect.Descriptor instead.
func (*CreateAppRequest) GetAllowRegistry ¶
func (x *CreateAppRequest) GetAllowRegistry() bool
func (*CreateAppRequest) GetChannelIds ¶
func (x *CreateAppRequest) GetChannelIds() []uint32
func (*CreateAppRequest) GetCopyright ¶
func (x *CreateAppRequest) GetCopyright() string
func (*CreateAppRequest) GetDescription ¶
func (x *CreateAppRequest) GetDescription() string
func (*CreateAppRequest) GetExtra ¶
func (x *CreateAppRequest) GetExtra() string
func (*CreateAppRequest) GetFieldIds ¶
func (x *CreateAppRequest) GetFieldIds() []uint32
func (*CreateAppRequest) GetKeyword ¶
func (x *CreateAppRequest) GetKeyword() string
func (*CreateAppRequest) GetLogo ¶
func (x *CreateAppRequest) GetLogo() string
func (*CreateAppRequest) GetName ¶
func (x *CreateAppRequest) GetName() string
func (*CreateAppRequest) GetVersion ¶
func (x *CreateAppRequest) GetVersion() string
func (*CreateAppRequest) ProtoMessage ¶
func (*CreateAppRequest) ProtoMessage()
func (*CreateAppRequest) ProtoReflect ¶
func (x *CreateAppRequest) ProtoReflect() protoreflect.Message
func (*CreateAppRequest) Reset ¶
func (x *CreateAppRequest) Reset()
func (*CreateAppRequest) String ¶
func (x *CreateAppRequest) String() string
func (*CreateAppRequest) Validate ¶
func (m *CreateAppRequest) Validate() error
Validate checks the field values on CreateAppRequest 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 (*CreateAppRequest) ValidateAll ¶
func (m *CreateAppRequest) ValidateAll() error
ValidateAll checks the field values on CreateAppRequest 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 CreateAppRequestMultiError, or nil if none found.
type CreateAppRequestMultiError ¶
type CreateAppRequestMultiError []error
CreateAppRequestMultiError is an error wrapping multiple validation errors returned by CreateAppRequest.ValidateAll() if the designated constraints aren't met.
func (CreateAppRequestMultiError) AllErrors ¶
func (m CreateAppRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAppRequestMultiError) Error ¶
func (m CreateAppRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAppRequestValidationError ¶
type CreateAppRequestValidationError struct {
// contains filtered or unexported fields
}
CreateAppRequestValidationError is the validation error returned by CreateAppRequest.Validate if the designated constraints aren't met.
func (CreateAppRequestValidationError) Cause ¶
func (e CreateAppRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateAppRequestValidationError) Error ¶
func (e CreateAppRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAppRequestValidationError) ErrorName ¶
func (e CreateAppRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAppRequestValidationError) Field ¶
func (e CreateAppRequestValidationError) Field() string
Field function returns field value.
func (CreateAppRequestValidationError) Key ¶
func (e CreateAppRequestValidationError) Key() bool
Key function returns key value.
func (CreateAppRequestValidationError) Reason ¶
func (e CreateAppRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteAppReply ¶
type DeleteAppReply struct {
// contains filtered or unexported fields
}
func (*DeleteAppReply) Descriptor
deprecated
func (*DeleteAppReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAppReply.ProtoReflect.Descriptor instead.
func (*DeleteAppReply) ProtoMessage ¶
func (*DeleteAppReply) ProtoMessage()
func (*DeleteAppReply) ProtoReflect ¶
func (x *DeleteAppReply) ProtoReflect() protoreflect.Message
func (*DeleteAppReply) Reset ¶
func (x *DeleteAppReply) Reset()
func (*DeleteAppReply) String ¶
func (x *DeleteAppReply) String() string
func (*DeleteAppReply) Validate ¶
func (m *DeleteAppReply) Validate() error
Validate checks the field values on DeleteAppReply 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 (*DeleteAppReply) ValidateAll ¶
func (m *DeleteAppReply) ValidateAll() error
ValidateAll checks the field values on DeleteAppReply 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 DeleteAppReplyMultiError, or nil if none found.
type DeleteAppReplyMultiError ¶
type DeleteAppReplyMultiError []error
DeleteAppReplyMultiError is an error wrapping multiple validation errors returned by DeleteAppReply.ValidateAll() if the designated constraints aren't met.
func (DeleteAppReplyMultiError) AllErrors ¶
func (m DeleteAppReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAppReplyMultiError) Error ¶
func (m DeleteAppReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAppReplyValidationError ¶
type DeleteAppReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteAppReplyValidationError is the validation error returned by DeleteAppReply.Validate if the designated constraints aren't met.
func (DeleteAppReplyValidationError) Cause ¶
func (e DeleteAppReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteAppReplyValidationError) Error ¶
func (e DeleteAppReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAppReplyValidationError) ErrorName ¶
func (e DeleteAppReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAppReplyValidationError) Field ¶
func (e DeleteAppReplyValidationError) Field() string
Field function returns field value.
func (DeleteAppReplyValidationError) Key ¶
func (e DeleteAppReplyValidationError) Key() bool
Key function returns key value.
func (DeleteAppReplyValidationError) Reason ¶
func (e DeleteAppReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteAppRequest ¶
type DeleteAppRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAppRequest) Descriptor
deprecated
func (*DeleteAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAppRequest.ProtoReflect.Descriptor instead.
func (*DeleteAppRequest) GetId ¶
func (x *DeleteAppRequest) GetId() uint32
func (*DeleteAppRequest) ProtoMessage ¶
func (*DeleteAppRequest) ProtoMessage()
func (*DeleteAppRequest) ProtoReflect ¶
func (x *DeleteAppRequest) ProtoReflect() protoreflect.Message
func (*DeleteAppRequest) Reset ¶
func (x *DeleteAppRequest) Reset()
func (*DeleteAppRequest) String ¶
func (x *DeleteAppRequest) String() string
func (*DeleteAppRequest) Validate ¶
func (m *DeleteAppRequest) Validate() error
Validate checks the field values on DeleteAppRequest 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 (*DeleteAppRequest) ValidateAll ¶
func (m *DeleteAppRequest) ValidateAll() error
ValidateAll checks the field values on DeleteAppRequest 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 DeleteAppRequestMultiError, or nil if none found.
type DeleteAppRequestMultiError ¶
type DeleteAppRequestMultiError []error
DeleteAppRequestMultiError is an error wrapping multiple validation errors returned by DeleteAppRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteAppRequestMultiError) AllErrors ¶
func (m DeleteAppRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAppRequestMultiError) Error ¶
func (m DeleteAppRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAppRequestValidationError ¶
type DeleteAppRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteAppRequestValidationError is the validation error returned by DeleteAppRequest.Validate if the designated constraints aren't met.
func (DeleteAppRequestValidationError) Cause ¶
func (e DeleteAppRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteAppRequestValidationError) Error ¶
func (e DeleteAppRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAppRequestValidationError) ErrorName ¶
func (e DeleteAppRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAppRequestValidationError) Field ¶
func (e DeleteAppRequestValidationError) Field() string
Field function returns field value.
func (DeleteAppRequestValidationError) Key ¶
func (e DeleteAppRequestValidationError) Key() bool
Key function returns key value.
func (DeleteAppRequestValidationError) Reason ¶
func (e DeleteAppRequestValidationError) Reason() string
Reason function returns reason value.
type GetAppReply ¶
type GetAppReply 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"` DisableDesc *string `protobuf:"bytes,7,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"` AllowRegistry *bool `protobuf:"varint,8,opt,name=allowRegistry,proto3,oneof" json:"allowRegistry,omitempty"` Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"` Copyright string `protobuf:"bytes,10,opt,name=copyright,proto3" json:"copyright,omitempty"` Extra *string `protobuf:"bytes,11,opt,name=extra,proto3,oneof" json:"extra,omitempty"` Description *string `protobuf:"bytes,12,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,13,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,14,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Channels []*GetAppReply_Channel `protobuf:"bytes,15,rep,name=channels,proto3" json:"channels,omitempty"` Fields []*GetAppReply_Field `protobuf:"bytes,16,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*GetAppReply) Descriptor
deprecated
func (*GetAppReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAppReply.ProtoReflect.Descriptor instead.
func (*GetAppReply) GetAllowRegistry ¶
func (x *GetAppReply) GetAllowRegistry() bool
func (*GetAppReply) GetChannels ¶
func (x *GetAppReply) GetChannels() []*GetAppReply_Channel
func (*GetAppReply) GetCopyright ¶
func (x *GetAppReply) GetCopyright() string
func (*GetAppReply) GetCreatedAt ¶
func (x *GetAppReply) GetCreatedAt() uint32
func (*GetAppReply) GetDescription ¶
func (x *GetAppReply) GetDescription() string
func (*GetAppReply) GetDisableDesc ¶
func (x *GetAppReply) GetDisableDesc() string
func (*GetAppReply) GetExtra ¶
func (x *GetAppReply) GetExtra() string
func (*GetAppReply) GetFields ¶
func (x *GetAppReply) GetFields() []*GetAppReply_Field
func (*GetAppReply) GetId ¶
func (x *GetAppReply) GetId() uint32
func (*GetAppReply) GetKeyword ¶
func (x *GetAppReply) GetKeyword() string
func (*GetAppReply) GetLogo ¶
func (x *GetAppReply) GetLogo() string
func (*GetAppReply) GetLogoUrl ¶
func (x *GetAppReply) GetLogoUrl() string
func (*GetAppReply) GetName ¶
func (x *GetAppReply) GetName() string
func (*GetAppReply) GetStatus ¶
func (x *GetAppReply) GetStatus() bool
func (*GetAppReply) GetUpdatedAt ¶
func (x *GetAppReply) GetUpdatedAt() uint32
func (*GetAppReply) GetVersion ¶
func (x *GetAppReply) GetVersion() string
func (*GetAppReply) ProtoMessage ¶
func (*GetAppReply) ProtoMessage()
func (*GetAppReply) ProtoReflect ¶
func (x *GetAppReply) ProtoReflect() protoreflect.Message
func (*GetAppReply) Reset ¶
func (x *GetAppReply) Reset()
func (*GetAppReply) String ¶
func (x *GetAppReply) String() string
func (*GetAppReply) Validate ¶
func (m *GetAppReply) Validate() error
Validate checks the field values on GetAppReply 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 (*GetAppReply) ValidateAll ¶
func (m *GetAppReply) ValidateAll() error
ValidateAll checks the field values on GetAppReply 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 GetAppReplyMultiError, or nil if none found.
type GetAppReplyMultiError ¶
type GetAppReplyMultiError []error
GetAppReplyMultiError is an error wrapping multiple validation errors returned by GetAppReply.ValidateAll() if the designated constraints aren't met.
func (GetAppReplyMultiError) AllErrors ¶
func (m GetAppReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAppReplyMultiError) Error ¶
func (m GetAppReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAppReplyValidationError ¶
type GetAppReplyValidationError struct {
// contains filtered or unexported fields
}
GetAppReplyValidationError is the validation error returned by GetAppReply.Validate if the designated constraints aren't met.
func (GetAppReplyValidationError) Cause ¶
func (e GetAppReplyValidationError) Cause() error
Cause function returns cause value.
func (GetAppReplyValidationError) Error ¶
func (e GetAppReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetAppReplyValidationError) ErrorName ¶
func (e GetAppReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetAppReplyValidationError) Field ¶
func (e GetAppReplyValidationError) Field() string
Field function returns field value.
func (GetAppReplyValidationError) Key ¶
func (e GetAppReplyValidationError) Key() bool
Key function returns key value.
func (GetAppReplyValidationError) Reason ¶
func (e GetAppReplyValidationError) Reason() string
Reason function returns reason value.
type GetAppReply_Channel ¶
type GetAppReply_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"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*GetAppReply_Channel) Descriptor
deprecated
func (*GetAppReply_Channel) Descriptor() ([]byte, []int)
Deprecated: Use GetAppReply_Channel.ProtoReflect.Descriptor instead.
func (*GetAppReply_Channel) GetId ¶
func (x *GetAppReply_Channel) GetId() uint32
func (*GetAppReply_Channel) GetKeyword ¶
func (x *GetAppReply_Channel) GetKeyword() string
func (*GetAppReply_Channel) GetLogo ¶
func (x *GetAppReply_Channel) GetLogo() string
func (*GetAppReply_Channel) GetName ¶
func (x *GetAppReply_Channel) GetName() string
func (*GetAppReply_Channel) ProtoMessage ¶
func (*GetAppReply_Channel) ProtoMessage()
func (*GetAppReply_Channel) ProtoReflect ¶
func (x *GetAppReply_Channel) ProtoReflect() protoreflect.Message
func (*GetAppReply_Channel) Reset ¶
func (x *GetAppReply_Channel) Reset()
func (*GetAppReply_Channel) String ¶
func (x *GetAppReply_Channel) String() string
func (*GetAppReply_Channel) Validate ¶
func (m *GetAppReply_Channel) Validate() error
Validate checks the field values on GetAppReply_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 (*GetAppReply_Channel) ValidateAll ¶
func (m *GetAppReply_Channel) ValidateAll() error
ValidateAll checks the field values on GetAppReply_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 GetAppReply_ChannelMultiError, or nil if none found.
type GetAppReply_ChannelMultiError ¶
type GetAppReply_ChannelMultiError []error
GetAppReply_ChannelMultiError is an error wrapping multiple validation errors returned by GetAppReply_Channel.ValidateAll() if the designated constraints aren't met.
func (GetAppReply_ChannelMultiError) AllErrors ¶
func (m GetAppReply_ChannelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAppReply_ChannelMultiError) Error ¶
func (m GetAppReply_ChannelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAppReply_ChannelValidationError ¶
type GetAppReply_ChannelValidationError struct {
// contains filtered or unexported fields
}
GetAppReply_ChannelValidationError is the validation error returned by GetAppReply_Channel.Validate if the designated constraints aren't met.
func (GetAppReply_ChannelValidationError) Cause ¶
func (e GetAppReply_ChannelValidationError) Cause() error
Cause function returns cause value.
func (GetAppReply_ChannelValidationError) Error ¶
func (e GetAppReply_ChannelValidationError) Error() string
Error satisfies the builtin error interface
func (GetAppReply_ChannelValidationError) ErrorName ¶
func (e GetAppReply_ChannelValidationError) ErrorName() string
ErrorName returns error name.
func (GetAppReply_ChannelValidationError) Field ¶
func (e GetAppReply_ChannelValidationError) Field() string
Field function returns field value.
func (GetAppReply_ChannelValidationError) Key ¶
func (e GetAppReply_ChannelValidationError) Key() bool
Key function returns key value.
func (GetAppReply_ChannelValidationError) Reason ¶
func (e GetAppReply_ChannelValidationError) Reason() string
Reason function returns reason value.
type GetAppReply_Field ¶
type GetAppReply_Field struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,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"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GetAppReply_Field) Descriptor
deprecated
func (*GetAppReply_Field) Descriptor() ([]byte, []int)
Deprecated: Use GetAppReply_Field.ProtoReflect.Descriptor instead.
func (*GetAppReply_Field) GetId ¶
func (x *GetAppReply_Field) GetId() uint32
func (*GetAppReply_Field) GetKeyword ¶
func (x *GetAppReply_Field) GetKeyword() string
func (*GetAppReply_Field) GetName ¶
func (x *GetAppReply_Field) GetName() string
func (*GetAppReply_Field) GetType ¶
func (x *GetAppReply_Field) GetType() string
func (*GetAppReply_Field) ProtoMessage ¶
func (*GetAppReply_Field) ProtoMessage()
func (*GetAppReply_Field) ProtoReflect ¶
func (x *GetAppReply_Field) ProtoReflect() protoreflect.Message
func (*GetAppReply_Field) Reset ¶
func (x *GetAppReply_Field) Reset()
func (*GetAppReply_Field) String ¶
func (x *GetAppReply_Field) String() string
func (*GetAppReply_Field) Validate ¶
func (m *GetAppReply_Field) Validate() error
Validate checks the field values on GetAppReply_Field 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 (*GetAppReply_Field) ValidateAll ¶
func (m *GetAppReply_Field) ValidateAll() error
ValidateAll checks the field values on GetAppReply_Field 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 GetAppReply_FieldMultiError, or nil if none found.
type GetAppReply_FieldMultiError ¶
type GetAppReply_FieldMultiError []error
GetAppReply_FieldMultiError is an error wrapping multiple validation errors returned by GetAppReply_Field.ValidateAll() if the designated constraints aren't met.
func (GetAppReply_FieldMultiError) AllErrors ¶
func (m GetAppReply_FieldMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAppReply_FieldMultiError) Error ¶
func (m GetAppReply_FieldMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAppReply_FieldValidationError ¶
type GetAppReply_FieldValidationError struct {
// contains filtered or unexported fields
}
GetAppReply_FieldValidationError is the validation error returned by GetAppReply_Field.Validate if the designated constraints aren't met.
func (GetAppReply_FieldValidationError) Cause ¶
func (e GetAppReply_FieldValidationError) Cause() error
Cause function returns cause value.
func (GetAppReply_FieldValidationError) Error ¶
func (e GetAppReply_FieldValidationError) Error() string
Error satisfies the builtin error interface
func (GetAppReply_FieldValidationError) ErrorName ¶
func (e GetAppReply_FieldValidationError) ErrorName() string
ErrorName returns error name.
func (GetAppReply_FieldValidationError) Field ¶
func (e GetAppReply_FieldValidationError) Field() string
Field function returns field value.
func (GetAppReply_FieldValidationError) Key ¶
func (e GetAppReply_FieldValidationError) Key() bool
Key function returns key value.
func (GetAppReply_FieldValidationError) Reason ¶
func (e GetAppReply_FieldValidationError) Reason() string
Reason function returns reason value.
type GetAppRequest ¶
type GetAppRequest struct { Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Keyword *string `protobuf:"bytes,2,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*GetAppRequest) Descriptor
deprecated
func (*GetAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAppRequest.ProtoReflect.Descriptor instead.
func (*GetAppRequest) GetId ¶
func (x *GetAppRequest) GetId() uint32
func (*GetAppRequest) GetKeyword ¶
func (x *GetAppRequest) GetKeyword() string
func (*GetAppRequest) ProtoMessage ¶
func (*GetAppRequest) ProtoMessage()
func (*GetAppRequest) ProtoReflect ¶
func (x *GetAppRequest) ProtoReflect() protoreflect.Message
func (*GetAppRequest) Reset ¶
func (x *GetAppRequest) Reset()
func (*GetAppRequest) String ¶
func (x *GetAppRequest) String() string
func (*GetAppRequest) Validate ¶
func (m *GetAppRequest) Validate() error
Validate checks the field values on GetAppRequest 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 (*GetAppRequest) ValidateAll ¶
func (m *GetAppRequest) ValidateAll() error
ValidateAll checks the field values on GetAppRequest 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 GetAppRequestMultiError, or nil if none found.
type GetAppRequestMultiError ¶
type GetAppRequestMultiError []error
GetAppRequestMultiError is an error wrapping multiple validation errors returned by GetAppRequest.ValidateAll() if the designated constraints aren't met.
func (GetAppRequestMultiError) AllErrors ¶
func (m GetAppRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAppRequestMultiError) Error ¶
func (m GetAppRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAppRequestValidationError ¶
type GetAppRequestValidationError struct {
// contains filtered or unexported fields
}
GetAppRequestValidationError is the validation error returned by GetAppRequest.Validate if the designated constraints aren't met.
func (GetAppRequestValidationError) Cause ¶
func (e GetAppRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAppRequestValidationError) Error ¶
func (e GetAppRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAppRequestValidationError) ErrorName ¶
func (e GetAppRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAppRequestValidationError) Field ¶
func (e GetAppRequestValidationError) Field() string
Field function returns field value.
func (GetAppRequestValidationError) Key ¶
func (e GetAppRequestValidationError) Key() bool
Key function returns key value.
func (GetAppRequestValidationError) Reason ¶
func (e GetAppRequestValidationError) Reason() string
Reason function returns reason value.
type ListAppReply ¶
type ListAppReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListAppReply_App `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListAppReply) Descriptor
deprecated
func (*ListAppReply) Descriptor() ([]byte, []int)
Deprecated: Use ListAppReply.ProtoReflect.Descriptor instead.
func (*ListAppReply) GetList ¶
func (x *ListAppReply) GetList() []*ListAppReply_App
func (*ListAppReply) GetTotal ¶
func (x *ListAppReply) GetTotal() uint32
func (*ListAppReply) ProtoMessage ¶
func (*ListAppReply) ProtoMessage()
func (*ListAppReply) ProtoReflect ¶
func (x *ListAppReply) ProtoReflect() protoreflect.Message
func (*ListAppReply) Reset ¶
func (x *ListAppReply) Reset()
func (*ListAppReply) String ¶
func (x *ListAppReply) String() string
func (*ListAppReply) Validate ¶
func (m *ListAppReply) Validate() error
Validate checks the field values on ListAppReply 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 (*ListAppReply) ValidateAll ¶
func (m *ListAppReply) ValidateAll() error
ValidateAll checks the field values on ListAppReply 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 ListAppReplyMultiError, or nil if none found.
type ListAppReplyMultiError ¶
type ListAppReplyMultiError []error
ListAppReplyMultiError is an error wrapping multiple validation errors returned by ListAppReply.ValidateAll() if the designated constraints aren't met.
func (ListAppReplyMultiError) AllErrors ¶
func (m ListAppReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAppReplyMultiError) Error ¶
func (m ListAppReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAppReplyValidationError ¶
type ListAppReplyValidationError struct {
// contains filtered or unexported fields
}
ListAppReplyValidationError is the validation error returned by ListAppReply.Validate if the designated constraints aren't met.
func (ListAppReplyValidationError) Cause ¶
func (e ListAppReplyValidationError) Cause() error
Cause function returns cause value.
func (ListAppReplyValidationError) Error ¶
func (e ListAppReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListAppReplyValidationError) ErrorName ¶
func (e ListAppReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListAppReplyValidationError) Field ¶
func (e ListAppReplyValidationError) Field() string
Field function returns field value.
func (ListAppReplyValidationError) Key ¶
func (e ListAppReplyValidationError) Key() bool
Key function returns key value.
func (ListAppReplyValidationError) Reason ¶
func (e ListAppReplyValidationError) Reason() string
Reason function returns reason value.
type ListAppReply_App ¶
type ListAppReply_App 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"` DisableDesc *string `protobuf:"bytes,7,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"` AllowRegistry *bool `protobuf:"varint,8,opt,name=allowRegistry,proto3,oneof" json:"allowRegistry,omitempty"` Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"` Copyright string `protobuf:"bytes,10,opt,name=copyright,proto3" json:"copyright,omitempty"` Extra *string `protobuf:"bytes,11,opt,name=extra,proto3,oneof" json:"extra,omitempty"` Description *string `protobuf:"bytes,12,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,13,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,14,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*ListAppReply_App) Descriptor
deprecated
func (*ListAppReply_App) Descriptor() ([]byte, []int)
Deprecated: Use ListAppReply_App.ProtoReflect.Descriptor instead.
func (*ListAppReply_App) GetAllowRegistry ¶
func (x *ListAppReply_App) GetAllowRegistry() bool
func (*ListAppReply_App) GetCopyright ¶
func (x *ListAppReply_App) GetCopyright() string
func (*ListAppReply_App) GetCreatedAt ¶
func (x *ListAppReply_App) GetCreatedAt() uint32
func (*ListAppReply_App) GetDescription ¶
func (x *ListAppReply_App) GetDescription() string
func (*ListAppReply_App) GetDisableDesc ¶
func (x *ListAppReply_App) GetDisableDesc() string
func (*ListAppReply_App) GetExtra ¶
func (x *ListAppReply_App) GetExtra() string
func (*ListAppReply_App) GetId ¶
func (x *ListAppReply_App) GetId() uint32
func (*ListAppReply_App) GetKeyword ¶
func (x *ListAppReply_App) GetKeyword() string
func (*ListAppReply_App) GetLogo ¶
func (x *ListAppReply_App) GetLogo() string
func (*ListAppReply_App) GetLogoUrl ¶
func (x *ListAppReply_App) GetLogoUrl() string
func (*ListAppReply_App) GetName ¶
func (x *ListAppReply_App) GetName() string
func (*ListAppReply_App) GetStatus ¶
func (x *ListAppReply_App) GetStatus() bool
func (*ListAppReply_App) GetUpdatedAt ¶
func (x *ListAppReply_App) GetUpdatedAt() uint32
func (*ListAppReply_App) GetVersion ¶
func (x *ListAppReply_App) GetVersion() string
func (*ListAppReply_App) ProtoMessage ¶
func (*ListAppReply_App) ProtoMessage()
func (*ListAppReply_App) ProtoReflect ¶
func (x *ListAppReply_App) ProtoReflect() protoreflect.Message
func (*ListAppReply_App) Reset ¶
func (x *ListAppReply_App) Reset()
func (*ListAppReply_App) String ¶
func (x *ListAppReply_App) String() string
func (*ListAppReply_App) Validate ¶
func (m *ListAppReply_App) Validate() error
Validate checks the field values on ListAppReply_App 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 (*ListAppReply_App) ValidateAll ¶
func (m *ListAppReply_App) ValidateAll() error
ValidateAll checks the field values on ListAppReply_App 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 ListAppReply_AppMultiError, or nil if none found.
type ListAppReply_AppMultiError ¶
type ListAppReply_AppMultiError []error
ListAppReply_AppMultiError is an error wrapping multiple validation errors returned by ListAppReply_App.ValidateAll() if the designated constraints aren't met.
func (ListAppReply_AppMultiError) AllErrors ¶
func (m ListAppReply_AppMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAppReply_AppMultiError) Error ¶
func (m ListAppReply_AppMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAppReply_AppValidationError ¶
type ListAppReply_AppValidationError struct {
// contains filtered or unexported fields
}
ListAppReply_AppValidationError is the validation error returned by ListAppReply_App.Validate if the designated constraints aren't met.
func (ListAppReply_AppValidationError) Cause ¶
func (e ListAppReply_AppValidationError) Cause() error
Cause function returns cause value.
func (ListAppReply_AppValidationError) Error ¶
func (e ListAppReply_AppValidationError) Error() string
Error satisfies the builtin error interface
func (ListAppReply_AppValidationError) ErrorName ¶
func (e ListAppReply_AppValidationError) ErrorName() string
ErrorName returns error name.
func (ListAppReply_AppValidationError) Field ¶
func (e ListAppReply_AppValidationError) Field() string
Field function returns field value.
func (ListAppReply_AppValidationError) Key ¶
func (e ListAppReply_AppValidationError) Key() bool
Key function returns key value.
func (ListAppReply_AppValidationError) Reason ¶
func (e ListAppReply_AppValidationError) Reason() string
Reason function returns reason value.
type ListAppRequest ¶
type ListAppRequest 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 (*ListAppRequest) Descriptor
deprecated
func (*ListAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAppRequest.ProtoReflect.Descriptor instead.
func (*ListAppRequest) GetKeyword ¶
func (x *ListAppRequest) GetKeyword() string
func (*ListAppRequest) GetName ¶
func (x *ListAppRequest) GetName() string
func (*ListAppRequest) GetOrder ¶
func (x *ListAppRequest) GetOrder() string
func (*ListAppRequest) GetOrderBy ¶
func (x *ListAppRequest) GetOrderBy() string
func (*ListAppRequest) GetPage ¶
func (x *ListAppRequest) GetPage() uint32
func (*ListAppRequest) GetPageSize ¶
func (x *ListAppRequest) GetPageSize() uint32
func (*ListAppRequest) GetStatus ¶
func (x *ListAppRequest) GetStatus() bool
func (*ListAppRequest) ProtoMessage ¶
func (*ListAppRequest) ProtoMessage()
func (*ListAppRequest) ProtoReflect ¶
func (x *ListAppRequest) ProtoReflect() protoreflect.Message
func (*ListAppRequest) Reset ¶
func (x *ListAppRequest) Reset()
func (*ListAppRequest) String ¶
func (x *ListAppRequest) String() string
func (*ListAppRequest) Validate ¶
func (m *ListAppRequest) Validate() error
Validate checks the field values on ListAppRequest 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 (*ListAppRequest) ValidateAll ¶
func (m *ListAppRequest) ValidateAll() error
ValidateAll checks the field values on ListAppRequest 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 ListAppRequestMultiError, or nil if none found.
type ListAppRequestMultiError ¶
type ListAppRequestMultiError []error
ListAppRequestMultiError is an error wrapping multiple validation errors returned by ListAppRequest.ValidateAll() if the designated constraints aren't met.
func (ListAppRequestMultiError) AllErrors ¶
func (m ListAppRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAppRequestMultiError) Error ¶
func (m ListAppRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAppRequestValidationError ¶
type ListAppRequestValidationError struct {
// contains filtered or unexported fields
}
ListAppRequestValidationError is the validation error returned by ListAppRequest.Validate if the designated constraints aren't met.
func (ListAppRequestValidationError) Cause ¶
func (e ListAppRequestValidationError) Cause() error
Cause function returns cause value.
func (ListAppRequestValidationError) Error ¶
func (e ListAppRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListAppRequestValidationError) ErrorName ¶
func (e ListAppRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListAppRequestValidationError) Field ¶
func (e ListAppRequestValidationError) Field() string
Field function returns field value.
func (ListAppRequestValidationError) Key ¶
func (e ListAppRequestValidationError) Key() bool
Key function returns key value.
func (ListAppRequestValidationError) Reason ¶
func (e ListAppRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAppServer ¶
type UnimplementedAppServer struct { }
UnimplementedAppServer must be embedded to have forward compatible implementations.
func (UnimplementedAppServer) CreateApp ¶
func (UnimplementedAppServer) CreateApp(context.Context, *CreateAppRequest) (*CreateAppReply, error)
func (UnimplementedAppServer) DeleteApp ¶
func (UnimplementedAppServer) DeleteApp(context.Context, *DeleteAppRequest) (*DeleteAppReply, error)
func (UnimplementedAppServer) GetApp ¶
func (UnimplementedAppServer) GetApp(context.Context, *GetAppRequest) (*GetAppReply, error)
func (UnimplementedAppServer) ListApp ¶
func (UnimplementedAppServer) ListApp(context.Context, *ListAppRequest) (*ListAppReply, error)
func (UnimplementedAppServer) UpdateApp ¶
func (UnimplementedAppServer) UpdateApp(context.Context, *UpdateAppRequest) (*UpdateAppReply, error)
func (UnimplementedAppServer) UpdateAppStatus ¶
func (UnimplementedAppServer) UpdateAppStatus(context.Context, *UpdateAppStatusRequest) (*UpdateAppStatusReply, error)
type UnsafeAppServer ¶
type UnsafeAppServer interface {
// contains filtered or unexported methods
}
UnsafeAppServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppServer will result in compilation errors.
type UpdateAppReply ¶
type UpdateAppReply struct {
// contains filtered or unexported fields
}
func (*UpdateAppReply) Descriptor
deprecated
func (*UpdateAppReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAppReply.ProtoReflect.Descriptor instead.
func (*UpdateAppReply) ProtoMessage ¶
func (*UpdateAppReply) ProtoMessage()
func (*UpdateAppReply) ProtoReflect ¶
func (x *UpdateAppReply) ProtoReflect() protoreflect.Message
func (*UpdateAppReply) Reset ¶
func (x *UpdateAppReply) Reset()
func (*UpdateAppReply) String ¶
func (x *UpdateAppReply) String() string
func (*UpdateAppReply) Validate ¶
func (m *UpdateAppReply) Validate() error
Validate checks the field values on UpdateAppReply 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 (*UpdateAppReply) ValidateAll ¶
func (m *UpdateAppReply) ValidateAll() error
ValidateAll checks the field values on UpdateAppReply 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 UpdateAppReplyMultiError, or nil if none found.
type UpdateAppReplyMultiError ¶
type UpdateAppReplyMultiError []error
UpdateAppReplyMultiError is an error wrapping multiple validation errors returned by UpdateAppReply.ValidateAll() if the designated constraints aren't met.
func (UpdateAppReplyMultiError) AllErrors ¶
func (m UpdateAppReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateAppReplyMultiError) Error ¶
func (m UpdateAppReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateAppReplyValidationError ¶
type UpdateAppReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateAppReplyValidationError is the validation error returned by UpdateAppReply.Validate if the designated constraints aren't met.
func (UpdateAppReplyValidationError) Cause ¶
func (e UpdateAppReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateAppReplyValidationError) Error ¶
func (e UpdateAppReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateAppReplyValidationError) ErrorName ¶
func (e UpdateAppReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateAppReplyValidationError) Field ¶
func (e UpdateAppReplyValidationError) Field() string
Field function returns field value.
func (UpdateAppReplyValidationError) Key ¶
func (e UpdateAppReplyValidationError) Key() bool
Key function returns key value.
func (UpdateAppReplyValidationError) Reason ¶
func (e UpdateAppReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateAppRequest ¶
type UpdateAppRequest 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"` AllowRegistry *bool `protobuf:"varint,5,opt,name=allowRegistry,proto3,oneof" json:"allowRegistry,omitempty"` Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` Copyright string `protobuf:"bytes,7,opt,name=copyright,proto3" json:"copyright,omitempty"` Extra *string `protobuf:"bytes,8,opt,name=extra,proto3,oneof" json:"extra,omitempty"` Description *string `protobuf:"bytes,9,opt,name=description,proto3,oneof" json:"description,omitempty"` ChannelIds []uint32 `protobuf:"varint,10,rep,packed,name=channelIds,proto3" json:"channelIds,omitempty"` FieldIds []uint32 `protobuf:"varint,11,rep,packed,name=fieldIds,proto3" json:"fieldIds,omitempty"` // contains filtered or unexported fields }
func (*UpdateAppRequest) Descriptor
deprecated
func (*UpdateAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAppRequest.ProtoReflect.Descriptor instead.
func (*UpdateAppRequest) GetAllowRegistry ¶
func (x *UpdateAppRequest) GetAllowRegistry() bool
func (*UpdateAppRequest) GetChannelIds ¶
func (x *UpdateAppRequest) GetChannelIds() []uint32
func (*UpdateAppRequest) GetCopyright ¶
func (x *UpdateAppRequest) GetCopyright() string
func (*UpdateAppRequest) GetDescription ¶
func (x *UpdateAppRequest) GetDescription() string
func (*UpdateAppRequest) GetExtra ¶
func (x *UpdateAppRequest) GetExtra() string
func (*UpdateAppRequest) GetFieldIds ¶
func (x *UpdateAppRequest) GetFieldIds() []uint32
func (*UpdateAppRequest) GetId ¶
func (x *UpdateAppRequest) GetId() uint32
func (*UpdateAppRequest) GetKeyword ¶
func (x *UpdateAppRequest) GetKeyword() string
func (*UpdateAppRequest) GetLogo ¶
func (x *UpdateAppRequest) GetLogo() string
func (*UpdateAppRequest) GetName ¶
func (x *UpdateAppRequest) GetName() string
func (*UpdateAppRequest) GetVersion ¶
func (x *UpdateAppRequest) GetVersion() string
func (*UpdateAppRequest) ProtoMessage ¶
func (*UpdateAppRequest) ProtoMessage()
func (*UpdateAppRequest) ProtoReflect ¶
func (x *UpdateAppRequest) ProtoReflect() protoreflect.Message
func (*UpdateAppRequest) Reset ¶
func (x *UpdateAppRequest) Reset()
func (*UpdateAppRequest) String ¶
func (x *UpdateAppRequest) String() string
func (*UpdateAppRequest) Validate ¶
func (m *UpdateAppRequest) Validate() error
Validate checks the field values on UpdateAppRequest 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 (*UpdateAppRequest) ValidateAll ¶
func (m *UpdateAppRequest) ValidateAll() error
ValidateAll checks the field values on UpdateAppRequest 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 UpdateAppRequestMultiError, or nil if none found.
type UpdateAppRequestMultiError ¶
type UpdateAppRequestMultiError []error
UpdateAppRequestMultiError is an error wrapping multiple validation errors returned by UpdateAppRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateAppRequestMultiError) AllErrors ¶
func (m UpdateAppRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateAppRequestMultiError) Error ¶
func (m UpdateAppRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateAppRequestValidationError ¶
type UpdateAppRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateAppRequestValidationError is the validation error returned by UpdateAppRequest.Validate if the designated constraints aren't met.
func (UpdateAppRequestValidationError) Cause ¶
func (e UpdateAppRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateAppRequestValidationError) Error ¶
func (e UpdateAppRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateAppRequestValidationError) ErrorName ¶
func (e UpdateAppRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateAppRequestValidationError) Field ¶
func (e UpdateAppRequestValidationError) Field() string
Field function returns field value.
func (UpdateAppRequestValidationError) Key ¶
func (e UpdateAppRequestValidationError) Key() bool
Key function returns key value.
func (UpdateAppRequestValidationError) Reason ¶
func (e UpdateAppRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateAppStatusReply ¶
type UpdateAppStatusReply struct {
// contains filtered or unexported fields
}
func (*UpdateAppStatusReply) Descriptor
deprecated
func (*UpdateAppStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAppStatusReply.ProtoReflect.Descriptor instead.
func (*UpdateAppStatusReply) ProtoMessage ¶
func (*UpdateAppStatusReply) ProtoMessage()
func (*UpdateAppStatusReply) ProtoReflect ¶
func (x *UpdateAppStatusReply) ProtoReflect() protoreflect.Message
func (*UpdateAppStatusReply) Reset ¶
func (x *UpdateAppStatusReply) Reset()
func (*UpdateAppStatusReply) String ¶
func (x *UpdateAppStatusReply) String() string
func (*UpdateAppStatusReply) Validate ¶
func (m *UpdateAppStatusReply) Validate() error
Validate checks the field values on UpdateAppStatusReply 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 (*UpdateAppStatusReply) ValidateAll ¶
func (m *UpdateAppStatusReply) ValidateAll() error
ValidateAll checks the field values on UpdateAppStatusReply 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 UpdateAppStatusReplyMultiError, or nil if none found.
type UpdateAppStatusReplyMultiError ¶
type UpdateAppStatusReplyMultiError []error
UpdateAppStatusReplyMultiError is an error wrapping multiple validation errors returned by UpdateAppStatusReply.ValidateAll() if the designated constraints aren't met.
func (UpdateAppStatusReplyMultiError) AllErrors ¶
func (m UpdateAppStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateAppStatusReplyMultiError) Error ¶
func (m UpdateAppStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateAppStatusReplyValidationError ¶
type UpdateAppStatusReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateAppStatusReplyValidationError is the validation error returned by UpdateAppStatusReply.Validate if the designated constraints aren't met.
func (UpdateAppStatusReplyValidationError) Cause ¶
func (e UpdateAppStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateAppStatusReplyValidationError) Error ¶
func (e UpdateAppStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateAppStatusReplyValidationError) ErrorName ¶
func (e UpdateAppStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateAppStatusReplyValidationError) Field ¶
func (e UpdateAppStatusReplyValidationError) Field() string
Field function returns field value.
func (UpdateAppStatusReplyValidationError) Key ¶
func (e UpdateAppStatusReplyValidationError) Key() bool
Key function returns key value.
func (UpdateAppStatusReplyValidationError) Reason ¶
func (e UpdateAppStatusReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateAppStatusRequest ¶
type UpdateAppStatusRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` DisableDesc *string `protobuf:"bytes,3,opt,name=disableDesc,proto3,oneof" json:"disableDesc,omitempty"` // contains filtered or unexported fields }
func (*UpdateAppStatusRequest) Descriptor
deprecated
func (*UpdateAppStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAppStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateAppStatusRequest) GetDisableDesc ¶
func (x *UpdateAppStatusRequest) GetDisableDesc() string
func (*UpdateAppStatusRequest) GetId ¶
func (x *UpdateAppStatusRequest) GetId() uint32
func (*UpdateAppStatusRequest) GetStatus ¶
func (x *UpdateAppStatusRequest) GetStatus() bool
func (*UpdateAppStatusRequest) ProtoMessage ¶
func (*UpdateAppStatusRequest) ProtoMessage()
func (*UpdateAppStatusRequest) ProtoReflect ¶
func (x *UpdateAppStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateAppStatusRequest) Reset ¶
func (x *UpdateAppStatusRequest) Reset()
func (*UpdateAppStatusRequest) String ¶
func (x *UpdateAppStatusRequest) String() string
func (*UpdateAppStatusRequest) Validate ¶
func (m *UpdateAppStatusRequest) Validate() error
Validate checks the field values on UpdateAppStatusRequest 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 (*UpdateAppStatusRequest) ValidateAll ¶
func (m *UpdateAppStatusRequest) ValidateAll() error
ValidateAll checks the field values on UpdateAppStatusRequest 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 UpdateAppStatusRequestMultiError, or nil if none found.
type UpdateAppStatusRequestMultiError ¶
type UpdateAppStatusRequestMultiError []error
UpdateAppStatusRequestMultiError is an error wrapping multiple validation errors returned by UpdateAppStatusRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateAppStatusRequestMultiError) AllErrors ¶
func (m UpdateAppStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateAppStatusRequestMultiError) Error ¶
func (m UpdateAppStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateAppStatusRequestValidationError ¶
type UpdateAppStatusRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateAppStatusRequestValidationError is the validation error returned by UpdateAppStatusRequest.Validate if the designated constraints aren't met.
func (UpdateAppStatusRequestValidationError) Cause ¶
func (e UpdateAppStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateAppStatusRequestValidationError) Error ¶
func (e UpdateAppStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateAppStatusRequestValidationError) ErrorName ¶
func (e UpdateAppStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateAppStatusRequestValidationError) Field ¶
func (e UpdateAppStatusRequestValidationError) Field() string
Field function returns field value.
func (UpdateAppStatusRequestValidationError) Key ¶
func (e UpdateAppStatusRequestValidationError) Key() bool
Key function returns key value.
func (UpdateAppStatusRequestValidationError) Reason ¶
func (e UpdateAppStatusRequestValidationError) Reason() string
Reason function returns reason value.