package
Version:
v0.58.0
Opens a new window with list of versions in this module.
Published: Oct 26, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type HTTPError struct {
StatusCode int
}
type Status struct {
Code string `json:"code,omitempty"`
Message string `json:"message,omitempty"`
HTTPCode json.Number `json:"http_code,omitempty"`
Metrics metrics.Metrics `json:"metrics,omitempty"`
}
Status represents the status of processing a decision log.
SetError updates the status object to reflect a failure to upload or
process a log. If err is nil, the error status is cleared.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.