Documentation ¶
Index ¶
- func RegisterErrors(m map[error]int)
- type Cloud
- type Fields
- type Logger
- func (l Logger) Log(v logging.Severity, m string, f Fields)
- func (l Logger) LogResponse(w http.ResponseWriter, r *http.Request, s int)
- func (l Logger) LogResponseMessage(w http.ResponseWriter, r *http.Request, s int, m string)
- func (l Logger) LogServiceError(w http.ResponseWriter, r *http.Request, e error)
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterErrors ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (Logger) LogResponse ¶
func (Logger) LogResponseMessage ¶
func (Logger) LogServiceError ¶
type ValidationError ¶
func FailValidation ¶
func FailValidation(root, details error) *ValidationError
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
func (*ValidationError) RewritePrefix ¶ added in v0.1.8
func (e *ValidationError) RewritePrefix(original, updated string)
func (*ValidationError) RewritesPrefix ¶ added in v0.1.8
func (e *ValidationError) RewritesPrefix() bool
Click to show internal directories.
Click to hide internal directories.