app

package
v0.0.0-...-d36d6b6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	App_GetSampleApp_FullMethodName = "/manager.api.app.App/GetSampleApp"
	App_GetApp_FullMethodName       = "/manager.api.app.App/GetApp"
	App_ListApp_FullMethodName      = "/manager.api.app.App/ListApp"
	App_CreateApp_FullMethodName    = "/manager.api.app.App/CreateApp"
	App_UpdateApp_FullMethodName    = "/manager.api.app.App/UpdateApp"
	App_DeleteApp_FullMethodName    = "/manager.api.app.App/DeleteApp"
)
View Source
const (
	OperationAppCreateApp    = "/manager.api.app.App/CreateApp"
	OperationAppDeleteApp    = "/manager.api.app.App/DeleteApp"
	OperationAppGetApp       = "/manager.api.app.App/GetApp"
	OperationAppGetSampleApp = "/manager.api.app.App/GetSampleApp"
	OperationAppListApp      = "/manager.api.app.App/ListApp"
	OperationAppUpdateApp    = "/manager.api.app.App/UpdateApp"
)

Variables

View Source
var App_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "manager.api.app.App",
	HandlerType: (*AppServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSampleApp",
			Handler:    _App_GetSampleApp_Handler,
		},
		{
			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: "DeleteApp",
			Handler:    _App_DeleteApp_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/app/proto/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)

View Source
var File_api_app_proto_app_proto protoreflect.FileDescriptor
View Source
var File_api_app_proto_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 {
	// GetSampleApp 获取应用基础信息
	GetSampleApp(ctx context.Context, in *GetSampleAppRequest, opts ...grpc.CallOption) (*GetSampleAppReply, error)
	// 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)
	// 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)
	GetSampleApp(ctx context.Context, req *GetSampleAppRequest, opts ...http.CallOption) (rsp *GetSampleAppReply, 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)
}

func NewAppHTTPClient

func NewAppHTTPClient(client *http.Client) AppHTTPClient

type AppHTTPClientImpl

type AppHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*AppHTTPClientImpl) CreateApp

func (*AppHTTPClientImpl) DeleteApp

func (*AppHTTPClientImpl) GetApp

func (*AppHTTPClientImpl) GetSampleApp

func (*AppHTTPClientImpl) ListApp

func (*AppHTTPClientImpl) UpdateApp

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)
	// GetSampleApp GetSampleApp 获取应用基础信息
	GetSampleApp(context.Context, *GetSampleAppRequest) (*GetSampleAppReply, error)
	// ListApp ListApp 获取应用信息列表
	ListApp(context.Context, *ListAppRequest) (*ListAppReply, error)
	// UpdateApp UpdateApp 更新应用信息
	UpdateApp(context.Context, *UpdateAppRequest) (*UpdateAppReply, error)
}

type AppServer

type AppServer interface {
	// GetSampleApp 获取应用基础信息
	GetSampleApp(context.Context, *GetSampleAppRequest) (*GetSampleAppReply, error)
	// 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)
	// 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 AppSetting

type AppSetting struct {
	Jwt    *AppSettingJWT    `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"`
	Tenant *AppSettingTenant `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Web    *AppSettingWeb    `protobuf:"bytes,3,opt,name=web,proto3" json:"web,omitempty"`
	// contains filtered or unexported fields
}

func (*AppSetting) Descriptor deprecated

func (*AppSetting) Descriptor() ([]byte, []int)

Deprecated: Use AppSetting.ProtoReflect.Descriptor instead.

func (*AppSetting) GetJwt

func (x *AppSetting) GetJwt() *AppSettingJWT

func (*AppSetting) GetTenant

func (x *AppSetting) GetTenant() *AppSettingTenant

func (*AppSetting) GetWeb

func (x *AppSetting) GetWeb() *AppSettingWeb

func (*AppSetting) ProtoMessage

func (*AppSetting) ProtoMessage()

func (*AppSetting) ProtoReflect

func (x *AppSetting) ProtoReflect() protoreflect.Message

func (*AppSetting) Reset

func (x *AppSetting) Reset()

func (*AppSetting) String

func (x *AppSetting) String() string

func (*AppSetting) Validate

func (m *AppSetting) Validate() error

Validate checks the field values on AppSetting 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 (*AppSetting) ValidateAll

func (m *AppSetting) ValidateAll() error

ValidateAll checks the field values on AppSetting 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 AppSettingMultiError, or nil if none found.

type AppSettingJWT

type AppSettingJWT struct {
	Secret         string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	Expire         uint32 `protobuf:"varint,2,opt,name=expire,proto3" json:"expire,omitempty"`
	Renewal        uint32 `protobuf:"varint,3,opt,name=renewal,proto3" json:"renewal,omitempty"`
	UniqueDevice   bool   `protobuf:"varint,4,opt,name=uniqueDevice,proto3" json:"uniqueDevice,omitempty"`
	UniquePlatform bool   `protobuf:"varint,5,opt,name=uniquePlatform,proto3" json:"uniquePlatform,omitempty"`
	// contains filtered or unexported fields
}

func (*AppSettingJWT) Descriptor deprecated

func (*AppSettingJWT) Descriptor() ([]byte, []int)

Deprecated: Use AppSettingJWT.ProtoReflect.Descriptor instead.

func (*AppSettingJWT) GetExpire

func (x *AppSettingJWT) GetExpire() uint32

func (*AppSettingJWT) GetRenewal

func (x *AppSettingJWT) GetRenewal() uint32

func (*AppSettingJWT) GetSecret

func (x *AppSettingJWT) GetSecret() string

func (*AppSettingJWT) GetUniqueDevice

func (x *AppSettingJWT) GetUniqueDevice() bool

func (*AppSettingJWT) GetUniquePlatform

func (x *AppSettingJWT) GetUniquePlatform() bool

func (*AppSettingJWT) ProtoMessage

func (*AppSettingJWT) ProtoMessage()

func (*AppSettingJWT) ProtoReflect

func (x *AppSettingJWT) ProtoReflect() protoreflect.Message

func (*AppSettingJWT) Reset

func (x *AppSettingJWT) Reset()

func (*AppSettingJWT) String

func (x *AppSettingJWT) String() string

func (*AppSettingJWT) Validate

func (m *AppSettingJWT) Validate() error

Validate checks the field values on AppSettingJWT 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 (*AppSettingJWT) ValidateAll

func (m *AppSettingJWT) ValidateAll() error

ValidateAll checks the field values on AppSettingJWT 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 AppSettingJWTMultiError, or nil if none found.

type AppSettingJWTMultiError

type AppSettingJWTMultiError []error

AppSettingJWTMultiError is an error wrapping multiple validation errors returned by AppSettingJWT.ValidateAll() if the designated constraints aren't met.

func (AppSettingJWTMultiError) AllErrors

func (m AppSettingJWTMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AppSettingJWTMultiError) Error

func (m AppSettingJWTMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AppSettingJWTValidationError

type AppSettingJWTValidationError struct {
	// contains filtered or unexported fields
}

AppSettingJWTValidationError is the validation error returned by AppSettingJWT.Validate if the designated constraints aren't met.

func (AppSettingJWTValidationError) Cause

Cause function returns cause value.

func (AppSettingJWTValidationError) Error

Error satisfies the builtin error interface

func (AppSettingJWTValidationError) ErrorName

func (e AppSettingJWTValidationError) ErrorName() string

ErrorName returns error name.

func (AppSettingJWTValidationError) Field

Field function returns field value.

func (AppSettingJWTValidationError) Key

Key function returns key value.

func (AppSettingJWTValidationError) Reason

Reason function returns reason value.

type AppSettingMultiError

type AppSettingMultiError []error

AppSettingMultiError is an error wrapping multiple validation errors returned by AppSetting.ValidateAll() if the designated constraints aren't met.

func (AppSettingMultiError) AllErrors

func (m AppSettingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AppSettingMultiError) Error

func (m AppSettingMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AppSettingTenant

type AppSettingTenant struct {
	Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*AppSettingTenant) Descriptor deprecated

func (*AppSettingTenant) Descriptor() ([]byte, []int)

Deprecated: Use AppSettingTenant.ProtoReflect.Descriptor instead.

func (*AppSettingTenant) GetMode

func (x *AppSettingTenant) GetMode() string

func (*AppSettingTenant) ProtoMessage

func (*AppSettingTenant) ProtoMessage()

func (*AppSettingTenant) ProtoReflect

func (x *AppSettingTenant) ProtoReflect() protoreflect.Message

func (*AppSettingTenant) Reset

func (x *AppSettingTenant) Reset()

func (*AppSettingTenant) String

func (x *AppSettingTenant) String() string

func (*AppSettingTenant) Validate

func (m *AppSettingTenant) Validate() error

Validate checks the field values on AppSettingTenant 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 (*AppSettingTenant) ValidateAll

func (m *AppSettingTenant) ValidateAll() error

ValidateAll checks the field values on AppSettingTenant 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 AppSettingTenantMultiError, or nil if none found.

type AppSettingTenantMultiError

type AppSettingTenantMultiError []error

AppSettingTenantMultiError is an error wrapping multiple validation errors returned by AppSettingTenant.ValidateAll() if the designated constraints aren't met.

func (AppSettingTenantMultiError) AllErrors

func (m AppSettingTenantMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AppSettingTenantMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AppSettingTenantValidationError

type AppSettingTenantValidationError struct {
	// contains filtered or unexported fields
}

AppSettingTenantValidationError is the validation error returned by AppSettingTenant.Validate if the designated constraints aren't met.

func (AppSettingTenantValidationError) Cause

Cause function returns cause value.

func (AppSettingTenantValidationError) Error

Error satisfies the builtin error interface

func (AppSettingTenantValidationError) ErrorName

ErrorName returns error name.

func (AppSettingTenantValidationError) Field

Field function returns field value.

func (AppSettingTenantValidationError) Key

Key function returns key value.

func (AppSettingTenantValidationError) Reason

Reason function returns reason value.

type AppSettingValidationError

type AppSettingValidationError struct {
	// contains filtered or unexported fields
}

AppSettingValidationError is the validation error returned by AppSetting.Validate if the designated constraints aren't met.

func (AppSettingValidationError) Cause

func (e AppSettingValidationError) Cause() error

Cause function returns cause value.

func (AppSettingValidationError) Error

Error satisfies the builtin error interface

func (AppSettingValidationError) ErrorName

func (e AppSettingValidationError) ErrorName() string

ErrorName returns error name.

func (AppSettingValidationError) Field

Field function returns field value.

func (AppSettingValidationError) Key

Key function returns key value.

func (AppSettingValidationError) Reason

func (e AppSettingValidationError) Reason() string

Reason function returns reason value.

type AppSettingWeb

type AppSettingWeb struct {

	// 版权信息
	Copyright string `protobuf:"bytes,1,opt,name=copyright,proto3" json:"copyright,omitempty"`
	// 水印信息
	Watermark string `protobuf:"bytes,2,opt,name=watermark,proto3" json:"watermark,omitempty"`
	// contains filtered or unexported fields
}

func (*AppSettingWeb) Descriptor deprecated

func (*AppSettingWeb) Descriptor() ([]byte, []int)

Deprecated: Use AppSettingWeb.ProtoReflect.Descriptor instead.

func (*AppSettingWeb) GetCopyright

func (x *AppSettingWeb) GetCopyright() string

func (*AppSettingWeb) GetWatermark

func (x *AppSettingWeb) GetWatermark() string

func (*AppSettingWeb) ProtoMessage

func (*AppSettingWeb) ProtoMessage()

func (*AppSettingWeb) ProtoReflect

func (x *AppSettingWeb) ProtoReflect() protoreflect.Message

func (*AppSettingWeb) Reset

func (x *AppSettingWeb) Reset()

func (*AppSettingWeb) String

func (x *AppSettingWeb) String() string

func (*AppSettingWeb) Validate

func (m *AppSettingWeb) Validate() error

Validate checks the field values on AppSettingWeb 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 (*AppSettingWeb) ValidateAll

func (m *AppSettingWeb) ValidateAll() error

ValidateAll checks the field values on AppSettingWeb 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 AppSettingWebMultiError, or nil if none found.

type AppSettingWebMultiError

type AppSettingWebMultiError []error

AppSettingWebMultiError is an error wrapping multiple validation errors returned by AppSettingWeb.ValidateAll() if the designated constraints aren't met.

func (AppSettingWebMultiError) AllErrors

func (m AppSettingWebMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AppSettingWebMultiError) Error

func (m AppSettingWebMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AppSettingWebValidationError

type AppSettingWebValidationError struct {
	// contains filtered or unexported fields
}

AppSettingWebValidationError is the validation error returned by AppSettingWeb.Validate if the designated constraints aren't met.

func (AppSettingWebValidationError) Cause

Cause function returns cause value.

func (AppSettingWebValidationError) Error

Error satisfies the builtin error interface

func (AppSettingWebValidationError) ErrorName

func (e AppSettingWebValidationError) ErrorName() string

ErrorName returns error name.

func (AppSettingWebValidationError) Field

Field function returns field value.

func (AppSettingWebValidationError) Key

Key function returns key value.

func (AppSettingWebValidationError) Reason

Reason function returns reason value.

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

Cause function returns cause value.

func (CreateAppReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateAppReplyValidationError) ErrorName

func (e CreateAppReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateAppReplyValidationError) Field

Field function returns field value.

func (CreateAppReplyValidationError) Key

Key function returns key value.

func (CreateAppReplyValidationError) Reason

Reason function returns reason value.

type CreateAppRequest

type CreateAppRequest struct {
	Type        string      `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Name        string      `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	ShowName    string      `protobuf:"bytes,4,opt,name=showName,proto3" json:"showName,omitempty"`
	Keyword     string      `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Favicon     string      `protobuf:"bytes,6,opt,name=favicon,proto3" json:"favicon,omitempty"`
	Secret      string      `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"`
	Private     bool        `protobuf:"varint,8,opt,name=private,proto3" json:"private,omitempty"`
	Description *string     `protobuf:"bytes,9,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Comment     *string     `protobuf:"bytes,10,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	Setting     *AppSetting `protobuf:"bytes,11,opt,name=setting,proto3" json:"setting,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAppRequest) Descriptor deprecated

func (*CreateAppRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAppRequest.ProtoReflect.Descriptor instead.

func (*CreateAppRequest) GetComment

func (x *CreateAppRequest) GetComment() string

func (*CreateAppRequest) GetDescription

func (x *CreateAppRequest) GetDescription() string

func (*CreateAppRequest) GetFavicon

func (x *CreateAppRequest) GetFavicon() string

func (*CreateAppRequest) GetKeyword

func (x *CreateAppRequest) GetKeyword() string
func (x *CreateAppRequest) GetLogo() string

func (*CreateAppRequest) GetName

func (x *CreateAppRequest) GetName() string

func (*CreateAppRequest) GetPrivate

func (x *CreateAppRequest) GetPrivate() bool

func (*CreateAppRequest) GetSecret

func (x *CreateAppRequest) GetSecret() string

func (*CreateAppRequest) GetSetting

func (x *CreateAppRequest) GetSetting() *AppSetting

func (*CreateAppRequest) GetShowName

func (x *CreateAppRequest) GetShowName() string

func (*CreateAppRequest) GetType

func (x *CreateAppRequest) GetType() 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

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

Cause function returns cause value.

func (CreateAppRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateAppRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateAppRequestValidationError) Field

Field function returns field value.

func (CreateAppRequestValidationError) Key

Key function returns key value.

func (CreateAppRequestValidationError) Reason

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

Cause function returns cause value.

func (DeleteAppReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteAppReplyValidationError) ErrorName

func (e DeleteAppReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteAppReplyValidationError) Field

Field function returns field value.

func (DeleteAppReplyValidationError) Key

Key function returns key value.

func (DeleteAppReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteAppRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteAppRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteAppRequestValidationError) Field

Field function returns field value.

func (DeleteAppRequestValidationError) Key

Key function returns key value.

func (DeleteAppRequestValidationError) Reason

Reason function returns reason value.

type GetAppReply

type GetAppReply struct {
	Id          uint32      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type        string      `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Favicon     string      `protobuf:"bytes,4,opt,name=favicon,proto3" json:"favicon,omitempty"`
	Keyword     string      `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Secret      string      `protobuf:"bytes,6,opt,name=secret,proto3" json:"secret,omitempty"`
	Name        string      `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	ShowName    string      `protobuf:"bytes,8,opt,name=showName,proto3" json:"showName,omitempty"`
	Comment     *string     `protobuf:"bytes,9,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	Private     bool        `protobuf:"varint,10,opt,name=private,proto3" json:"private,omitempty"`
	Status      bool        `protobuf:"varint,11,opt,name=status,proto3" json:"status,omitempty"`
	Reason      *string     `protobuf:"bytes,12,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	Description *string     `protobuf:"bytes,13,opt,name=description,proto3,oneof" json:"description,omitempty"`
	CreatedAt   uint32      `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32      `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Setting     *AppSetting `protobuf:"bytes,16,opt,name=setting,proto3" json:"setting,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppReply) Descriptor deprecated

func (*GetAppReply) Descriptor() ([]byte, []int)

Deprecated: Use GetAppReply.ProtoReflect.Descriptor instead.

func (*GetAppReply) GetComment

func (x *GetAppReply) GetComment() string

func (*GetAppReply) GetCreatedAt

func (x *GetAppReply) GetCreatedAt() uint32

func (*GetAppReply) GetDescription

func (x *GetAppReply) GetDescription() string

func (*GetAppReply) GetFavicon

func (x *GetAppReply) GetFavicon() string

func (*GetAppReply) GetId

func (x *GetAppReply) GetId() uint32

func (*GetAppReply) GetKeyword

func (x *GetAppReply) GetKeyword() string
func (x *GetAppReply) GetLogo() string

func (*GetAppReply) GetName

func (x *GetAppReply) GetName() string

func (*GetAppReply) GetPrivate

func (x *GetAppReply) GetPrivate() bool

func (*GetAppReply) GetReason

func (x *GetAppReply) GetReason() string

func (*GetAppReply) GetSecret

func (x *GetAppReply) GetSecret() string

func (*GetAppReply) GetSetting

func (x *GetAppReply) GetSetting() *AppSetting

func (*GetAppReply) GetShowName

func (x *GetAppReply) GetShowName() string

func (*GetAppReply) GetStatus

func (x *GetAppReply) GetStatus() bool

func (*GetAppReply) GetType

func (x *GetAppReply) GetType() string

func (*GetAppReply) GetUpdatedAt

func (x *GetAppReply) GetUpdatedAt() uint32

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

Cause function returns cause value.

func (GetAppReplyValidationError) Error

Error satisfies the builtin error interface

func (GetAppReplyValidationError) ErrorName

func (e GetAppReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetAppReplyValidationError) Field

Field function returns field value.

func (GetAppReplyValidationError) Key

Key function returns key value.

func (GetAppReplyValidationError) Reason

Reason function returns reason value.

type GetAppRequest

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

Cause function returns cause value.

func (GetAppRequestValidationError) Error

Error satisfies the builtin error interface

func (GetAppRequestValidationError) ErrorName

func (e GetAppRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetAppRequestValidationError) Field

Field function returns field value.

func (GetAppRequestValidationError) Key

Key function returns key value.

func (GetAppRequestValidationError) Reason

Reason function returns reason value.

type GetSampleAppReply

type GetSampleAppReply struct {
	Id          uint32                     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type        string                     `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Favicon     string                     `protobuf:"bytes,4,opt,name=favicon,proto3" json:"favicon,omitempty"`
	Keyword     string                     `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Name        string                     `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	ShowName    string                     `protobuf:"bytes,7,opt,name=showName,proto3" json:"showName,omitempty"`
	Comment     *string                    `protobuf:"bytes,8,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	Private     bool                       `protobuf:"varint,9,opt,name=private,proto3" json:"private,omitempty"`
	Status      bool                       `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"`
	Reason      *string                    `protobuf:"bytes,11,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	Description *string                    `protobuf:"bytes,12,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Setting     *GetSampleAppReply_Setting `protobuf:"bytes,13,opt,name=setting,proto3" json:"setting,omitempty"`
	CreatedAt   uint32                     `protobuf:"varint,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32                     `protobuf:"varint,15,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSampleAppReply) Descriptor deprecated

func (*GetSampleAppReply) Descriptor() ([]byte, []int)

Deprecated: Use GetSampleAppReply.ProtoReflect.Descriptor instead.

func (*GetSampleAppReply) GetComment

func (x *GetSampleAppReply) GetComment() string

func (*GetSampleAppReply) GetCreatedAt

func (x *GetSampleAppReply) GetCreatedAt() uint32

func (*GetSampleAppReply) GetDescription

func (x *GetSampleAppReply) GetDescription() string

func (*GetSampleAppReply) GetFavicon

func (x *GetSampleAppReply) GetFavicon() string

func (*GetSampleAppReply) GetId

func (x *GetSampleAppReply) GetId() uint32

func (*GetSampleAppReply) GetKeyword

func (x *GetSampleAppReply) GetKeyword() string
func (x *GetSampleAppReply) GetLogo() string

func (*GetSampleAppReply) GetName

func (x *GetSampleAppReply) GetName() string

func (*GetSampleAppReply) GetPrivate

func (x *GetSampleAppReply) GetPrivate() bool

func (*GetSampleAppReply) GetReason

func (x *GetSampleAppReply) GetReason() string

func (*GetSampleAppReply) GetSetting

func (*GetSampleAppReply) GetShowName

func (x *GetSampleAppReply) GetShowName() string

func (*GetSampleAppReply) GetStatus

func (x *GetSampleAppReply) GetStatus() bool

func (*GetSampleAppReply) GetType

func (x *GetSampleAppReply) GetType() string

func (*GetSampleAppReply) GetUpdatedAt

func (x *GetSampleAppReply) GetUpdatedAt() uint32

func (*GetSampleAppReply) ProtoMessage

func (*GetSampleAppReply) ProtoMessage()

func (*GetSampleAppReply) ProtoReflect

func (x *GetSampleAppReply) ProtoReflect() protoreflect.Message

func (*GetSampleAppReply) Reset

func (x *GetSampleAppReply) Reset()

func (*GetSampleAppReply) String

func (x *GetSampleAppReply) String() string

func (*GetSampleAppReply) Validate

func (m *GetSampleAppReply) Validate() error

Validate checks the field values on GetSampleAppReply 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 (*GetSampleAppReply) ValidateAll

func (m *GetSampleAppReply) ValidateAll() error

ValidateAll checks the field values on GetSampleAppReply 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 GetSampleAppReplyMultiError, or nil if none found.

type GetSampleAppReplyMultiError

type GetSampleAppReplyMultiError []error

GetSampleAppReplyMultiError is an error wrapping multiple validation errors returned by GetSampleAppReply.ValidateAll() if the designated constraints aren't met.

func (GetSampleAppReplyMultiError) AllErrors

func (m GetSampleAppReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSampleAppReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSampleAppReplyValidationError

type GetSampleAppReplyValidationError struct {
	// contains filtered or unexported fields
}

GetSampleAppReplyValidationError is the validation error returned by GetSampleAppReply.Validate if the designated constraints aren't met.

func (GetSampleAppReplyValidationError) Cause

Cause function returns cause value.

func (GetSampleAppReplyValidationError) Error

Error satisfies the builtin error interface

func (GetSampleAppReplyValidationError) ErrorName

ErrorName returns error name.

func (GetSampleAppReplyValidationError) Field

Field function returns field value.

func (GetSampleAppReplyValidationError) Key

Key function returns key value.

func (GetSampleAppReplyValidationError) Reason

Reason function returns reason value.

type GetSampleAppReply_Setting

type GetSampleAppReply_Setting struct {
	Tenant *AppSettingTenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Web    *AppSettingWeb    `protobuf:"bytes,2,opt,name=web,proto3" json:"web,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSampleAppReply_Setting) Descriptor deprecated

func (*GetSampleAppReply_Setting) Descriptor() ([]byte, []int)

Deprecated: Use GetSampleAppReply_Setting.ProtoReflect.Descriptor instead.

func (*GetSampleAppReply_Setting) GetTenant

func (*GetSampleAppReply_Setting) GetWeb

func (*GetSampleAppReply_Setting) ProtoMessage

func (*GetSampleAppReply_Setting) ProtoMessage()

func (*GetSampleAppReply_Setting) ProtoReflect

func (*GetSampleAppReply_Setting) Reset

func (x *GetSampleAppReply_Setting) Reset()

func (*GetSampleAppReply_Setting) String

func (x *GetSampleAppReply_Setting) String() string

func (*GetSampleAppReply_Setting) Validate

func (m *GetSampleAppReply_Setting) Validate() error

Validate checks the field values on GetSampleAppReply_Setting 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 (*GetSampleAppReply_Setting) ValidateAll

func (m *GetSampleAppReply_Setting) ValidateAll() error

ValidateAll checks the field values on GetSampleAppReply_Setting 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 GetSampleAppReply_SettingMultiError, or nil if none found.

type GetSampleAppReply_SettingMultiError

type GetSampleAppReply_SettingMultiError []error

GetSampleAppReply_SettingMultiError is an error wrapping multiple validation errors returned by GetSampleAppReply_Setting.ValidateAll() if the designated constraints aren't met.

func (GetSampleAppReply_SettingMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetSampleAppReply_SettingMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSampleAppReply_SettingValidationError

type GetSampleAppReply_SettingValidationError struct {
	// contains filtered or unexported fields
}

GetSampleAppReply_SettingValidationError is the validation error returned by GetSampleAppReply_Setting.Validate if the designated constraints aren't met.

func (GetSampleAppReply_SettingValidationError) Cause

Cause function returns cause value.

func (GetSampleAppReply_SettingValidationError) Error

Error satisfies the builtin error interface

func (GetSampleAppReply_SettingValidationError) ErrorName

ErrorName returns error name.

func (GetSampleAppReply_SettingValidationError) Field

Field function returns field value.

func (GetSampleAppReply_SettingValidationError) Key

Key function returns key value.

func (GetSampleAppReply_SettingValidationError) Reason

Reason function returns reason value.

type GetSampleAppRequest

type GetSampleAppRequest struct {
	Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSampleAppRequest) Descriptor deprecated

func (*GetSampleAppRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSampleAppRequest.ProtoReflect.Descriptor instead.

func (*GetSampleAppRequest) GetKeyword

func (x *GetSampleAppRequest) GetKeyword() string

func (*GetSampleAppRequest) ProtoMessage

func (*GetSampleAppRequest) ProtoMessage()

func (*GetSampleAppRequest) ProtoReflect

func (x *GetSampleAppRequest) ProtoReflect() protoreflect.Message

func (*GetSampleAppRequest) Reset

func (x *GetSampleAppRequest) Reset()

func (*GetSampleAppRequest) String

func (x *GetSampleAppRequest) String() string

func (*GetSampleAppRequest) Validate

func (m *GetSampleAppRequest) Validate() error

Validate checks the field values on GetSampleAppRequest 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 (*GetSampleAppRequest) ValidateAll

func (m *GetSampleAppRequest) ValidateAll() error

ValidateAll checks the field values on GetSampleAppRequest 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 GetSampleAppRequestMultiError, or nil if none found.

type GetSampleAppRequestMultiError

type GetSampleAppRequestMultiError []error

GetSampleAppRequestMultiError is an error wrapping multiple validation errors returned by GetSampleAppRequest.ValidateAll() if the designated constraints aren't met.

func (GetSampleAppRequestMultiError) AllErrors

func (m GetSampleAppRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSampleAppRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSampleAppRequestValidationError

type GetSampleAppRequestValidationError struct {
	// contains filtered or unexported fields
}

GetSampleAppRequestValidationError is the validation error returned by GetSampleAppRequest.Validate if the designated constraints aren't met.

func (GetSampleAppRequestValidationError) Cause

Cause function returns cause value.

func (GetSampleAppRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSampleAppRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSampleAppRequestValidationError) Field

Field function returns field value.

func (GetSampleAppRequestValidationError) Key

Key function returns key value.

func (GetSampleAppRequestValidationError) Reason

Reason function returns reason value.

type ListAppReply

type ListAppReply struct {
	Total uint32               `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*ListAppReply_Data `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_Data

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

Cause function returns cause value.

func (ListAppReplyValidationError) Error

Error satisfies the builtin error interface

func (ListAppReplyValidationError) ErrorName

func (e ListAppReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListAppReplyValidationError) Field

Field function returns field value.

func (ListAppReplyValidationError) Key

Key function returns key value.

func (ListAppReplyValidationError) Reason

Reason function returns reason value.

type ListAppReply_Data

type ListAppReply_Data struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Favicon     string  `protobuf:"bytes,3,opt,name=favicon,proto3" json:"favicon,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"`
	ShowName    string  `protobuf:"bytes,6,opt,name=showName,proto3" json:"showName,omitempty"`
	Status      *bool   `protobuf:"varint,7,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Reason      *string `protobuf:"bytes,8,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	Private     *bool   `protobuf:"varint,9,opt,name=private,proto3,oneof" json:"private,omitempty"`
	Description *string `protobuf:"bytes,10,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Comment     *string `protobuf:"bytes,11,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	CreatedAt   uint32  `protobuf:"varint,12,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32  `protobuf:"varint,13,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppReply_Data) Descriptor deprecated

func (*ListAppReply_Data) Descriptor() ([]byte, []int)

Deprecated: Use ListAppReply_Data.ProtoReflect.Descriptor instead.

func (*ListAppReply_Data) GetComment

func (x *ListAppReply_Data) GetComment() string

func (*ListAppReply_Data) GetCreatedAt

func (x *ListAppReply_Data) GetCreatedAt() uint32

func (*ListAppReply_Data) GetDescription

func (x *ListAppReply_Data) GetDescription() string

func (*ListAppReply_Data) GetFavicon

func (x *ListAppReply_Data) GetFavicon() string

func (*ListAppReply_Data) GetId

func (x *ListAppReply_Data) GetId() uint32

func (*ListAppReply_Data) GetKeyword

func (x *ListAppReply_Data) GetKeyword() string
func (x *ListAppReply_Data) GetLogo() string

func (*ListAppReply_Data) GetName

func (x *ListAppReply_Data) GetName() string

func (*ListAppReply_Data) GetPrivate

func (x *ListAppReply_Data) GetPrivate() bool

func (*ListAppReply_Data) GetReason

func (x *ListAppReply_Data) GetReason() string

func (*ListAppReply_Data) GetShowName

func (x *ListAppReply_Data) GetShowName() string

func (*ListAppReply_Data) GetStatus

func (x *ListAppReply_Data) GetStatus() bool

func (*ListAppReply_Data) GetUpdatedAt

func (x *ListAppReply_Data) GetUpdatedAt() uint32

func (*ListAppReply_Data) ProtoMessage

func (*ListAppReply_Data) ProtoMessage()

func (*ListAppReply_Data) ProtoReflect

func (x *ListAppReply_Data) ProtoReflect() protoreflect.Message

func (*ListAppReply_Data) Reset

func (x *ListAppReply_Data) Reset()

func (*ListAppReply_Data) String

func (x *ListAppReply_Data) String() string

func (*ListAppReply_Data) Validate

func (m *ListAppReply_Data) Validate() error

Validate checks the field values on ListAppReply_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 (*ListAppReply_Data) ValidateAll

func (m *ListAppReply_Data) ValidateAll() error

ValidateAll checks the field values on ListAppReply_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 ListAppReply_DataMultiError, or nil if none found.

type ListAppReply_DataMultiError

type ListAppReply_DataMultiError []error

ListAppReply_DataMultiError is an error wrapping multiple validation errors returned by ListAppReply_Data.ValidateAll() if the designated constraints aren't met.

func (ListAppReply_DataMultiError) AllErrors

func (m ListAppReply_DataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListAppReply_DataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListAppReply_DataValidationError

type ListAppReply_DataValidationError struct {
	// contains filtered or unexported fields
}

ListAppReply_DataValidationError is the validation error returned by ListAppReply_Data.Validate if the designated constraints aren't met.

func (ListAppReply_DataValidationError) Cause

Cause function returns cause value.

func (ListAppReply_DataValidationError) Error

Error satisfies the builtin error interface

func (ListAppReply_DataValidationError) ErrorName

ErrorName returns error name.

func (ListAppReply_DataValidationError) Field

Field function returns field value.

func (ListAppReply_DataValidationError) Key

Key function returns key value.

func (ListAppReply_DataValidationError) Reason

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

Cause function returns cause value.

func (ListAppRequestValidationError) Error

Error satisfies the builtin error interface

func (ListAppRequestValidationError) ErrorName

func (e ListAppRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListAppRequestValidationError) Field

Field function returns field value.

func (ListAppRequestValidationError) Key

Key function returns key value.

func (ListAppRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedAppServer

type UnimplementedAppServer struct{}

UnimplementedAppServer must be embedded to have forward compatible implementations.

func (UnimplementedAppServer) CreateApp

func (UnimplementedAppServer) DeleteApp

func (UnimplementedAppServer) GetApp

func (UnimplementedAppServer) GetSampleApp

func (UnimplementedAppServer) ListApp

func (UnimplementedAppServer) UpdateApp

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

Cause function returns cause value.

func (UpdateAppReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateAppReplyValidationError) ErrorName

func (e UpdateAppReplyValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateAppReplyValidationError) Field

Field function returns field value.

func (UpdateAppReplyValidationError) Key

Key function returns key value.

func (UpdateAppReplyValidationError) Reason

Reason function returns reason value.

type UpdateAppRequest

type UpdateAppRequest struct {
	Id          uint32      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type        *string     `protobuf:"bytes,2,opt,name=type,proto3,oneof" json:"type,omitempty"`
	Favicon     *string     `protobuf:"bytes,4,opt,name=favicon,proto3,oneof" json:"favicon,omitempty"`
	Secret      *string     `protobuf:"bytes,5,opt,name=secret,proto3,oneof" json:"secret,omitempty"`
	Name        *string     `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
	ShowName    *string     `protobuf:"bytes,7,opt,name=showName,proto3,oneof" json:"showName,omitempty"`
	Private     *bool       `protobuf:"varint,8,opt,name=private,proto3,oneof" json:"private,omitempty"`
	Status      *bool       `protobuf:"varint,9,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Reason      *string     `protobuf:"bytes,10,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	Description *string     `protobuf:"bytes,11,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Comment     *string     `protobuf:"bytes,12,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	Setting     *AppSetting `protobuf:"bytes,13,opt,name=setting,proto3,oneof" json:"setting,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAppRequest) Descriptor deprecated

func (*UpdateAppRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAppRequest.ProtoReflect.Descriptor instead.

func (*UpdateAppRequest) GetComment

func (x *UpdateAppRequest) GetComment() string

func (*UpdateAppRequest) GetDescription

func (x *UpdateAppRequest) GetDescription() string

func (*UpdateAppRequest) GetFavicon

func (x *UpdateAppRequest) GetFavicon() string

func (*UpdateAppRequest) GetId

func (x *UpdateAppRequest) GetId() uint32
func (x *UpdateAppRequest) GetLogo() string

func (*UpdateAppRequest) GetName

func (x *UpdateAppRequest) GetName() string

func (*UpdateAppRequest) GetPrivate

func (x *UpdateAppRequest) GetPrivate() bool

func (*UpdateAppRequest) GetReason

func (x *UpdateAppRequest) GetReason() string

func (*UpdateAppRequest) GetSecret

func (x *UpdateAppRequest) GetSecret() string

func (*UpdateAppRequest) GetSetting

func (x *UpdateAppRequest) GetSetting() *AppSetting

func (*UpdateAppRequest) GetShowName

func (x *UpdateAppRequest) GetShowName() string

func (*UpdateAppRequest) GetStatus

func (x *UpdateAppRequest) GetStatus() bool

func (*UpdateAppRequest) GetType

func (x *UpdateAppRequest) GetType() 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

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

Cause function returns cause value.

func (UpdateAppRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateAppRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateAppRequestValidationError) Field

Field function returns field value.

func (UpdateAppRequestValidationError) Key

Key function returns key value.

func (UpdateAppRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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