package
0.0.0-20250130204033-e82d90384e5b
Repository: https://github.com/laurentgoderre/moby.git
Documentation: pkg.go.dev
# Functions
CommandSucceed creates a success message.
DebugHTTPForm helper to print the form url parameters.
FailCommand creates a failure message with error.
HTTPReply helper function that takes care of sending the message out.
New creates a new diagnostic server.
ParseHTTPFormOptions easily parse the JSON printing options.
WrongCommand creates a wrong command response.
# Structs
ErrorCmd command with error.
HTTPResult Diagnostic Server HTTP result operation.
JSONOutput contains details on JSON output printing.
NetworkStatsResult network db stats related to entries and queue len for a network.
PeerEntryObj entry in the networkdb peer table.
Server when the debug is enabled exposes a This data structure is protected by the Agent mutex so does not require and additional mutex here.
StringCmd command with info string.
TableEndpointsResult fully typed message for proper unmarshaling on the client side.
TableEntryObj network db table entry object.
TableObj network db table object.
TablePeersResult fully typed message for proper unmarshaling on the client side.
UsageCmd command with usage field.
# Interfaces
StringInterface interface that has to be implemented by messages.