Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLogHandler ¶
Types ¶
type CustomValidator ¶
type CustomValidator struct {
Validator *validator.Validate
}
func (*CustomValidator) Validate ¶
func (cv *CustomValidator) Validate(i interface{}) error
type HTTPErrorHandler ¶
type HTTPErrorHandler struct {
// contains filtered or unexported fields
}
func NewHTTPErrorHandler ¶
func NewHTTPErrorHandler(errorStatusCodeMaps map[error]int) *HTTPErrorHandler
func (*HTTPErrorHandler) GetStatusCode ¶
func (eh *HTTPErrorHandler) GetStatusCode(err error) int
Click to show internal directories.
Click to hide internal directories.