Documentation
¶
Overview ¶
Package stats wraps Geni's /stats endpoint — the platform-wide statistics list.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps a transport.Client with the /stats endpoint.
type Response ¶
type Response struct {
Stats []json.RawMessage `json:"stats,omitempty"`
}
Response is Geni's /stats response — an opaque list of "available statistics". The public docs describe the response as an array of hashes without enumerating fields, so each entry is kept as a raw JSON message; callers decode the specific stats they care about.
Click to show internal directories.
Click to hide internal directories.