Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterSystemHTTPServer(s *http.Server, srv SystemHTTPServer)
- func RegisterSystemServer(s grpc.ServiceRegistrar, srv SystemServer)
- type DictionaryValue
- func (*DictionaryValue) Descriptor() ([]byte, []int)deprecated
- func (x *DictionaryValue) GetExtra() string
- func (x *DictionaryValue) GetLabel() string
- func (x *DictionaryValue) GetType() string
- func (x *DictionaryValue) GetValue() string
- func (*DictionaryValue) ProtoMessage()
- func (x *DictionaryValue) ProtoReflect() protoreflect.Message
- func (x *DictionaryValue) Reset()
- func (x *DictionaryValue) String() string
- func (m *DictionaryValue) Validate() error
- func (m *DictionaryValue) ValidateAll() error
- type DictionaryValueMultiError
- type DictionaryValueValidationError
- func (e DictionaryValueValidationError) Cause() error
- func (e DictionaryValueValidationError) Error() string
- func (e DictionaryValueValidationError) ErrorName() string
- func (e DictionaryValueValidationError) Field() string
- func (e DictionaryValueValidationError) Key() bool
- func (e DictionaryValueValidationError) Reason() string
- type GetSystemSettingReply
- func (*GetSystemSettingReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetSystemSettingReply) GetChangePasswordType() string
- func (x *GetSystemSettingReply) GetCopyright() string
- func (x *GetSystemSettingReply) GetDebug() bool
- func (x *GetSystemSettingReply) GetDesc() string
- func (x *GetSystemSettingReply) GetDictionaries() map[string]*GetSystemSettingReply_DictionaryValueList
- func (x *GetSystemSettingReply) GetLogo() string
- func (x *GetSystemSettingReply) GetTitle() string
- func (x *GetSystemSettingReply) GetWatermark() string
- func (*GetSystemSettingReply) ProtoMessage()
- func (x *GetSystemSettingReply) ProtoReflect() protoreflect.Message
- func (x *GetSystemSettingReply) Reset()
- func (x *GetSystemSettingReply) String() string
- func (m *GetSystemSettingReply) Validate() error
- func (m *GetSystemSettingReply) ValidateAll() error
- type GetSystemSettingReplyMultiError
- type GetSystemSettingReplyValidationError
- func (e GetSystemSettingReplyValidationError) Cause() error
- func (e GetSystemSettingReplyValidationError) Error() string
- func (e GetSystemSettingReplyValidationError) ErrorName() string
- func (e GetSystemSettingReplyValidationError) Field() string
- func (e GetSystemSettingReplyValidationError) Key() bool
- func (e GetSystemSettingReplyValidationError) Reason() string
- type GetSystemSettingReply_DictionaryValueList
- func (*GetSystemSettingReply_DictionaryValueList) Descriptor() ([]byte, []int)deprecated
- func (x *GetSystemSettingReply_DictionaryValueList) GetList() []*DictionaryValue
- func (*GetSystemSettingReply_DictionaryValueList) ProtoMessage()
- func (x *GetSystemSettingReply_DictionaryValueList) ProtoReflect() protoreflect.Message
- func (x *GetSystemSettingReply_DictionaryValueList) Reset()
- func (x *GetSystemSettingReply_DictionaryValueList) String() string
- func (m *GetSystemSettingReply_DictionaryValueList) Validate() error
- func (m *GetSystemSettingReply_DictionaryValueList) ValidateAll() error
- type GetSystemSettingReply_DictionaryValueListMultiError
- type GetSystemSettingReply_DictionaryValueListValidationError
- func (e GetSystemSettingReply_DictionaryValueListValidationError) Cause() error
- func (e GetSystemSettingReply_DictionaryValueListValidationError) Error() string
- func (e GetSystemSettingReply_DictionaryValueListValidationError) ErrorName() string
- func (e GetSystemSettingReply_DictionaryValueListValidationError) Field() string
- func (e GetSystemSettingReply_DictionaryValueListValidationError) Key() bool
- func (e GetSystemSettingReply_DictionaryValueListValidationError) Reason() string
- type GetSystemSettingRequest
- func (*GetSystemSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetSystemSettingRequest) ProtoMessage()
- func (x *GetSystemSettingRequest) ProtoReflect() protoreflect.Message
- func (x *GetSystemSettingRequest) Reset()
- func (x *GetSystemSettingRequest) String() string
- func (m *GetSystemSettingRequest) Validate() error
- func (m *GetSystemSettingRequest) ValidateAll() error
- type GetSystemSettingRequestMultiError
- type GetSystemSettingRequestValidationError
- func (e GetSystemSettingRequestValidationError) Cause() error
- func (e GetSystemSettingRequestValidationError) Error() string
- func (e GetSystemSettingRequestValidationError) ErrorName() string
- func (e GetSystemSettingRequestValidationError) Field() string
- func (e GetSystemSettingRequestValidationError) Key() bool
- func (e GetSystemSettingRequestValidationError) Reason() string
- type SystemClient
- type SystemHTTPClient
- type SystemHTTPClientImpl
- type SystemHTTPServer
- type SystemServer
- type UnimplementedSystemServer
- type UnsafeSystemServer
Constants ¶
const OperationSystemGetSystemSetting = "/manager.api.manager.system.v1.System/GetSystemSetting"
const (
System_GetSystemSetting_FullMethodName = "/manager.api.manager.system.v1.System/GetSystemSetting"
)
Variables ¶
var File_api_manager_system_manager_system_proto protoreflect.FileDescriptor
var File_api_manager_system_manager_system_service_proto protoreflect.FileDescriptor
var System_ServiceDesc = grpc.ServiceDesc{ ServiceName: "manager.api.manager.system.v1.System", HandlerType: (*SystemServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSystemSetting", Handler: _System_GetSystemSetting_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/manager/system/manager_system_service.proto", }
System_ServiceDesc is the grpc.ServiceDesc for System service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSystemHTTPServer ¶
func RegisterSystemHTTPServer(s *http.Server, srv SystemHTTPServer)
func RegisterSystemServer ¶
func RegisterSystemServer(s grpc.ServiceRegistrar, srv SystemServer)
Types ¶
type DictionaryValue ¶
type DictionaryValue struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Type *string `protobuf:"bytes,3,opt,name=type,proto3,oneof" json:"type,omitempty"` Extra *string `protobuf:"bytes,4,opt,name=extra,proto3,oneof" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*DictionaryValue) Descriptor
deprecated
func (*DictionaryValue) Descriptor() ([]byte, []int)
Deprecated: Use DictionaryValue.ProtoReflect.Descriptor instead.
func (*DictionaryValue) GetExtra ¶
func (x *DictionaryValue) GetExtra() string
func (*DictionaryValue) GetLabel ¶
func (x *DictionaryValue) GetLabel() string
func (*DictionaryValue) GetType ¶
func (x *DictionaryValue) GetType() string
func (*DictionaryValue) GetValue ¶
func (x *DictionaryValue) GetValue() string
func (*DictionaryValue) ProtoMessage ¶
func (*DictionaryValue) ProtoMessage()
func (*DictionaryValue) ProtoReflect ¶
func (x *DictionaryValue) ProtoReflect() protoreflect.Message
func (*DictionaryValue) Reset ¶
func (x *DictionaryValue) Reset()
func (*DictionaryValue) String ¶
func (x *DictionaryValue) String() string
func (*DictionaryValue) Validate ¶
func (m *DictionaryValue) Validate() error
Validate checks the field values on DictionaryValue 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 (*DictionaryValue) ValidateAll ¶
func (m *DictionaryValue) ValidateAll() error
ValidateAll checks the field values on DictionaryValue 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 DictionaryValueMultiError, or nil if none found.
type DictionaryValueMultiError ¶
type DictionaryValueMultiError []error
DictionaryValueMultiError is an error wrapping multiple validation errors returned by DictionaryValue.ValidateAll() if the designated constraints aren't met.
func (DictionaryValueMultiError) AllErrors ¶
func (m DictionaryValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DictionaryValueMultiError) Error ¶
func (m DictionaryValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DictionaryValueValidationError ¶
type DictionaryValueValidationError struct {
// contains filtered or unexported fields
}
DictionaryValueValidationError is the validation error returned by DictionaryValue.Validate if the designated constraints aren't met.
func (DictionaryValueValidationError) Cause ¶
func (e DictionaryValueValidationError) Cause() error
Cause function returns cause value.
func (DictionaryValueValidationError) Error ¶
func (e DictionaryValueValidationError) Error() string
Error satisfies the builtin error interface
func (DictionaryValueValidationError) ErrorName ¶
func (e DictionaryValueValidationError) ErrorName() string
ErrorName returns error name.
func (DictionaryValueValidationError) Field ¶
func (e DictionaryValueValidationError) Field() string
Field function returns field value.
func (DictionaryValueValidationError) Key ¶
func (e DictionaryValueValidationError) Key() bool
Key function returns key value.
func (DictionaryValueValidationError) Reason ¶
func (e DictionaryValueValidationError) Reason() string
Reason function returns reason value.
type GetSystemSettingReply ¶
type GetSystemSettingReply struct { Debug bool `protobuf:"varint,1,opt,name=debug,proto3" json:"debug,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` Copyright string `protobuf:"bytes,4,opt,name=copyright,proto3" json:"copyright,omitempty"` Logo string `protobuf:"bytes,5,opt,name=logo,proto3" json:"logo,omitempty"` ChangePasswordType string `protobuf:"bytes,6,opt,name=changePasswordType,proto3" json:"changePasswordType,omitempty"` Watermark string `protobuf:"bytes,7,opt,name=watermark,proto3" json:"watermark,omitempty"` Dictionaries map[string]*GetSystemSettingReply_DictionaryValueList `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetSystemSettingReply) Descriptor
deprecated
func (*GetSystemSettingReply) Descriptor() ([]byte, []int)
Deprecated: Use GetSystemSettingReply.ProtoReflect.Descriptor instead.
func (*GetSystemSettingReply) GetChangePasswordType ¶
func (x *GetSystemSettingReply) GetChangePasswordType() string
func (*GetSystemSettingReply) GetCopyright ¶
func (x *GetSystemSettingReply) GetCopyright() string
func (*GetSystemSettingReply) GetDebug ¶
func (x *GetSystemSettingReply) GetDebug() bool
func (*GetSystemSettingReply) GetDesc ¶
func (x *GetSystemSettingReply) GetDesc() string
func (*GetSystemSettingReply) GetDictionaries ¶
func (x *GetSystemSettingReply) GetDictionaries() map[string]*GetSystemSettingReply_DictionaryValueList
func (*GetSystemSettingReply) GetLogo ¶
func (x *GetSystemSettingReply) GetLogo() string
func (*GetSystemSettingReply) GetTitle ¶
func (x *GetSystemSettingReply) GetTitle() string
func (*GetSystemSettingReply) GetWatermark ¶
func (x *GetSystemSettingReply) GetWatermark() string
func (*GetSystemSettingReply) ProtoMessage ¶
func (*GetSystemSettingReply) ProtoMessage()
func (*GetSystemSettingReply) ProtoReflect ¶
func (x *GetSystemSettingReply) ProtoReflect() protoreflect.Message
func (*GetSystemSettingReply) Reset ¶
func (x *GetSystemSettingReply) Reset()
func (*GetSystemSettingReply) String ¶
func (x *GetSystemSettingReply) String() string
func (*GetSystemSettingReply) Validate ¶
func (m *GetSystemSettingReply) Validate() error
Validate checks the field values on GetSystemSettingReply 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 (*GetSystemSettingReply) ValidateAll ¶
func (m *GetSystemSettingReply) ValidateAll() error
ValidateAll checks the field values on GetSystemSettingReply 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 GetSystemSettingReplyMultiError, or nil if none found.
type GetSystemSettingReplyMultiError ¶
type GetSystemSettingReplyMultiError []error
GetSystemSettingReplyMultiError is an error wrapping multiple validation errors returned by GetSystemSettingReply.ValidateAll() if the designated constraints aren't met.
func (GetSystemSettingReplyMultiError) AllErrors ¶
func (m GetSystemSettingReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSystemSettingReplyMultiError) Error ¶
func (m GetSystemSettingReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSystemSettingReplyValidationError ¶
type GetSystemSettingReplyValidationError struct {
// contains filtered or unexported fields
}
GetSystemSettingReplyValidationError is the validation error returned by GetSystemSettingReply.Validate if the designated constraints aren't met.
func (GetSystemSettingReplyValidationError) Cause ¶
func (e GetSystemSettingReplyValidationError) Cause() error
Cause function returns cause value.
func (GetSystemSettingReplyValidationError) Error ¶
func (e GetSystemSettingReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetSystemSettingReplyValidationError) ErrorName ¶
func (e GetSystemSettingReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetSystemSettingReplyValidationError) Field ¶
func (e GetSystemSettingReplyValidationError) Field() string
Field function returns field value.
func (GetSystemSettingReplyValidationError) Key ¶
func (e GetSystemSettingReplyValidationError) Key() bool
Key function returns key value.
func (GetSystemSettingReplyValidationError) Reason ¶
func (e GetSystemSettingReplyValidationError) Reason() string
Reason function returns reason value.
type GetSystemSettingReply_DictionaryValueList ¶
type GetSystemSettingReply_DictionaryValueList struct { List []*DictionaryValue `protobuf:"bytes,8,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*GetSystemSettingReply_DictionaryValueList) Descriptor
deprecated
func (*GetSystemSettingReply_DictionaryValueList) Descriptor() ([]byte, []int)
Deprecated: Use GetSystemSettingReply_DictionaryValueList.ProtoReflect.Descriptor instead.
func (*GetSystemSettingReply_DictionaryValueList) GetList ¶
func (x *GetSystemSettingReply_DictionaryValueList) GetList() []*DictionaryValue
func (*GetSystemSettingReply_DictionaryValueList) ProtoMessage ¶
func (*GetSystemSettingReply_DictionaryValueList) ProtoMessage()
func (*GetSystemSettingReply_DictionaryValueList) ProtoReflect ¶
func (x *GetSystemSettingReply_DictionaryValueList) ProtoReflect() protoreflect.Message
func (*GetSystemSettingReply_DictionaryValueList) Reset ¶
func (x *GetSystemSettingReply_DictionaryValueList) Reset()
func (*GetSystemSettingReply_DictionaryValueList) String ¶
func (x *GetSystemSettingReply_DictionaryValueList) String() string
func (*GetSystemSettingReply_DictionaryValueList) Validate ¶
func (m *GetSystemSettingReply_DictionaryValueList) Validate() error
Validate checks the field values on GetSystemSettingReply_DictionaryValueList 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 (*GetSystemSettingReply_DictionaryValueList) ValidateAll ¶
func (m *GetSystemSettingReply_DictionaryValueList) ValidateAll() error
ValidateAll checks the field values on GetSystemSettingReply_DictionaryValueList 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 GetSystemSettingReply_DictionaryValueListMultiError, or nil if none found.
type GetSystemSettingReply_DictionaryValueListMultiError ¶
type GetSystemSettingReply_DictionaryValueListMultiError []error
GetSystemSettingReply_DictionaryValueListMultiError is an error wrapping multiple validation errors returned by GetSystemSettingReply_DictionaryValueList.ValidateAll() if the designated constraints aren't met.
func (GetSystemSettingReply_DictionaryValueListMultiError) AllErrors ¶
func (m GetSystemSettingReply_DictionaryValueListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSystemSettingReply_DictionaryValueListMultiError) Error ¶
func (m GetSystemSettingReply_DictionaryValueListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSystemSettingReply_DictionaryValueListValidationError ¶
type GetSystemSettingReply_DictionaryValueListValidationError struct {
// contains filtered or unexported fields
}
GetSystemSettingReply_DictionaryValueListValidationError is the validation error returned by GetSystemSettingReply_DictionaryValueList.Validate if the designated constraints aren't met.
func (GetSystemSettingReply_DictionaryValueListValidationError) Cause ¶
func (e GetSystemSettingReply_DictionaryValueListValidationError) Cause() error
Cause function returns cause value.
func (GetSystemSettingReply_DictionaryValueListValidationError) Error ¶
func (e GetSystemSettingReply_DictionaryValueListValidationError) Error() string
Error satisfies the builtin error interface
func (GetSystemSettingReply_DictionaryValueListValidationError) ErrorName ¶
func (e GetSystemSettingReply_DictionaryValueListValidationError) ErrorName() string
ErrorName returns error name.
func (GetSystemSettingReply_DictionaryValueListValidationError) Field ¶
func (e GetSystemSettingReply_DictionaryValueListValidationError) Field() string
Field function returns field value.
func (GetSystemSettingReply_DictionaryValueListValidationError) Key ¶
func (e GetSystemSettingReply_DictionaryValueListValidationError) Key() bool
Key function returns key value.
func (GetSystemSettingReply_DictionaryValueListValidationError) Reason ¶
func (e GetSystemSettingReply_DictionaryValueListValidationError) Reason() string
Reason function returns reason value.
type GetSystemSettingRequest ¶
type GetSystemSettingRequest struct {
// contains filtered or unexported fields
}
func (*GetSystemSettingRequest) Descriptor
deprecated
func (*GetSystemSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSystemSettingRequest.ProtoReflect.Descriptor instead.
func (*GetSystemSettingRequest) ProtoMessage ¶
func (*GetSystemSettingRequest) ProtoMessage()
func (*GetSystemSettingRequest) ProtoReflect ¶
func (x *GetSystemSettingRequest) ProtoReflect() protoreflect.Message
func (*GetSystemSettingRequest) Reset ¶
func (x *GetSystemSettingRequest) Reset()
func (*GetSystemSettingRequest) String ¶
func (x *GetSystemSettingRequest) String() string
func (*GetSystemSettingRequest) Validate ¶
func (m *GetSystemSettingRequest) Validate() error
Validate checks the field values on GetSystemSettingRequest 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 (*GetSystemSettingRequest) ValidateAll ¶
func (m *GetSystemSettingRequest) ValidateAll() error
ValidateAll checks the field values on GetSystemSettingRequest 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 GetSystemSettingRequestMultiError, or nil if none found.
type GetSystemSettingRequestMultiError ¶
type GetSystemSettingRequestMultiError []error
GetSystemSettingRequestMultiError is an error wrapping multiple validation errors returned by GetSystemSettingRequest.ValidateAll() if the designated constraints aren't met.
func (GetSystemSettingRequestMultiError) AllErrors ¶
func (m GetSystemSettingRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSystemSettingRequestMultiError) Error ¶
func (m GetSystemSettingRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSystemSettingRequestValidationError ¶
type GetSystemSettingRequestValidationError struct {
// contains filtered or unexported fields
}
GetSystemSettingRequestValidationError is the validation error returned by GetSystemSettingRequest.Validate if the designated constraints aren't met.
func (GetSystemSettingRequestValidationError) Cause ¶
func (e GetSystemSettingRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSystemSettingRequestValidationError) Error ¶
func (e GetSystemSettingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSystemSettingRequestValidationError) ErrorName ¶
func (e GetSystemSettingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSystemSettingRequestValidationError) Field ¶
func (e GetSystemSettingRequestValidationError) Field() string
Field function returns field value.
func (GetSystemSettingRequestValidationError) Key ¶
func (e GetSystemSettingRequestValidationError) Key() bool
Key function returns key value.
func (GetSystemSettingRequestValidationError) Reason ¶
func (e GetSystemSettingRequestValidationError) Reason() string
Reason function returns reason value.
type SystemClient ¶
type SystemClient interface { // GetSystemSetting 获取系统设置 GetSystemSetting(ctx context.Context, in *GetSystemSettingRequest, opts ...grpc.CallOption) (*GetSystemSettingReply, error) }
SystemClient is the client API for System 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 NewSystemClient ¶
func NewSystemClient(cc grpc.ClientConnInterface) SystemClient
type SystemHTTPClient ¶
type SystemHTTPClient interface {
GetSystemSetting(ctx context.Context, req *GetSystemSettingRequest, opts ...http.CallOption) (rsp *GetSystemSettingReply, err error)
}
func NewSystemHTTPClient ¶
func NewSystemHTTPClient(client *http.Client) SystemHTTPClient
type SystemHTTPClientImpl ¶
type SystemHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*SystemHTTPClientImpl) GetSystemSetting ¶
func (c *SystemHTTPClientImpl) GetSystemSetting(ctx context.Context, in *GetSystemSettingRequest, opts ...http.CallOption) (*GetSystemSettingReply, error)
type SystemHTTPServer ¶
type SystemHTTPServer interface { // GetSystemSetting GetSystemSetting 获取系统设置 GetSystemSetting(context.Context, *GetSystemSettingRequest) (*GetSystemSettingReply, error) }
type SystemServer ¶
type SystemServer interface { // GetSystemSetting 获取系统设置 GetSystemSetting(context.Context, *GetSystemSettingRequest) (*GetSystemSettingReply, error) // contains filtered or unexported methods }
SystemServer is the server API for System service. All implementations must embed UnimplementedSystemServer for forward compatibility
type UnimplementedSystemServer ¶
type UnimplementedSystemServer struct { }
UnimplementedSystemServer must be embedded to have forward compatible implementations.
func (UnimplementedSystemServer) GetSystemSetting ¶
func (UnimplementedSystemServer) GetSystemSetting(context.Context, *GetSystemSettingRequest) (*GetSystemSettingReply, error)
type UnsafeSystemServer ¶
type UnsafeSystemServer interface {
// contains filtered or unexported methods
}
UnsafeSystemServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemServer will result in compilation errors.