Documentation
¶
Overview ¶
Package usage owns the shared public Network usage query and response projection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnknownField = errors.New("unknown_field")
)
Functions ¶
func ParseQuery ¶
ParseQuery strictly parses the shared public usage filter contract.
func ResponseFromReport ¶
func ResponseFromReport( workspaceID string, report store.NetworkUsageReport, ) (contract.NetworkUsageResponse, error)
ResponseFromReport validates JSON-safe counters and projects the shared response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.