Documentation ¶
Index ¶
Constants ¶
View Source
const ( CtxUserIDKey requestContextKey = iota CtxOrgIDKey CtxOrgSubdomainKey )
Variables ¶
View Source
var ErrInvalidPathParam = errors.New("invalid path parameter")
Functions ¶
func DecodeAndValidateJSON ¶
DecodeAndValidateJSON decodes a JSON payload from the given reader into the given value. It also validates the fields using the validator. If the validation fails, it returns a validation error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.