Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEqualCode ¶
Types ¶
type ServerError ¶
type ServerError struct {
Code ErrCode `json:"code"`
Message string `json:"msg"`
ServerErrorFunc ServerErrorFunc `json:"-"`
}
func (*ServerError) Error ¶
func (e *ServerError) Error() string
func (*ServerError) Json ¶
func (e *ServerError) Json() string
type ServerErrorFunc ¶
type ServerErrorFunc interface {
Json() string
}
Click to show internal directories.
Click to hide internal directories.