package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: Jan 31, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
ErrUnauthorized = newError("Unauthorized")
ErrBadRequest = newError("Body invalid")
)
type HTTPError struct {
Message string `json:"message"`
}
HTTPError is custom HTTP error for API
type Traffic struct {
Up int64 `json:"up"`
Down int64 `json:"down"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.