Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTemplateHTTPServer(s *http.Server, srv TemplateHTTPServer)
- func RegisterTemplateServer(s grpc.ServiceRegistrar, srv TemplateServer)
- type CompareTemplateInfo
- func (*CompareTemplateInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CompareTemplateInfo) GetCur() string
- func (x *CompareTemplateInfo) GetKey() string
- func (x *CompareTemplateInfo) GetOld() string
- func (x *CompareTemplateInfo) GetType() string
- func (*CompareTemplateInfo) ProtoMessage()
- func (x *CompareTemplateInfo) ProtoReflect() protoreflect.Message
- func (x *CompareTemplateInfo) Reset()
- func (x *CompareTemplateInfo) String() string
- func (m *CompareTemplateInfo) Validate() error
- func (m *CompareTemplateInfo) ValidateAll() error
- type CompareTemplateInfoMultiError
- type CompareTemplateInfoValidationError
- func (e CompareTemplateInfoValidationError) Cause() error
- func (e CompareTemplateInfoValidationError) Error() string
- func (e CompareTemplateInfoValidationError) ErrorName() string
- func (e CompareTemplateInfoValidationError) Field() string
- func (e CompareTemplateInfoValidationError) Key() bool
- func (e CompareTemplateInfoValidationError) Reason() string
- type CompareTemplateReply
- func (*CompareTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (x *CompareTemplateReply) GetList() []*CompareTemplateInfo
- func (*CompareTemplateReply) ProtoMessage()
- func (x *CompareTemplateReply) ProtoReflect() protoreflect.Message
- func (x *CompareTemplateReply) Reset()
- func (x *CompareTemplateReply) String() string
- func (m *CompareTemplateReply) Validate() error
- func (m *CompareTemplateReply) ValidateAll() error
- type CompareTemplateReplyMultiError
- type CompareTemplateReplyValidationError
- func (e CompareTemplateReplyValidationError) Cause() error
- func (e CompareTemplateReplyValidationError) Error() string
- func (e CompareTemplateReplyValidationError) ErrorName() string
- func (e CompareTemplateReplyValidationError) Field() string
- func (e CompareTemplateReplyValidationError) Key() bool
- func (e CompareTemplateReplyValidationError) Reason() string
- type CompareTemplateRequest
- func (*CompareTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompareTemplateRequest) GetContent() string
- func (x *CompareTemplateRequest) GetFormat() string
- func (x *CompareTemplateRequest) GetId() uint32
- func (*CompareTemplateRequest) ProtoMessage()
- func (x *CompareTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CompareTemplateRequest) Reset()
- func (x *CompareTemplateRequest) String() string
- func (m *CompareTemplateRequest) Validate() error
- func (m *CompareTemplateRequest) ValidateAll() error
- type CompareTemplateRequestMultiError
- type CompareTemplateRequestValidationError
- func (e CompareTemplateRequestValidationError) Cause() error
- func (e CompareTemplateRequestValidationError) Error() string
- func (e CompareTemplateRequestValidationError) ErrorName() string
- func (e CompareTemplateRequestValidationError) Field() string
- func (e CompareTemplateRequestValidationError) Key() bool
- func (e CompareTemplateRequestValidationError) Reason() string
- type CreateTemplateReply
- func (*CreateTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateReply) GetId() uint32
- func (*CreateTemplateReply) ProtoMessage()
- func (x *CreateTemplateReply) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateReply) Reset()
- func (x *CreateTemplateReply) String() string
- func (m *CreateTemplateReply) Validate() error
- func (m *CreateTemplateReply) ValidateAll() error
- type CreateTemplateReplyMultiError
- type CreateTemplateReplyValidationError
- func (e CreateTemplateReplyValidationError) Cause() error
- func (e CreateTemplateReplyValidationError) Error() string
- func (e CreateTemplateReplyValidationError) ErrorName() string
- func (e CreateTemplateReplyValidationError) Field() string
- func (e CreateTemplateReplyValidationError) Key() bool
- func (e CreateTemplateReplyValidationError) Reason() string
- type CreateTemplateRequest
- func (*CreateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateRequest) GetContent() string
- func (x *CreateTemplateRequest) GetDescription() string
- func (x *CreateTemplateRequest) GetFormat() string
- func (x *CreateTemplateRequest) GetServerId() uint32
- func (*CreateTemplateRequest) ProtoMessage()
- func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateRequest) Reset()
- func (x *CreateTemplateRequest) String() string
- func (m *CreateTemplateRequest) Validate() error
- func (m *CreateTemplateRequest) ValidateAll() error
- type CreateTemplateRequestMultiError
- type CreateTemplateRequestValidationError
- func (e CreateTemplateRequestValidationError) Cause() error
- func (e CreateTemplateRequestValidationError) Error() string
- func (e CreateTemplateRequestValidationError) ErrorName() string
- func (e CreateTemplateRequestValidationError) Field() string
- func (e CreateTemplateRequestValidationError) Key() bool
- func (e CreateTemplateRequestValidationError) Reason() string
- type CurrentTemplateReply
- func (*CurrentTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentTemplateReply) GetCompare() string
- func (x *CurrentTemplateReply) GetContent() string
- func (x *CurrentTemplateReply) GetCreatedAt() uint32
- func (x *CurrentTemplateReply) GetDescription() string
- func (x *CurrentTemplateReply) GetFormat() string
- func (x *CurrentTemplateReply) GetId() uint32
- func (x *CurrentTemplateReply) GetIsUse() bool
- func (x *CurrentTemplateReply) GetServerId() uint32
- func (x *CurrentTemplateReply) GetVersion() string
- func (*CurrentTemplateReply) ProtoMessage()
- func (x *CurrentTemplateReply) ProtoReflect() protoreflect.Message
- func (x *CurrentTemplateReply) Reset()
- func (x *CurrentTemplateReply) String() string
- func (m *CurrentTemplateReply) Validate() error
- func (m *CurrentTemplateReply) ValidateAll() error
- type CurrentTemplateReplyMultiError
- type CurrentTemplateReplyValidationError
- func (e CurrentTemplateReplyValidationError) Cause() error
- func (e CurrentTemplateReplyValidationError) Error() string
- func (e CurrentTemplateReplyValidationError) ErrorName() string
- func (e CurrentTemplateReplyValidationError) Field() string
- func (e CurrentTemplateReplyValidationError) Key() bool
- func (e CurrentTemplateReplyValidationError) Reason() string
- type CurrentTemplateRequest
- func (*CurrentTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentTemplateRequest) GetServerId() uint32
- func (*CurrentTemplateRequest) ProtoMessage()
- func (x *CurrentTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CurrentTemplateRequest) Reset()
- func (x *CurrentTemplateRequest) String() string
- func (m *CurrentTemplateRequest) Validate() error
- func (m *CurrentTemplateRequest) ValidateAll() error
- type CurrentTemplateRequestMultiError
- type CurrentTemplateRequestValidationError
- func (e CurrentTemplateRequestValidationError) Cause() error
- func (e CurrentTemplateRequestValidationError) Error() string
- func (e CurrentTemplateRequestValidationError) ErrorName() string
- func (e CurrentTemplateRequestValidationError) Field() string
- func (e CurrentTemplateRequestValidationError) Key() bool
- func (e CurrentTemplateRequestValidationError) Reason() string
- type GetTemplateReply
- func (*GetTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateReply) GetCompare() string
- func (x *GetTemplateReply) GetContent() string
- func (x *GetTemplateReply) GetCreatedAt() uint32
- func (x *GetTemplateReply) GetDescription() string
- func (x *GetTemplateReply) GetFormat() string
- func (x *GetTemplateReply) GetId() uint32
- func (x *GetTemplateReply) GetIsUse() bool
- func (x *GetTemplateReply) GetServerId() uint32
- func (x *GetTemplateReply) GetVersion() string
- func (*GetTemplateReply) ProtoMessage()
- func (x *GetTemplateReply) ProtoReflect() protoreflect.Message
- func (x *GetTemplateReply) Reset()
- func (x *GetTemplateReply) String() string
- func (m *GetTemplateReply) Validate() error
- func (m *GetTemplateReply) ValidateAll() error
- type GetTemplateReplyMultiError
- type GetTemplateReplyValidationError
- func (e GetTemplateReplyValidationError) Cause() error
- func (e GetTemplateReplyValidationError) Error() string
- func (e GetTemplateReplyValidationError) ErrorName() string
- func (e GetTemplateReplyValidationError) Field() string
- func (e GetTemplateReplyValidationError) Key() bool
- func (e GetTemplateReplyValidationError) Reason() string
- type GetTemplateRequest
- func (*GetTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateRequest) GetId() uint32
- func (*GetTemplateRequest) ProtoMessage()
- func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetTemplateRequest) Reset()
- func (x *GetTemplateRequest) String() string
- func (m *GetTemplateRequest) Validate() error
- func (m *GetTemplateRequest) ValidateAll() error
- type GetTemplateRequestMultiError
- type GetTemplateRequestValidationError
- func (e GetTemplateRequestValidationError) Cause() error
- func (e GetTemplateRequestValidationError) Error() string
- func (e GetTemplateRequestValidationError) ErrorName() string
- func (e GetTemplateRequestValidationError) Field() string
- func (e GetTemplateRequestValidationError) Key() bool
- func (e GetTemplateRequestValidationError) Reason() string
- type ListTemplateReply
- func (*ListTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplateReply) GetList() []*ListTemplateReply_Template
- func (x *ListTemplateReply) GetTotal() uint32
- func (*ListTemplateReply) ProtoMessage()
- func (x *ListTemplateReply) ProtoReflect() protoreflect.Message
- func (x *ListTemplateReply) Reset()
- func (x *ListTemplateReply) String() string
- func (m *ListTemplateReply) Validate() error
- func (m *ListTemplateReply) ValidateAll() error
- type ListTemplateReplyMultiError
- type ListTemplateReplyValidationError
- func (e ListTemplateReplyValidationError) Cause() error
- func (e ListTemplateReplyValidationError) Error() string
- func (e ListTemplateReplyValidationError) ErrorName() string
- func (e ListTemplateReplyValidationError) Field() string
- func (e ListTemplateReplyValidationError) Key() bool
- func (e ListTemplateReplyValidationError) Reason() string
- type ListTemplateReply_Template
- func (*ListTemplateReply_Template) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplateReply_Template) GetCompare() string
- func (x *ListTemplateReply_Template) GetCreatedAt() uint32
- func (x *ListTemplateReply_Template) GetDescription() string
- func (x *ListTemplateReply_Template) GetFormat() string
- func (x *ListTemplateReply_Template) GetId() uint32
- func (x *ListTemplateReply_Template) GetIsUse() bool
- func (x *ListTemplateReply_Template) GetServerId() uint32
- func (x *ListTemplateReply_Template) GetVersion() string
- func (*ListTemplateReply_Template) ProtoMessage()
- func (x *ListTemplateReply_Template) ProtoReflect() protoreflect.Message
- func (x *ListTemplateReply_Template) Reset()
- func (x *ListTemplateReply_Template) String() string
- func (m *ListTemplateReply_Template) Validate() error
- func (m *ListTemplateReply_Template) ValidateAll() error
- type ListTemplateReply_TemplateMultiError
- type ListTemplateReply_TemplateValidationError
- func (e ListTemplateReply_TemplateValidationError) Cause() error
- func (e ListTemplateReply_TemplateValidationError) Error() string
- func (e ListTemplateReply_TemplateValidationError) ErrorName() string
- func (e ListTemplateReply_TemplateValidationError) Field() string
- func (e ListTemplateReply_TemplateValidationError) Key() bool
- func (e ListTemplateReply_TemplateValidationError) Reason() string
- type ListTemplateRequest
- func (*ListTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplateRequest) GetPage() uint32
- func (x *ListTemplateRequest) GetPageSize() uint32
- func (x *ListTemplateRequest) GetServerId() uint32
- func (*ListTemplateRequest) ProtoMessage()
- func (x *ListTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *ListTemplateRequest) Reset()
- func (x *ListTemplateRequest) String() string
- func (m *ListTemplateRequest) Validate() error
- func (m *ListTemplateRequest) ValidateAll() error
- type ListTemplateRequestMultiError
- type ListTemplateRequestValidationError
- func (e ListTemplateRequestValidationError) Cause() error
- func (e ListTemplateRequestValidationError) Error() string
- func (e ListTemplateRequestValidationError) ErrorName() string
- func (e ListTemplateRequestValidationError) Field() string
- func (e ListTemplateRequestValidationError) Key() bool
- func (e ListTemplateRequestValidationError) Reason() string
- type ParseTemplateReply
- func (*ParseTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (x *ParseTemplateReply) GetContent() string
- func (x *ParseTemplateReply) GetFormat() string
- func (*ParseTemplateReply) ProtoMessage()
- func (x *ParseTemplateReply) ProtoReflect() protoreflect.Message
- func (x *ParseTemplateReply) Reset()
- func (x *ParseTemplateReply) String() string
- func (m *ParseTemplateReply) Validate() error
- func (m *ParseTemplateReply) ValidateAll() error
- type ParseTemplateReplyMultiError
- type ParseTemplateReplyValidationError
- func (e ParseTemplateReplyValidationError) Cause() error
- func (e ParseTemplateReplyValidationError) Error() string
- func (e ParseTemplateReplyValidationError) ErrorName() string
- func (e ParseTemplateReplyValidationError) Field() string
- func (e ParseTemplateReplyValidationError) Key() bool
- func (e ParseTemplateReplyValidationError) Reason() string
- type ParseTemplateRequest
- func (*ParseTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParseTemplateRequest) GetEnvId() uint32
- func (x *ParseTemplateRequest) GetServerId() uint32
- func (*ParseTemplateRequest) ProtoMessage()
- func (x *ParseTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *ParseTemplateRequest) Reset()
- func (x *ParseTemplateRequest) String() string
- func (m *ParseTemplateRequest) Validate() error
- func (m *ParseTemplateRequest) ValidateAll() error
- type ParseTemplateRequestMultiError
- type ParseTemplateRequestValidationError
- func (e ParseTemplateRequestValidationError) Cause() error
- func (e ParseTemplateRequestValidationError) Error() string
- func (e ParseTemplateRequestValidationError) ErrorName() string
- func (e ParseTemplateRequestValidationError) Field() string
- func (e ParseTemplateRequestValidationError) Key() bool
- func (e ParseTemplateRequestValidationError) Reason() string
- type PreviewTemplateReply
- func (*PreviewTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (x *PreviewTemplateReply) GetContent() string
- func (*PreviewTemplateReply) ProtoMessage()
- func (x *PreviewTemplateReply) ProtoReflect() protoreflect.Message
- func (x *PreviewTemplateReply) Reset()
- func (x *PreviewTemplateReply) String() string
- func (m *PreviewTemplateReply) Validate() error
- func (m *PreviewTemplateReply) ValidateAll() error
- type PreviewTemplateReplyMultiError
- type PreviewTemplateReplyValidationError
- func (e PreviewTemplateReplyValidationError) Cause() error
- func (e PreviewTemplateReplyValidationError) Error() string
- func (e PreviewTemplateReplyValidationError) ErrorName() string
- func (e PreviewTemplateReplyValidationError) Field() string
- func (e PreviewTemplateReplyValidationError) Key() bool
- func (e PreviewTemplateReplyValidationError) Reason() string
- type PreviewTemplateRequest
- func (*PreviewTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreviewTemplateRequest) GetContent() string
- func (x *PreviewTemplateRequest) GetEnvId() uint32
- func (x *PreviewTemplateRequest) GetFormat() string
- func (x *PreviewTemplateRequest) GetServerId() uint32
- func (*PreviewTemplateRequest) ProtoMessage()
- func (x *PreviewTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *PreviewTemplateRequest) Reset()
- func (x *PreviewTemplateRequest) String() string
- func (m *PreviewTemplateRequest) Validate() error
- func (m *PreviewTemplateRequest) ValidateAll() error
- type PreviewTemplateRequestMultiError
- type PreviewTemplateRequestValidationError
- func (e PreviewTemplateRequestValidationError) Cause() error
- func (e PreviewTemplateRequestValidationError) Error() string
- func (e PreviewTemplateRequestValidationError) ErrorName() string
- func (e PreviewTemplateRequestValidationError) Field() string
- func (e PreviewTemplateRequestValidationError) Key() bool
- func (e PreviewTemplateRequestValidationError) Reason() string
- type SwitchTemplateReply
- func (*SwitchTemplateReply) Descriptor() ([]byte, []int)deprecated
- func (*SwitchTemplateReply) ProtoMessage()
- func (x *SwitchTemplateReply) ProtoReflect() protoreflect.Message
- func (x *SwitchTemplateReply) Reset()
- func (x *SwitchTemplateReply) String() string
- func (m *SwitchTemplateReply) Validate() error
- func (m *SwitchTemplateReply) ValidateAll() error
- type SwitchTemplateReplyMultiError
- type SwitchTemplateReplyValidationError
- func (e SwitchTemplateReplyValidationError) Cause() error
- func (e SwitchTemplateReplyValidationError) Error() string
- func (e SwitchTemplateReplyValidationError) ErrorName() string
- func (e SwitchTemplateReplyValidationError) Field() string
- func (e SwitchTemplateReplyValidationError) Key() bool
- func (e SwitchTemplateReplyValidationError) Reason() string
- type SwitchTemplateRequest
- func (*SwitchTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchTemplateRequest) GetId() uint32
- func (x *SwitchTemplateRequest) GetServerId() uint32
- func (*SwitchTemplateRequest) ProtoMessage()
- func (x *SwitchTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *SwitchTemplateRequest) Reset()
- func (x *SwitchTemplateRequest) String() string
- func (m *SwitchTemplateRequest) Validate() error
- func (m *SwitchTemplateRequest) ValidateAll() error
- type SwitchTemplateRequestMultiError
- type SwitchTemplateRequestValidationError
- func (e SwitchTemplateRequestValidationError) Cause() error
- func (e SwitchTemplateRequestValidationError) Error() string
- func (e SwitchTemplateRequestValidationError) ErrorName() string
- func (e SwitchTemplateRequestValidationError) Field() string
- func (e SwitchTemplateRequestValidationError) Key() bool
- func (e SwitchTemplateRequestValidationError) Reason() string
- type TemplateClient
- type TemplateHTTPClient
- type TemplateHTTPClientImpl
- func (c *TemplateHTTPClientImpl) CompareTemplate(ctx context.Context, in *CompareTemplateRequest, opts ...http.CallOption) (*CompareTemplateReply, error)
- func (c *TemplateHTTPClientImpl) CreateTemplate(ctx context.Context, in *CreateTemplateRequest, opts ...http.CallOption) (*CreateTemplateReply, error)
- func (c *TemplateHTTPClientImpl) CurrentTemplate(ctx context.Context, in *CurrentTemplateRequest, opts ...http.CallOption) (*CurrentTemplateReply, error)
- func (c *TemplateHTTPClientImpl) GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...http.CallOption) (*GetTemplateReply, error)
- func (c *TemplateHTTPClientImpl) ListTemplate(ctx context.Context, in *ListTemplateRequest, opts ...http.CallOption) (*ListTemplateReply, error)
- func (c *TemplateHTTPClientImpl) ParseTemplate(ctx context.Context, in *ParseTemplateRequest, opts ...http.CallOption) (*ParseTemplateReply, error)
- func (c *TemplateHTTPClientImpl) PreviewTemplate(ctx context.Context, in *PreviewTemplateRequest, opts ...http.CallOption) (*PreviewTemplateReply, error)
- func (c *TemplateHTTPClientImpl) SwitchTemplate(ctx context.Context, in *SwitchTemplateRequest, opts ...http.CallOption) (*SwitchTemplateReply, error)
- type TemplateHTTPServer
- type TemplateServer
- type UnimplementedTemplateServer
- func (UnimplementedTemplateServer) CompareTemplate(context.Context, *CompareTemplateRequest) (*CompareTemplateReply, error)
- func (UnimplementedTemplateServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateReply, error)
- func (UnimplementedTemplateServer) CurrentTemplate(context.Context, *CurrentTemplateRequest) (*CurrentTemplateReply, error)
- func (UnimplementedTemplateServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateReply, error)
- func (UnimplementedTemplateServer) ListTemplate(context.Context, *ListTemplateRequest) (*ListTemplateReply, error)
- func (UnimplementedTemplateServer) ParseTemplate(context.Context, *ParseTemplateRequest) (*ParseTemplateReply, error)
- func (UnimplementedTemplateServer) PreviewTemplate(context.Context, *PreviewTemplateRequest) (*PreviewTemplateReply, error)
- func (UnimplementedTemplateServer) SwitchTemplate(context.Context, *SwitchTemplateRequest) (*SwitchTemplateReply, error)
- type UnsafeTemplateServer
Constants ¶
const ( Template_ListTemplate_FullMethodName = "/configure.api.configure.template.v1.Template/ListTemplate" Template_GetTemplate_FullMethodName = "/configure.api.configure.template.v1.Template/GetTemplate" Template_CurrentTemplate_FullMethodName = "/configure.api.configure.template.v1.Template/CurrentTemplate" Template_CreateTemplate_FullMethodName = "/configure.api.configure.template.v1.Template/CreateTemplate" Template_SwitchTemplate_FullMethodName = "/configure.api.configure.template.v1.Template/SwitchTemplate" Template_CompareTemplate_FullMethodName = "/configure.api.configure.template.v1.Template/CompareTemplate" Template_PreviewTemplate_FullMethodName = "/configure.api.configure.template.v1.Template/PreviewTemplate" Template_ParseTemplate_FullMethodName = "/configure.api.configure.template.v1.Template/ParseTemplate" )
const OperationTemplateCompareTemplate = "/configure.api.configure.template.v1.Template/CompareTemplate"
const OperationTemplateCreateTemplate = "/configure.api.configure.template.v1.Template/CreateTemplate"
const OperationTemplateCurrentTemplate = "/configure.api.configure.template.v1.Template/CurrentTemplate"
const OperationTemplateGetTemplate = "/configure.api.configure.template.v1.Template/GetTemplate"
const OperationTemplateListTemplate = "/configure.api.configure.template.v1.Template/ListTemplate"
const OperationTemplateParseTemplate = "/configure.api.configure.template.v1.Template/ParseTemplate"
const OperationTemplatePreviewTemplate = "/configure.api.configure.template.v1.Template/PreviewTemplate"
const OperationTemplateSwitchTemplate = "/configure.api.configure.template.v1.Template/SwitchTemplate"
Variables ¶
var File_api_configure_template_configure_template_proto protoreflect.FileDescriptor
var File_api_configure_template_configure_template_service_proto protoreflect.FileDescriptor
var Template_ServiceDesc = grpc.ServiceDesc{ ServiceName: "configure.api.configure.template.v1.Template", HandlerType: (*TemplateServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListTemplate", Handler: _Template_ListTemplate_Handler, }, { MethodName: "GetTemplate", Handler: _Template_GetTemplate_Handler, }, { MethodName: "CurrentTemplate", Handler: _Template_CurrentTemplate_Handler, }, { MethodName: "CreateTemplate", Handler: _Template_CreateTemplate_Handler, }, { MethodName: "SwitchTemplate", Handler: _Template_SwitchTemplate_Handler, }, { MethodName: "CompareTemplate", Handler: _Template_CompareTemplate_Handler, }, { MethodName: "PreviewTemplate", Handler: _Template_PreviewTemplate_Handler, }, { MethodName: "ParseTemplate", Handler: _Template_ParseTemplate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/configure/template/configure_template_service.proto", }
Template_ServiceDesc is the grpc.ServiceDesc for Template service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTemplateHTTPServer ¶
func RegisterTemplateHTTPServer(s *http.Server, srv TemplateHTTPServer)
func RegisterTemplateServer ¶
func RegisterTemplateServer(s grpc.ServiceRegistrar, srv TemplateServer)
Types ¶
type CompareTemplateInfo ¶
type CompareTemplateInfo struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Old string `protobuf:"bytes,3,opt,name=old,proto3" json:"old,omitempty"` Cur string `protobuf:"bytes,4,opt,name=cur,proto3" json:"cur,omitempty"` // contains filtered or unexported fields }
func (*CompareTemplateInfo) Descriptor
deprecated
func (*CompareTemplateInfo) Descriptor() ([]byte, []int)
Deprecated: Use CompareTemplateInfo.ProtoReflect.Descriptor instead.
func (*CompareTemplateInfo) GetCur ¶
func (x *CompareTemplateInfo) GetCur() string
func (*CompareTemplateInfo) GetKey ¶
func (x *CompareTemplateInfo) GetKey() string
func (*CompareTemplateInfo) GetOld ¶
func (x *CompareTemplateInfo) GetOld() string
func (*CompareTemplateInfo) GetType ¶
func (x *CompareTemplateInfo) GetType() string
func (*CompareTemplateInfo) ProtoMessage ¶
func (*CompareTemplateInfo) ProtoMessage()
func (*CompareTemplateInfo) ProtoReflect ¶
func (x *CompareTemplateInfo) ProtoReflect() protoreflect.Message
func (*CompareTemplateInfo) Reset ¶
func (x *CompareTemplateInfo) Reset()
func (*CompareTemplateInfo) String ¶
func (x *CompareTemplateInfo) String() string
func (*CompareTemplateInfo) Validate ¶
func (m *CompareTemplateInfo) Validate() error
Validate checks the field values on CompareTemplateInfo 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 (*CompareTemplateInfo) ValidateAll ¶
func (m *CompareTemplateInfo) ValidateAll() error
ValidateAll checks the field values on CompareTemplateInfo 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 CompareTemplateInfoMultiError, or nil if none found.
type CompareTemplateInfoMultiError ¶
type CompareTemplateInfoMultiError []error
CompareTemplateInfoMultiError is an error wrapping multiple validation errors returned by CompareTemplateInfo.ValidateAll() if the designated constraints aren't met.
func (CompareTemplateInfoMultiError) AllErrors ¶
func (m CompareTemplateInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CompareTemplateInfoMultiError) Error ¶
func (m CompareTemplateInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CompareTemplateInfoValidationError ¶
type CompareTemplateInfoValidationError struct {
// contains filtered or unexported fields
}
CompareTemplateInfoValidationError is the validation error returned by CompareTemplateInfo.Validate if the designated constraints aren't met.
func (CompareTemplateInfoValidationError) Cause ¶
func (e CompareTemplateInfoValidationError) Cause() error
Cause function returns cause value.
func (CompareTemplateInfoValidationError) Error ¶
func (e CompareTemplateInfoValidationError) Error() string
Error satisfies the builtin error interface
func (CompareTemplateInfoValidationError) ErrorName ¶
func (e CompareTemplateInfoValidationError) ErrorName() string
ErrorName returns error name.
func (CompareTemplateInfoValidationError) Field ¶
func (e CompareTemplateInfoValidationError) Field() string
Field function returns field value.
func (CompareTemplateInfoValidationError) Key ¶
func (e CompareTemplateInfoValidationError) Key() bool
Key function returns key value.
func (CompareTemplateInfoValidationError) Reason ¶
func (e CompareTemplateInfoValidationError) Reason() string
Reason function returns reason value.
type CompareTemplateReply ¶
type CompareTemplateReply struct { List []*CompareTemplateInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*CompareTemplateReply) Descriptor
deprecated
func (*CompareTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use CompareTemplateReply.ProtoReflect.Descriptor instead.
func (*CompareTemplateReply) GetList ¶
func (x *CompareTemplateReply) GetList() []*CompareTemplateInfo
func (*CompareTemplateReply) ProtoMessage ¶
func (*CompareTemplateReply) ProtoMessage()
func (*CompareTemplateReply) ProtoReflect ¶
func (x *CompareTemplateReply) ProtoReflect() protoreflect.Message
func (*CompareTemplateReply) Reset ¶
func (x *CompareTemplateReply) Reset()
func (*CompareTemplateReply) String ¶
func (x *CompareTemplateReply) String() string
func (*CompareTemplateReply) Validate ¶
func (m *CompareTemplateReply) Validate() error
Validate checks the field values on CompareTemplateReply 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 (*CompareTemplateReply) ValidateAll ¶
func (m *CompareTemplateReply) ValidateAll() error
ValidateAll checks the field values on CompareTemplateReply 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 CompareTemplateReplyMultiError, or nil if none found.
type CompareTemplateReplyMultiError ¶
type CompareTemplateReplyMultiError []error
CompareTemplateReplyMultiError is an error wrapping multiple validation errors returned by CompareTemplateReply.ValidateAll() if the designated constraints aren't met.
func (CompareTemplateReplyMultiError) AllErrors ¶
func (m CompareTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CompareTemplateReplyMultiError) Error ¶
func (m CompareTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CompareTemplateReplyValidationError ¶
type CompareTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
CompareTemplateReplyValidationError is the validation error returned by CompareTemplateReply.Validate if the designated constraints aren't met.
func (CompareTemplateReplyValidationError) Cause ¶
func (e CompareTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (CompareTemplateReplyValidationError) Error ¶
func (e CompareTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CompareTemplateReplyValidationError) ErrorName ¶
func (e CompareTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CompareTemplateReplyValidationError) Field ¶
func (e CompareTemplateReplyValidationError) Field() string
Field function returns field value.
func (CompareTemplateReplyValidationError) Key ¶
func (e CompareTemplateReplyValidationError) Key() bool
Key function returns key value.
func (CompareTemplateReplyValidationError) Reason ¶
func (e CompareTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type CompareTemplateRequest ¶
type CompareTemplateRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*CompareTemplateRequest) Descriptor
deprecated
func (*CompareTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompareTemplateRequest.ProtoReflect.Descriptor instead.
func (*CompareTemplateRequest) GetContent ¶
func (x *CompareTemplateRequest) GetContent() string
func (*CompareTemplateRequest) GetFormat ¶
func (x *CompareTemplateRequest) GetFormat() string
func (*CompareTemplateRequest) GetId ¶
func (x *CompareTemplateRequest) GetId() uint32
func (*CompareTemplateRequest) ProtoMessage ¶
func (*CompareTemplateRequest) ProtoMessage()
func (*CompareTemplateRequest) ProtoReflect ¶
func (x *CompareTemplateRequest) ProtoReflect() protoreflect.Message
func (*CompareTemplateRequest) Reset ¶
func (x *CompareTemplateRequest) Reset()
func (*CompareTemplateRequest) String ¶
func (x *CompareTemplateRequest) String() string
func (*CompareTemplateRequest) Validate ¶
func (m *CompareTemplateRequest) Validate() error
Validate checks the field values on CompareTemplateRequest 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 (*CompareTemplateRequest) ValidateAll ¶
func (m *CompareTemplateRequest) ValidateAll() error
ValidateAll checks the field values on CompareTemplateRequest 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 CompareTemplateRequestMultiError, or nil if none found.
type CompareTemplateRequestMultiError ¶
type CompareTemplateRequestMultiError []error
CompareTemplateRequestMultiError is an error wrapping multiple validation errors returned by CompareTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (CompareTemplateRequestMultiError) AllErrors ¶
func (m CompareTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CompareTemplateRequestMultiError) Error ¶
func (m CompareTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CompareTemplateRequestValidationError ¶
type CompareTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
CompareTemplateRequestValidationError is the validation error returned by CompareTemplateRequest.Validate if the designated constraints aren't met.
func (CompareTemplateRequestValidationError) Cause ¶
func (e CompareTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (CompareTemplateRequestValidationError) Error ¶
func (e CompareTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CompareTemplateRequestValidationError) ErrorName ¶
func (e CompareTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CompareTemplateRequestValidationError) Field ¶
func (e CompareTemplateRequestValidationError) Field() string
Field function returns field value.
func (CompareTemplateRequestValidationError) Key ¶
func (e CompareTemplateRequestValidationError) Key() bool
Key function returns key value.
func (CompareTemplateRequestValidationError) Reason ¶
func (e CompareTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type CreateTemplateReply ¶
type CreateTemplateReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateTemplateReply) Descriptor
deprecated
func (*CreateTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateTemplateReply.ProtoReflect.Descriptor instead.
func (*CreateTemplateReply) GetId ¶
func (x *CreateTemplateReply) GetId() uint32
func (*CreateTemplateReply) ProtoMessage ¶
func (*CreateTemplateReply) ProtoMessage()
func (*CreateTemplateReply) ProtoReflect ¶
func (x *CreateTemplateReply) ProtoReflect() protoreflect.Message
func (*CreateTemplateReply) Reset ¶
func (x *CreateTemplateReply) Reset()
func (*CreateTemplateReply) String ¶
func (x *CreateTemplateReply) String() string
func (*CreateTemplateReply) Validate ¶
func (m *CreateTemplateReply) Validate() error
Validate checks the field values on CreateTemplateReply 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 (*CreateTemplateReply) ValidateAll ¶
func (m *CreateTemplateReply) ValidateAll() error
ValidateAll checks the field values on CreateTemplateReply 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 CreateTemplateReplyMultiError, or nil if none found.
type CreateTemplateReplyMultiError ¶
type CreateTemplateReplyMultiError []error
CreateTemplateReplyMultiError is an error wrapping multiple validation errors returned by CreateTemplateReply.ValidateAll() if the designated constraints aren't met.
func (CreateTemplateReplyMultiError) AllErrors ¶
func (m CreateTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTemplateReplyMultiError) Error ¶
func (m CreateTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTemplateReplyValidationError ¶
type CreateTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
CreateTemplateReplyValidationError is the validation error returned by CreateTemplateReply.Validate if the designated constraints aren't met.
func (CreateTemplateReplyValidationError) Cause ¶
func (e CreateTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateTemplateReplyValidationError) Error ¶
func (e CreateTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTemplateReplyValidationError) ErrorName ¶
func (e CreateTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTemplateReplyValidationError) Field ¶
func (e CreateTemplateReplyValidationError) Field() string
Field function returns field value.
func (CreateTemplateReplyValidationError) Key ¶
func (e CreateTemplateReplyValidationError) Key() bool
Key function returns key value.
func (CreateTemplateReplyValidationError) Reason ¶
func (e CreateTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type CreateTemplateRequest ¶
type CreateTemplateRequest struct { ServerId uint32 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"` // contains filtered or unexported fields }
新增模板
func (*CreateTemplateRequest) Descriptor
deprecated
func (*CreateTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateTemplateRequest) GetContent ¶
func (x *CreateTemplateRequest) GetContent() string
func (*CreateTemplateRequest) GetDescription ¶
func (x *CreateTemplateRequest) GetDescription() string
func (*CreateTemplateRequest) GetFormat ¶
func (x *CreateTemplateRequest) GetFormat() string
func (*CreateTemplateRequest) GetServerId ¶
func (x *CreateTemplateRequest) GetServerId() uint32
func (*CreateTemplateRequest) ProtoMessage ¶
func (*CreateTemplateRequest) ProtoMessage()
func (*CreateTemplateRequest) ProtoReflect ¶
func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateTemplateRequest) Reset ¶
func (x *CreateTemplateRequest) Reset()
func (*CreateTemplateRequest) String ¶
func (x *CreateTemplateRequest) String() string
func (*CreateTemplateRequest) Validate ¶
func (m *CreateTemplateRequest) Validate() error
Validate checks the field values on CreateTemplateRequest 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 (*CreateTemplateRequest) ValidateAll ¶
func (m *CreateTemplateRequest) ValidateAll() error
ValidateAll checks the field values on CreateTemplateRequest 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 CreateTemplateRequestMultiError, or nil if none found.
type CreateTemplateRequestMultiError ¶
type CreateTemplateRequestMultiError []error
CreateTemplateRequestMultiError is an error wrapping multiple validation errors returned by CreateTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (CreateTemplateRequestMultiError) AllErrors ¶
func (m CreateTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTemplateRequestMultiError) Error ¶
func (m CreateTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTemplateRequestValidationError ¶
type CreateTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
CreateTemplateRequestValidationError is the validation error returned by CreateTemplateRequest.Validate if the designated constraints aren't met.
func (CreateTemplateRequestValidationError) Cause ¶
func (e CreateTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateTemplateRequestValidationError) Error ¶
func (e CreateTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTemplateRequestValidationError) ErrorName ¶
func (e CreateTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTemplateRequestValidationError) Field ¶
func (e CreateTemplateRequestValidationError) Field() string
Field function returns field value.
func (CreateTemplateRequestValidationError) Key ¶
func (e CreateTemplateRequestValidationError) Key() bool
Key function returns key value.
func (CreateTemplateRequestValidationError) Reason ¶
func (e CreateTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type CurrentTemplateReply ¶
type CurrentTemplateReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ServerId uint32 `protobuf:"varint,2,opt,name=serverId,proto3" json:"serverId,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Format string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"` IsUse bool `protobuf:"varint,6,opt,name=isUse,proto3" json:"isUse,omitempty"` Compare string `protobuf:"bytes,7,opt,name=compare,proto3" json:"compare,omitempty"` Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"` CreatedAt uint32 `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*CurrentTemplateReply) Descriptor
deprecated
func (*CurrentTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use CurrentTemplateReply.ProtoReflect.Descriptor instead.
func (*CurrentTemplateReply) GetCompare ¶
func (x *CurrentTemplateReply) GetCompare() string
func (*CurrentTemplateReply) GetContent ¶
func (x *CurrentTemplateReply) GetContent() string
func (*CurrentTemplateReply) GetCreatedAt ¶
func (x *CurrentTemplateReply) GetCreatedAt() uint32
func (*CurrentTemplateReply) GetDescription ¶
func (x *CurrentTemplateReply) GetDescription() string
func (*CurrentTemplateReply) GetFormat ¶
func (x *CurrentTemplateReply) GetFormat() string
func (*CurrentTemplateReply) GetId ¶
func (x *CurrentTemplateReply) GetId() uint32
func (*CurrentTemplateReply) GetIsUse ¶
func (x *CurrentTemplateReply) GetIsUse() bool
func (*CurrentTemplateReply) GetServerId ¶
func (x *CurrentTemplateReply) GetServerId() uint32
func (*CurrentTemplateReply) GetVersion ¶
func (x *CurrentTemplateReply) GetVersion() string
func (*CurrentTemplateReply) ProtoMessage ¶
func (*CurrentTemplateReply) ProtoMessage()
func (*CurrentTemplateReply) ProtoReflect ¶
func (x *CurrentTemplateReply) ProtoReflect() protoreflect.Message
func (*CurrentTemplateReply) Reset ¶
func (x *CurrentTemplateReply) Reset()
func (*CurrentTemplateReply) String ¶
func (x *CurrentTemplateReply) String() string
func (*CurrentTemplateReply) Validate ¶
func (m *CurrentTemplateReply) Validate() error
Validate checks the field values on CurrentTemplateReply 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 (*CurrentTemplateReply) ValidateAll ¶
func (m *CurrentTemplateReply) ValidateAll() error
ValidateAll checks the field values on CurrentTemplateReply 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 CurrentTemplateReplyMultiError, or nil if none found.
type CurrentTemplateReplyMultiError ¶
type CurrentTemplateReplyMultiError []error
CurrentTemplateReplyMultiError is an error wrapping multiple validation errors returned by CurrentTemplateReply.ValidateAll() if the designated constraints aren't met.
func (CurrentTemplateReplyMultiError) AllErrors ¶
func (m CurrentTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CurrentTemplateReplyMultiError) Error ¶
func (m CurrentTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CurrentTemplateReplyValidationError ¶
type CurrentTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
CurrentTemplateReplyValidationError is the validation error returned by CurrentTemplateReply.Validate if the designated constraints aren't met.
func (CurrentTemplateReplyValidationError) Cause ¶
func (e CurrentTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (CurrentTemplateReplyValidationError) Error ¶
func (e CurrentTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CurrentTemplateReplyValidationError) ErrorName ¶
func (e CurrentTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CurrentTemplateReplyValidationError) Field ¶
func (e CurrentTemplateReplyValidationError) Field() string
Field function returns field value.
func (CurrentTemplateReplyValidationError) Key ¶
func (e CurrentTemplateReplyValidationError) Key() bool
Key function returns key value.
func (CurrentTemplateReplyValidationError) Reason ¶
func (e CurrentTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type CurrentTemplateRequest ¶
type CurrentTemplateRequest struct { ServerId uint32 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` // contains filtered or unexported fields }
查询指定模板
func (*CurrentTemplateRequest) Descriptor
deprecated
func (*CurrentTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CurrentTemplateRequest.ProtoReflect.Descriptor instead.
func (*CurrentTemplateRequest) GetServerId ¶
func (x *CurrentTemplateRequest) GetServerId() uint32
func (*CurrentTemplateRequest) ProtoMessage ¶
func (*CurrentTemplateRequest) ProtoMessage()
func (*CurrentTemplateRequest) ProtoReflect ¶
func (x *CurrentTemplateRequest) ProtoReflect() protoreflect.Message
func (*CurrentTemplateRequest) Reset ¶
func (x *CurrentTemplateRequest) Reset()
func (*CurrentTemplateRequest) String ¶
func (x *CurrentTemplateRequest) String() string
func (*CurrentTemplateRequest) Validate ¶
func (m *CurrentTemplateRequest) Validate() error
Validate checks the field values on CurrentTemplateRequest 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 (*CurrentTemplateRequest) ValidateAll ¶
func (m *CurrentTemplateRequest) ValidateAll() error
ValidateAll checks the field values on CurrentTemplateRequest 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 CurrentTemplateRequestMultiError, or nil if none found.
type CurrentTemplateRequestMultiError ¶
type CurrentTemplateRequestMultiError []error
CurrentTemplateRequestMultiError is an error wrapping multiple validation errors returned by CurrentTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (CurrentTemplateRequestMultiError) AllErrors ¶
func (m CurrentTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CurrentTemplateRequestMultiError) Error ¶
func (m CurrentTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CurrentTemplateRequestValidationError ¶
type CurrentTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
CurrentTemplateRequestValidationError is the validation error returned by CurrentTemplateRequest.Validate if the designated constraints aren't met.
func (CurrentTemplateRequestValidationError) Cause ¶
func (e CurrentTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (CurrentTemplateRequestValidationError) Error ¶
func (e CurrentTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CurrentTemplateRequestValidationError) ErrorName ¶
func (e CurrentTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CurrentTemplateRequestValidationError) Field ¶
func (e CurrentTemplateRequestValidationError) Field() string
Field function returns field value.
func (CurrentTemplateRequestValidationError) Key ¶
func (e CurrentTemplateRequestValidationError) Key() bool
Key function returns key value.
func (CurrentTemplateRequestValidationError) Reason ¶
func (e CurrentTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type GetTemplateReply ¶
type GetTemplateReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ServerId uint32 `protobuf:"varint,2,opt,name=serverId,proto3" json:"serverId,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Format string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"` IsUse bool `protobuf:"varint,6,opt,name=isUse,proto3" json:"isUse,omitempty"` Compare string `protobuf:"bytes,7,opt,name=compare,proto3" json:"compare,omitempty"` Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"` CreatedAt uint32 `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*GetTemplateReply) Descriptor
deprecated
func (*GetTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateReply.ProtoReflect.Descriptor instead.
func (*GetTemplateReply) GetCompare ¶
func (x *GetTemplateReply) GetCompare() string
func (*GetTemplateReply) GetContent ¶
func (x *GetTemplateReply) GetContent() string
func (*GetTemplateReply) GetCreatedAt ¶
func (x *GetTemplateReply) GetCreatedAt() uint32
func (*GetTemplateReply) GetDescription ¶
func (x *GetTemplateReply) GetDescription() string
func (*GetTemplateReply) GetFormat ¶
func (x *GetTemplateReply) GetFormat() string
func (*GetTemplateReply) GetId ¶
func (x *GetTemplateReply) GetId() uint32
func (*GetTemplateReply) GetIsUse ¶
func (x *GetTemplateReply) GetIsUse() bool
func (*GetTemplateReply) GetServerId ¶
func (x *GetTemplateReply) GetServerId() uint32
func (*GetTemplateReply) GetVersion ¶
func (x *GetTemplateReply) GetVersion() string
func (*GetTemplateReply) ProtoMessage ¶
func (*GetTemplateReply) ProtoMessage()
func (*GetTemplateReply) ProtoReflect ¶
func (x *GetTemplateReply) ProtoReflect() protoreflect.Message
func (*GetTemplateReply) Reset ¶
func (x *GetTemplateReply) Reset()
func (*GetTemplateReply) String ¶
func (x *GetTemplateReply) String() string
func (*GetTemplateReply) Validate ¶
func (m *GetTemplateReply) Validate() error
Validate checks the field values on GetTemplateReply 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 (*GetTemplateReply) ValidateAll ¶
func (m *GetTemplateReply) ValidateAll() error
ValidateAll checks the field values on GetTemplateReply 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 GetTemplateReplyMultiError, or nil if none found.
type GetTemplateReplyMultiError ¶
type GetTemplateReplyMultiError []error
GetTemplateReplyMultiError is an error wrapping multiple validation errors returned by GetTemplateReply.ValidateAll() if the designated constraints aren't met.
func (GetTemplateReplyMultiError) AllErrors ¶
func (m GetTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTemplateReplyMultiError) Error ¶
func (m GetTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTemplateReplyValidationError ¶
type GetTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
GetTemplateReplyValidationError is the validation error returned by GetTemplateReply.Validate if the designated constraints aren't met.
func (GetTemplateReplyValidationError) Cause ¶
func (e GetTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (GetTemplateReplyValidationError) Error ¶
func (e GetTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetTemplateReplyValidationError) ErrorName ¶
func (e GetTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetTemplateReplyValidationError) Field ¶
func (e GetTemplateReplyValidationError) Field() string
Field function returns field value.
func (GetTemplateReplyValidationError) Key ¶
func (e GetTemplateReplyValidationError) Key() bool
Key function returns key value.
func (GetTemplateReplyValidationError) Reason ¶
func (e GetTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type GetTemplateRequest ¶
type GetTemplateRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
查询指定模板
func (*GetTemplateRequest) Descriptor
deprecated
func (*GetTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetTemplateRequest) GetId ¶
func (x *GetTemplateRequest) GetId() uint32
func (*GetTemplateRequest) ProtoMessage ¶
func (*GetTemplateRequest) ProtoMessage()
func (*GetTemplateRequest) ProtoReflect ¶
func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetTemplateRequest) Reset ¶
func (x *GetTemplateRequest) Reset()
func (*GetTemplateRequest) String ¶
func (x *GetTemplateRequest) String() string
func (*GetTemplateRequest) Validate ¶
func (m *GetTemplateRequest) Validate() error
Validate checks the field values on GetTemplateRequest 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 (*GetTemplateRequest) ValidateAll ¶
func (m *GetTemplateRequest) ValidateAll() error
ValidateAll checks the field values on GetTemplateRequest 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 GetTemplateRequestMultiError, or nil if none found.
type GetTemplateRequestMultiError ¶
type GetTemplateRequestMultiError []error
GetTemplateRequestMultiError is an error wrapping multiple validation errors returned by GetTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (GetTemplateRequestMultiError) AllErrors ¶
func (m GetTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTemplateRequestMultiError) Error ¶
func (m GetTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTemplateRequestValidationError ¶
type GetTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
GetTemplateRequestValidationError is the validation error returned by GetTemplateRequest.Validate if the designated constraints aren't met.
func (GetTemplateRequestValidationError) Cause ¶
func (e GetTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTemplateRequestValidationError) Error ¶
func (e GetTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTemplateRequestValidationError) ErrorName ¶
func (e GetTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTemplateRequestValidationError) Field ¶
func (e GetTemplateRequestValidationError) Field() string
Field function returns field value.
func (GetTemplateRequestValidationError) Key ¶
func (e GetTemplateRequestValidationError) Key() bool
Key function returns key value.
func (GetTemplateRequestValidationError) Reason ¶
func (e GetTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type ListTemplateReply ¶
type ListTemplateReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListTemplateReply_Template `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListTemplateReply) Descriptor
deprecated
func (*ListTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplateReply.ProtoReflect.Descriptor instead.
func (*ListTemplateReply) GetList ¶
func (x *ListTemplateReply) GetList() []*ListTemplateReply_Template
func (*ListTemplateReply) GetTotal ¶
func (x *ListTemplateReply) GetTotal() uint32
func (*ListTemplateReply) ProtoMessage ¶
func (*ListTemplateReply) ProtoMessage()
func (*ListTemplateReply) ProtoReflect ¶
func (x *ListTemplateReply) ProtoReflect() protoreflect.Message
func (*ListTemplateReply) Reset ¶
func (x *ListTemplateReply) Reset()
func (*ListTemplateReply) String ¶
func (x *ListTemplateReply) String() string
func (*ListTemplateReply) Validate ¶
func (m *ListTemplateReply) Validate() error
Validate checks the field values on ListTemplateReply 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 (*ListTemplateReply) ValidateAll ¶
func (m *ListTemplateReply) ValidateAll() error
ValidateAll checks the field values on ListTemplateReply 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 ListTemplateReplyMultiError, or nil if none found.
type ListTemplateReplyMultiError ¶
type ListTemplateReplyMultiError []error
ListTemplateReplyMultiError is an error wrapping multiple validation errors returned by ListTemplateReply.ValidateAll() if the designated constraints aren't met.
func (ListTemplateReplyMultiError) AllErrors ¶
func (m ListTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTemplateReplyMultiError) Error ¶
func (m ListTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTemplateReplyValidationError ¶
type ListTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
ListTemplateReplyValidationError is the validation error returned by ListTemplateReply.Validate if the designated constraints aren't met.
func (ListTemplateReplyValidationError) Cause ¶
func (e ListTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (ListTemplateReplyValidationError) Error ¶
func (e ListTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListTemplateReplyValidationError) ErrorName ¶
func (e ListTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListTemplateReplyValidationError) Field ¶
func (e ListTemplateReplyValidationError) Field() string
Field function returns field value.
func (ListTemplateReplyValidationError) Key ¶
func (e ListTemplateReplyValidationError) Key() bool
Key function returns key value.
func (ListTemplateReplyValidationError) Reason ¶
func (e ListTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type ListTemplateReply_Template ¶
type ListTemplateReply_Template struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ServerId uint32 `protobuf:"varint,2,opt,name=serverId,proto3" json:"serverId,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Format string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"` IsUse bool `protobuf:"varint,6,opt,name=isUse,proto3" json:"isUse,omitempty"` Compare string `protobuf:"bytes,7,opt,name=compare,proto3" json:"compare,omitempty"` CreatedAt uint32 `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*ListTemplateReply_Template) Descriptor
deprecated
func (*ListTemplateReply_Template) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplateReply_Template.ProtoReflect.Descriptor instead.
func (*ListTemplateReply_Template) GetCompare ¶ added in v1.0.36
func (x *ListTemplateReply_Template) GetCompare() string
func (*ListTemplateReply_Template) GetCreatedAt ¶
func (x *ListTemplateReply_Template) GetCreatedAt() uint32
func (*ListTemplateReply_Template) GetDescription ¶
func (x *ListTemplateReply_Template) GetDescription() string
func (*ListTemplateReply_Template) GetFormat ¶
func (x *ListTemplateReply_Template) GetFormat() string
func (*ListTemplateReply_Template) GetId ¶
func (x *ListTemplateReply_Template) GetId() uint32
func (*ListTemplateReply_Template) GetIsUse ¶
func (x *ListTemplateReply_Template) GetIsUse() bool
func (*ListTemplateReply_Template) GetServerId ¶
func (x *ListTemplateReply_Template) GetServerId() uint32
func (*ListTemplateReply_Template) GetVersion ¶
func (x *ListTemplateReply_Template) GetVersion() string
func (*ListTemplateReply_Template) ProtoMessage ¶
func (*ListTemplateReply_Template) ProtoMessage()
func (*ListTemplateReply_Template) ProtoReflect ¶
func (x *ListTemplateReply_Template) ProtoReflect() protoreflect.Message
func (*ListTemplateReply_Template) Reset ¶
func (x *ListTemplateReply_Template) Reset()
func (*ListTemplateReply_Template) String ¶
func (x *ListTemplateReply_Template) String() string
func (*ListTemplateReply_Template) Validate ¶
func (m *ListTemplateReply_Template) Validate() error
Validate checks the field values on ListTemplateReply_Template 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 (*ListTemplateReply_Template) ValidateAll ¶
func (m *ListTemplateReply_Template) ValidateAll() error
ValidateAll checks the field values on ListTemplateReply_Template 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 ListTemplateReply_TemplateMultiError, or nil if none found.
type ListTemplateReply_TemplateMultiError ¶
type ListTemplateReply_TemplateMultiError []error
ListTemplateReply_TemplateMultiError is an error wrapping multiple validation errors returned by ListTemplateReply_Template.ValidateAll() if the designated constraints aren't met.
func (ListTemplateReply_TemplateMultiError) AllErrors ¶
func (m ListTemplateReply_TemplateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTemplateReply_TemplateMultiError) Error ¶
func (m ListTemplateReply_TemplateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTemplateReply_TemplateValidationError ¶
type ListTemplateReply_TemplateValidationError struct {
// contains filtered or unexported fields
}
ListTemplateReply_TemplateValidationError is the validation error returned by ListTemplateReply_Template.Validate if the designated constraints aren't met.
func (ListTemplateReply_TemplateValidationError) Cause ¶
func (e ListTemplateReply_TemplateValidationError) Cause() error
Cause function returns cause value.
func (ListTemplateReply_TemplateValidationError) Error ¶
func (e ListTemplateReply_TemplateValidationError) Error() string
Error satisfies the builtin error interface
func (ListTemplateReply_TemplateValidationError) ErrorName ¶
func (e ListTemplateReply_TemplateValidationError) ErrorName() string
ErrorName returns error name.
func (ListTemplateReply_TemplateValidationError) Field ¶
func (e ListTemplateReply_TemplateValidationError) Field() string
Field function returns field value.
func (ListTemplateReply_TemplateValidationError) Key ¶
func (e ListTemplateReply_TemplateValidationError) Key() bool
Key function returns key value.
func (ListTemplateReply_TemplateValidationError) Reason ¶
func (e ListTemplateReply_TemplateValidationError) Reason() string
Reason function returns reason value.
type ListTemplateRequest ¶
type ListTemplateRequest 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"` ServerId uint32 `protobuf:"varint,3,opt,name=serverId,proto3" json:"serverId,omitempty"` // contains filtered or unexported fields }
func (*ListTemplateRequest) Descriptor
deprecated
func (*ListTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplateRequest.ProtoReflect.Descriptor instead.
func (*ListTemplateRequest) GetPage ¶
func (x *ListTemplateRequest) GetPage() uint32
func (*ListTemplateRequest) GetPageSize ¶
func (x *ListTemplateRequest) GetPageSize() uint32
func (*ListTemplateRequest) GetServerId ¶
func (x *ListTemplateRequest) GetServerId() uint32
func (*ListTemplateRequest) ProtoMessage ¶
func (*ListTemplateRequest) ProtoMessage()
func (*ListTemplateRequest) ProtoReflect ¶
func (x *ListTemplateRequest) ProtoReflect() protoreflect.Message
func (*ListTemplateRequest) Reset ¶
func (x *ListTemplateRequest) Reset()
func (*ListTemplateRequest) String ¶
func (x *ListTemplateRequest) String() string
func (*ListTemplateRequest) Validate ¶
func (m *ListTemplateRequest) Validate() error
Validate checks the field values on ListTemplateRequest 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 (*ListTemplateRequest) ValidateAll ¶
func (m *ListTemplateRequest) ValidateAll() error
ValidateAll checks the field values on ListTemplateRequest 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 ListTemplateRequestMultiError, or nil if none found.
type ListTemplateRequestMultiError ¶
type ListTemplateRequestMultiError []error
ListTemplateRequestMultiError is an error wrapping multiple validation errors returned by ListTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (ListTemplateRequestMultiError) AllErrors ¶
func (m ListTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTemplateRequestMultiError) Error ¶
func (m ListTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTemplateRequestValidationError ¶
type ListTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
ListTemplateRequestValidationError is the validation error returned by ListTemplateRequest.Validate if the designated constraints aren't met.
func (ListTemplateRequestValidationError) Cause ¶
func (e ListTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTemplateRequestValidationError) Error ¶
func (e ListTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTemplateRequestValidationError) ErrorName ¶
func (e ListTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTemplateRequestValidationError) Field ¶
func (e ListTemplateRequestValidationError) Field() string
Field function returns field value.
func (ListTemplateRequestValidationError) Key ¶
func (e ListTemplateRequestValidationError) Key() bool
Key function returns key value.
func (ListTemplateRequestValidationError) Reason ¶
func (e ListTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type ParseTemplateReply ¶
type ParseTemplateReply struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` // contains filtered or unexported fields }
func (*ParseTemplateReply) Descriptor
deprecated
func (*ParseTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use ParseTemplateReply.ProtoReflect.Descriptor instead.
func (*ParseTemplateReply) GetContent ¶
func (x *ParseTemplateReply) GetContent() string
func (*ParseTemplateReply) GetFormat ¶
func (x *ParseTemplateReply) GetFormat() string
func (*ParseTemplateReply) ProtoMessage ¶
func (*ParseTemplateReply) ProtoMessage()
func (*ParseTemplateReply) ProtoReflect ¶
func (x *ParseTemplateReply) ProtoReflect() protoreflect.Message
func (*ParseTemplateReply) Reset ¶
func (x *ParseTemplateReply) Reset()
func (*ParseTemplateReply) String ¶
func (x *ParseTemplateReply) String() string
func (*ParseTemplateReply) Validate ¶
func (m *ParseTemplateReply) Validate() error
Validate checks the field values on ParseTemplateReply 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 (*ParseTemplateReply) ValidateAll ¶
func (m *ParseTemplateReply) ValidateAll() error
ValidateAll checks the field values on ParseTemplateReply 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 ParseTemplateReplyMultiError, or nil if none found.
type ParseTemplateReplyMultiError ¶
type ParseTemplateReplyMultiError []error
ParseTemplateReplyMultiError is an error wrapping multiple validation errors returned by ParseTemplateReply.ValidateAll() if the designated constraints aren't met.
func (ParseTemplateReplyMultiError) AllErrors ¶
func (m ParseTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ParseTemplateReplyMultiError) Error ¶
func (m ParseTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ParseTemplateReplyValidationError ¶
type ParseTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
ParseTemplateReplyValidationError is the validation error returned by ParseTemplateReply.Validate if the designated constraints aren't met.
func (ParseTemplateReplyValidationError) Cause ¶
func (e ParseTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (ParseTemplateReplyValidationError) Error ¶
func (e ParseTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ParseTemplateReplyValidationError) ErrorName ¶
func (e ParseTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ParseTemplateReplyValidationError) Field ¶
func (e ParseTemplateReplyValidationError) Field() string
Field function returns field value.
func (ParseTemplateReplyValidationError) Key ¶
func (e ParseTemplateReplyValidationError) Key() bool
Key function returns key value.
func (ParseTemplateReplyValidationError) Reason ¶
func (e ParseTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type ParseTemplateRequest ¶
type ParseTemplateRequest struct { ServerId uint32 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` EnvId uint32 `protobuf:"varint,2,opt,name=envId,proto3" json:"envId,omitempty"` // contains filtered or unexported fields }
解析配置
func (*ParseTemplateRequest) Descriptor
deprecated
func (*ParseTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseTemplateRequest.ProtoReflect.Descriptor instead.
func (*ParseTemplateRequest) GetEnvId ¶
func (x *ParseTemplateRequest) GetEnvId() uint32
func (*ParseTemplateRequest) GetServerId ¶
func (x *ParseTemplateRequest) GetServerId() uint32
func (*ParseTemplateRequest) ProtoMessage ¶
func (*ParseTemplateRequest) ProtoMessage()
func (*ParseTemplateRequest) ProtoReflect ¶
func (x *ParseTemplateRequest) ProtoReflect() protoreflect.Message
func (*ParseTemplateRequest) Reset ¶
func (x *ParseTemplateRequest) Reset()
func (*ParseTemplateRequest) String ¶
func (x *ParseTemplateRequest) String() string
func (*ParseTemplateRequest) Validate ¶
func (m *ParseTemplateRequest) Validate() error
Validate checks the field values on ParseTemplateRequest 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 (*ParseTemplateRequest) ValidateAll ¶
func (m *ParseTemplateRequest) ValidateAll() error
ValidateAll checks the field values on ParseTemplateRequest 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 ParseTemplateRequestMultiError, or nil if none found.
type ParseTemplateRequestMultiError ¶
type ParseTemplateRequestMultiError []error
ParseTemplateRequestMultiError is an error wrapping multiple validation errors returned by ParseTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (ParseTemplateRequestMultiError) AllErrors ¶
func (m ParseTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ParseTemplateRequestMultiError) Error ¶
func (m ParseTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ParseTemplateRequestValidationError ¶
type ParseTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
ParseTemplateRequestValidationError is the validation error returned by ParseTemplateRequest.Validate if the designated constraints aren't met.
func (ParseTemplateRequestValidationError) Cause ¶
func (e ParseTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (ParseTemplateRequestValidationError) Error ¶
func (e ParseTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ParseTemplateRequestValidationError) ErrorName ¶
func (e ParseTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ParseTemplateRequestValidationError) Field ¶
func (e ParseTemplateRequestValidationError) Field() string
Field function returns field value.
func (ParseTemplateRequestValidationError) Key ¶
func (e ParseTemplateRequestValidationError) Key() bool
Key function returns key value.
func (ParseTemplateRequestValidationError) Reason ¶
func (e ParseTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type PreviewTemplateReply ¶
type PreviewTemplateReply struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*PreviewTemplateReply) Descriptor
deprecated
func (*PreviewTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use PreviewTemplateReply.ProtoReflect.Descriptor instead.
func (*PreviewTemplateReply) GetContent ¶
func (x *PreviewTemplateReply) GetContent() string
func (*PreviewTemplateReply) ProtoMessage ¶
func (*PreviewTemplateReply) ProtoMessage()
func (*PreviewTemplateReply) ProtoReflect ¶
func (x *PreviewTemplateReply) ProtoReflect() protoreflect.Message
func (*PreviewTemplateReply) Reset ¶
func (x *PreviewTemplateReply) Reset()
func (*PreviewTemplateReply) String ¶
func (x *PreviewTemplateReply) String() string
func (*PreviewTemplateReply) Validate ¶
func (m *PreviewTemplateReply) Validate() error
Validate checks the field values on PreviewTemplateReply 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 (*PreviewTemplateReply) ValidateAll ¶
func (m *PreviewTemplateReply) ValidateAll() error
ValidateAll checks the field values on PreviewTemplateReply 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 PreviewTemplateReplyMultiError, or nil if none found.
type PreviewTemplateReplyMultiError ¶
type PreviewTemplateReplyMultiError []error
PreviewTemplateReplyMultiError is an error wrapping multiple validation errors returned by PreviewTemplateReply.ValidateAll() if the designated constraints aren't met.
func (PreviewTemplateReplyMultiError) AllErrors ¶
func (m PreviewTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PreviewTemplateReplyMultiError) Error ¶
func (m PreviewTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PreviewTemplateReplyValidationError ¶
type PreviewTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
PreviewTemplateReplyValidationError is the validation error returned by PreviewTemplateReply.Validate if the designated constraints aren't met.
func (PreviewTemplateReplyValidationError) Cause ¶
func (e PreviewTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (PreviewTemplateReplyValidationError) Error ¶
func (e PreviewTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PreviewTemplateReplyValidationError) ErrorName ¶
func (e PreviewTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PreviewTemplateReplyValidationError) Field ¶
func (e PreviewTemplateReplyValidationError) Field() string
Field function returns field value.
func (PreviewTemplateReplyValidationError) Key ¶
func (e PreviewTemplateReplyValidationError) Key() bool
Key function returns key value.
func (PreviewTemplateReplyValidationError) Reason ¶
func (e PreviewTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type PreviewTemplateRequest ¶
type PreviewTemplateRequest struct { EnvId uint32 `protobuf:"varint,1,opt,name=envId,proto3" json:"envId,omitempty"` ServerId uint32 `protobuf:"varint,2,opt,name=serverId,proto3" json:"serverId,omitempty"` Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
预览配置
func (*PreviewTemplateRequest) Descriptor
deprecated
func (*PreviewTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreviewTemplateRequest.ProtoReflect.Descriptor instead.
func (*PreviewTemplateRequest) GetContent ¶
func (x *PreviewTemplateRequest) GetContent() string
func (*PreviewTemplateRequest) GetEnvId ¶
func (x *PreviewTemplateRequest) GetEnvId() uint32
func (*PreviewTemplateRequest) GetFormat ¶
func (x *PreviewTemplateRequest) GetFormat() string
func (*PreviewTemplateRequest) GetServerId ¶
func (x *PreviewTemplateRequest) GetServerId() uint32
func (*PreviewTemplateRequest) ProtoMessage ¶
func (*PreviewTemplateRequest) ProtoMessage()
func (*PreviewTemplateRequest) ProtoReflect ¶
func (x *PreviewTemplateRequest) ProtoReflect() protoreflect.Message
func (*PreviewTemplateRequest) Reset ¶
func (x *PreviewTemplateRequest) Reset()
func (*PreviewTemplateRequest) String ¶
func (x *PreviewTemplateRequest) String() string
func (*PreviewTemplateRequest) Validate ¶
func (m *PreviewTemplateRequest) Validate() error
Validate checks the field values on PreviewTemplateRequest 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 (*PreviewTemplateRequest) ValidateAll ¶
func (m *PreviewTemplateRequest) ValidateAll() error
ValidateAll checks the field values on PreviewTemplateRequest 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 PreviewTemplateRequestMultiError, or nil if none found.
type PreviewTemplateRequestMultiError ¶
type PreviewTemplateRequestMultiError []error
PreviewTemplateRequestMultiError is an error wrapping multiple validation errors returned by PreviewTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (PreviewTemplateRequestMultiError) AllErrors ¶
func (m PreviewTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PreviewTemplateRequestMultiError) Error ¶
func (m PreviewTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PreviewTemplateRequestValidationError ¶
type PreviewTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
PreviewTemplateRequestValidationError is the validation error returned by PreviewTemplateRequest.Validate if the designated constraints aren't met.
func (PreviewTemplateRequestValidationError) Cause ¶
func (e PreviewTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (PreviewTemplateRequestValidationError) Error ¶
func (e PreviewTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PreviewTemplateRequestValidationError) ErrorName ¶
func (e PreviewTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PreviewTemplateRequestValidationError) Field ¶
func (e PreviewTemplateRequestValidationError) Field() string
Field function returns field value.
func (PreviewTemplateRequestValidationError) Key ¶
func (e PreviewTemplateRequestValidationError) Key() bool
Key function returns key value.
func (PreviewTemplateRequestValidationError) Reason ¶
func (e PreviewTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type SwitchTemplateReply ¶
type SwitchTemplateReply struct {
// contains filtered or unexported fields
}
func (*SwitchTemplateReply) Descriptor
deprecated
func (*SwitchTemplateReply) Descriptor() ([]byte, []int)
Deprecated: Use SwitchTemplateReply.ProtoReflect.Descriptor instead.
func (*SwitchTemplateReply) ProtoMessage ¶
func (*SwitchTemplateReply) ProtoMessage()
func (*SwitchTemplateReply) ProtoReflect ¶
func (x *SwitchTemplateReply) ProtoReflect() protoreflect.Message
func (*SwitchTemplateReply) Reset ¶
func (x *SwitchTemplateReply) Reset()
func (*SwitchTemplateReply) String ¶
func (x *SwitchTemplateReply) String() string
func (*SwitchTemplateReply) Validate ¶
func (m *SwitchTemplateReply) Validate() error
Validate checks the field values on SwitchTemplateReply 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 (*SwitchTemplateReply) ValidateAll ¶
func (m *SwitchTemplateReply) ValidateAll() error
ValidateAll checks the field values on SwitchTemplateReply 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 SwitchTemplateReplyMultiError, or nil if none found.
type SwitchTemplateReplyMultiError ¶
type SwitchTemplateReplyMultiError []error
SwitchTemplateReplyMultiError is an error wrapping multiple validation errors returned by SwitchTemplateReply.ValidateAll() if the designated constraints aren't met.
func (SwitchTemplateReplyMultiError) AllErrors ¶
func (m SwitchTemplateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SwitchTemplateReplyMultiError) Error ¶
func (m SwitchTemplateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SwitchTemplateReplyValidationError ¶
type SwitchTemplateReplyValidationError struct {
// contains filtered or unexported fields
}
SwitchTemplateReplyValidationError is the validation error returned by SwitchTemplateReply.Validate if the designated constraints aren't met.
func (SwitchTemplateReplyValidationError) Cause ¶
func (e SwitchTemplateReplyValidationError) Cause() error
Cause function returns cause value.
func (SwitchTemplateReplyValidationError) Error ¶
func (e SwitchTemplateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SwitchTemplateReplyValidationError) ErrorName ¶
func (e SwitchTemplateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SwitchTemplateReplyValidationError) Field ¶
func (e SwitchTemplateReplyValidationError) Field() string
Field function returns field value.
func (SwitchTemplateReplyValidationError) Key ¶
func (e SwitchTemplateReplyValidationError) Key() bool
Key function returns key value.
func (SwitchTemplateReplyValidationError) Reason ¶
func (e SwitchTemplateReplyValidationError) Reason() string
Reason function returns reason value.
type SwitchTemplateRequest ¶
type SwitchTemplateRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ServerId uint32 `protobuf:"varint,2,opt,name=serverId,proto3" json:"serverId,omitempty"` // contains filtered or unexported fields }
切换模板
func (*SwitchTemplateRequest) Descriptor
deprecated
func (*SwitchTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SwitchTemplateRequest.ProtoReflect.Descriptor instead.
func (*SwitchTemplateRequest) GetId ¶
func (x *SwitchTemplateRequest) GetId() uint32
func (*SwitchTemplateRequest) GetServerId ¶
func (x *SwitchTemplateRequest) GetServerId() uint32
func (*SwitchTemplateRequest) ProtoMessage ¶
func (*SwitchTemplateRequest) ProtoMessage()
func (*SwitchTemplateRequest) ProtoReflect ¶
func (x *SwitchTemplateRequest) ProtoReflect() protoreflect.Message
func (*SwitchTemplateRequest) Reset ¶
func (x *SwitchTemplateRequest) Reset()
func (*SwitchTemplateRequest) String ¶
func (x *SwitchTemplateRequest) String() string
func (*SwitchTemplateRequest) Validate ¶
func (m *SwitchTemplateRequest) Validate() error
Validate checks the field values on SwitchTemplateRequest 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 (*SwitchTemplateRequest) ValidateAll ¶
func (m *SwitchTemplateRequest) ValidateAll() error
ValidateAll checks the field values on SwitchTemplateRequest 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 SwitchTemplateRequestMultiError, or nil if none found.
type SwitchTemplateRequestMultiError ¶
type SwitchTemplateRequestMultiError []error
SwitchTemplateRequestMultiError is an error wrapping multiple validation errors returned by SwitchTemplateRequest.ValidateAll() if the designated constraints aren't met.
func (SwitchTemplateRequestMultiError) AllErrors ¶
func (m SwitchTemplateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SwitchTemplateRequestMultiError) Error ¶
func (m SwitchTemplateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SwitchTemplateRequestValidationError ¶
type SwitchTemplateRequestValidationError struct {
// contains filtered or unexported fields
}
SwitchTemplateRequestValidationError is the validation error returned by SwitchTemplateRequest.Validate if the designated constraints aren't met.
func (SwitchTemplateRequestValidationError) Cause ¶
func (e SwitchTemplateRequestValidationError) Cause() error
Cause function returns cause value.
func (SwitchTemplateRequestValidationError) Error ¶
func (e SwitchTemplateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SwitchTemplateRequestValidationError) ErrorName ¶
func (e SwitchTemplateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SwitchTemplateRequestValidationError) Field ¶
func (e SwitchTemplateRequestValidationError) Field() string
Field function returns field value.
func (SwitchTemplateRequestValidationError) Key ¶
func (e SwitchTemplateRequestValidationError) Key() bool
Key function returns key value.
func (SwitchTemplateRequestValidationError) Reason ¶
func (e SwitchTemplateRequestValidationError) Reason() string
Reason function returns reason value.
type TemplateClient ¶
type TemplateClient interface { ListTemplate(ctx context.Context, in *ListTemplateRequest, opts ...grpc.CallOption) (*ListTemplateReply, error) GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...grpc.CallOption) (*GetTemplateReply, error) CurrentTemplate(ctx context.Context, in *CurrentTemplateRequest, opts ...grpc.CallOption) (*CurrentTemplateReply, error) CreateTemplate(ctx context.Context, in *CreateTemplateRequest, opts ...grpc.CallOption) (*CreateTemplateReply, error) SwitchTemplate(ctx context.Context, in *SwitchTemplateRequest, opts ...grpc.CallOption) (*SwitchTemplateReply, error) CompareTemplate(ctx context.Context, in *CompareTemplateRequest, opts ...grpc.CallOption) (*CompareTemplateReply, error) PreviewTemplate(ctx context.Context, in *PreviewTemplateRequest, opts ...grpc.CallOption) (*PreviewTemplateReply, error) ParseTemplate(ctx context.Context, in *ParseTemplateRequest, opts ...grpc.CallOption) (*ParseTemplateReply, error) }
TemplateClient is the client API for Template 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 NewTemplateClient ¶
func NewTemplateClient(cc grpc.ClientConnInterface) TemplateClient
type TemplateHTTPClient ¶
type TemplateHTTPClient interface { CompareTemplate(ctx context.Context, req *CompareTemplateRequest, opts ...http.CallOption) (rsp *CompareTemplateReply, err error) CreateTemplate(ctx context.Context, req *CreateTemplateRequest, opts ...http.CallOption) (rsp *CreateTemplateReply, err error) CurrentTemplate(ctx context.Context, req *CurrentTemplateRequest, opts ...http.CallOption) (rsp *CurrentTemplateReply, err error) GetTemplate(ctx context.Context, req *GetTemplateRequest, opts ...http.CallOption) (rsp *GetTemplateReply, err error) ListTemplate(ctx context.Context, req *ListTemplateRequest, opts ...http.CallOption) (rsp *ListTemplateReply, err error) ParseTemplate(ctx context.Context, req *ParseTemplateRequest, opts ...http.CallOption) (rsp *ParseTemplateReply, err error) PreviewTemplate(ctx context.Context, req *PreviewTemplateRequest, opts ...http.CallOption) (rsp *PreviewTemplateReply, err error) SwitchTemplate(ctx context.Context, req *SwitchTemplateRequest, opts ...http.CallOption) (rsp *SwitchTemplateReply, err error) }
func NewTemplateHTTPClient ¶
func NewTemplateHTTPClient(client *http.Client) TemplateHTTPClient
type TemplateHTTPClientImpl ¶
type TemplateHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*TemplateHTTPClientImpl) CompareTemplate ¶
func (c *TemplateHTTPClientImpl) CompareTemplate(ctx context.Context, in *CompareTemplateRequest, opts ...http.CallOption) (*CompareTemplateReply, error)
func (*TemplateHTTPClientImpl) CreateTemplate ¶
func (c *TemplateHTTPClientImpl) CreateTemplate(ctx context.Context, in *CreateTemplateRequest, opts ...http.CallOption) (*CreateTemplateReply, error)
func (*TemplateHTTPClientImpl) CurrentTemplate ¶
func (c *TemplateHTTPClientImpl) CurrentTemplate(ctx context.Context, in *CurrentTemplateRequest, opts ...http.CallOption) (*CurrentTemplateReply, error)
func (*TemplateHTTPClientImpl) GetTemplate ¶
func (c *TemplateHTTPClientImpl) GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...http.CallOption) (*GetTemplateReply, error)
func (*TemplateHTTPClientImpl) ListTemplate ¶
func (c *TemplateHTTPClientImpl) ListTemplate(ctx context.Context, in *ListTemplateRequest, opts ...http.CallOption) (*ListTemplateReply, error)
func (*TemplateHTTPClientImpl) ParseTemplate ¶
func (c *TemplateHTTPClientImpl) ParseTemplate(ctx context.Context, in *ParseTemplateRequest, opts ...http.CallOption) (*ParseTemplateReply, error)
func (*TemplateHTTPClientImpl) PreviewTemplate ¶
func (c *TemplateHTTPClientImpl) PreviewTemplate(ctx context.Context, in *PreviewTemplateRequest, opts ...http.CallOption) (*PreviewTemplateReply, error)
func (*TemplateHTTPClientImpl) SwitchTemplate ¶
func (c *TemplateHTTPClientImpl) SwitchTemplate(ctx context.Context, in *SwitchTemplateRequest, opts ...http.CallOption) (*SwitchTemplateReply, error)
type TemplateHTTPServer ¶
type TemplateHTTPServer interface { CompareTemplate(context.Context, *CompareTemplateRequest) (*CompareTemplateReply, error) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateReply, error) CurrentTemplate(context.Context, *CurrentTemplateRequest) (*CurrentTemplateReply, error) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateReply, error) ListTemplate(context.Context, *ListTemplateRequest) (*ListTemplateReply, error) ParseTemplate(context.Context, *ParseTemplateRequest) (*ParseTemplateReply, error) PreviewTemplate(context.Context, *PreviewTemplateRequest) (*PreviewTemplateReply, error) SwitchTemplate(context.Context, *SwitchTemplateRequest) (*SwitchTemplateReply, error) }
type TemplateServer ¶
type TemplateServer interface { ListTemplate(context.Context, *ListTemplateRequest) (*ListTemplateReply, error) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateReply, error) CurrentTemplate(context.Context, *CurrentTemplateRequest) (*CurrentTemplateReply, error) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateReply, error) SwitchTemplate(context.Context, *SwitchTemplateRequest) (*SwitchTemplateReply, error) CompareTemplate(context.Context, *CompareTemplateRequest) (*CompareTemplateReply, error) PreviewTemplate(context.Context, *PreviewTemplateRequest) (*PreviewTemplateReply, error) ParseTemplate(context.Context, *ParseTemplateRequest) (*ParseTemplateReply, error) // contains filtered or unexported methods }
TemplateServer is the server API for Template service. All implementations must embed UnimplementedTemplateServer for forward compatibility
type UnimplementedTemplateServer ¶
type UnimplementedTemplateServer struct { }
UnimplementedTemplateServer must be embedded to have forward compatible implementations.
func (UnimplementedTemplateServer) CompareTemplate ¶
func (UnimplementedTemplateServer) CompareTemplate(context.Context, *CompareTemplateRequest) (*CompareTemplateReply, error)
func (UnimplementedTemplateServer) CreateTemplate ¶
func (UnimplementedTemplateServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateReply, error)
func (UnimplementedTemplateServer) CurrentTemplate ¶
func (UnimplementedTemplateServer) CurrentTemplate(context.Context, *CurrentTemplateRequest) (*CurrentTemplateReply, error)
func (UnimplementedTemplateServer) GetTemplate ¶
func (UnimplementedTemplateServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateReply, error)
func (UnimplementedTemplateServer) ListTemplate ¶
func (UnimplementedTemplateServer) ListTemplate(context.Context, *ListTemplateRequest) (*ListTemplateReply, error)
func (UnimplementedTemplateServer) ParseTemplate ¶
func (UnimplementedTemplateServer) ParseTemplate(context.Context, *ParseTemplateRequest) (*ParseTemplateReply, error)
func (UnimplementedTemplateServer) PreviewTemplate ¶
func (UnimplementedTemplateServer) PreviewTemplate(context.Context, *PreviewTemplateRequest) (*PreviewTemplateReply, error)
func (UnimplementedTemplateServer) SwitchTemplate ¶
func (UnimplementedTemplateServer) SwitchTemplate(context.Context, *SwitchTemplateRequest) (*SwitchTemplateReply, error)
type UnsafeTemplateServer ¶
type UnsafeTemplateServer interface {
// contains filtered or unexported methods
}
UnsafeTemplateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TemplateServer will result in compilation errors.