Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetricsResponse ¶
type MetricsResponse struct { Invalid int Published int ValidationErrors map[string]ValidationError }
func NewMetricsResponse ¶
func NewMetricsResponse() MetricsResponse
func (*MetricsResponse) AddInvalid ¶
func (m *MetricsResponse) AddInvalid(err error, index int)
AddInvalid updates the counts and makes sure there's up to 10 examples per error
type ValidationError ¶
Click to show internal directories.
Click to hide internal directories.