package
Version:
v0.0.0-...-8419e78
Opens a new window with list of versions in this module.
Published: Nov 20, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Reply struct {
Success bool `json:"success"`
Error string `json:"error,omitempty" yaml:"error,omitempty"`
}
Reply contains standard fields that are embedded in most API responses
type StatusReply struct {
Status string `json:"status"`
Uptime string `json:"uptime,omitempty"`
Version string `json:"version,omitempty"`
Error string `json:"error,omitempty" yaml:"error,omitempty"`
}
StatusReply is returned on status requests. Note that no request is needed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.