Documentation ¶
Index ¶
- Variables
- func Find(code int, lang string) string
- type Err
- type ErrCode
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetCode() int64
- func (m *Error) GetMsg() string
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type FrontValidate
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ZH = "ZH" EN = "EN" )
Functions ¶
Types ¶
type Error ¶
type Error struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Error) Descriptor ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
type FrontValidate ¶
type FrontValidate struct{}
func (*FrontValidate) Validate ¶
func (fv *FrontValidate) Validate(i interface{}) error
Click to show internal directories.
Click to hide internal directories.