code

package
v0.0.131 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_viper_code_error_template_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ErrorTemplate

type ErrorTemplate struct {
	ErrorTemplate []*ErrorTemplate_ErrorItem `protobuf:"bytes,1,rep,name=error_template,json=errorTemplate,proto3" json:"error_template,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorTemplate) Descriptor deprecated

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

Deprecated: Use ErrorTemplate.ProtoReflect.Descriptor instead.

func (*ErrorTemplate) GetErrorTemplate

func (x *ErrorTemplate) GetErrorTemplate() []*ErrorTemplate_ErrorItem

func (*ErrorTemplate) ProtoMessage

func (*ErrorTemplate) ProtoMessage()

func (*ErrorTemplate) ProtoReflect

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

func (*ErrorTemplate) Reset

func (x *ErrorTemplate) Reset()

func (*ErrorTemplate) String

func (x *ErrorTemplate) String() string

type ErrorTemplate_ErrorItem

type ErrorTemplate_ErrorItem struct {
	ErrorCode    string            `protobuf:"bytes,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	ErrorDesc    string            `protobuf:"bytes,2,opt,name=error_desc,json=errorDesc,proto3" json:"error_desc,omitempty"`
	ErrorMessage map[string]string `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ErrorTemplate_ErrorItem) Descriptor deprecated

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

Deprecated: Use ErrorTemplate_ErrorItem.ProtoReflect.Descriptor instead.

func (*ErrorTemplate_ErrorItem) GetErrorCode

func (x *ErrorTemplate_ErrorItem) GetErrorCode() string

func (*ErrorTemplate_ErrorItem) GetErrorDesc

func (x *ErrorTemplate_ErrorItem) GetErrorDesc() string

func (*ErrorTemplate_ErrorItem) GetErrorMessage

func (x *ErrorTemplate_ErrorItem) GetErrorMessage() map[string]string

func (*ErrorTemplate_ErrorItem) ProtoMessage

func (*ErrorTemplate_ErrorItem) ProtoMessage()

func (*ErrorTemplate_ErrorItem) ProtoReflect

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

func (*ErrorTemplate_ErrorItem) Reset

func (x *ErrorTemplate_ErrorItem) Reset()

func (*ErrorTemplate_ErrorItem) String

func (x *ErrorTemplate_ErrorItem) String() string

Jump to

Keyboard shortcuts

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