Documentation
¶
Index ¶
Constants ¶
View Source
const ( ExitSuccess = 0 ExitGeneralError = 1 ExitUsageError = 2 ExitAPIError = 64 ExitAuthError = 65 ExitServiceDown = 69 ExitConfigError = 78 )
Exit codes for programmatic error handling
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIResponse ¶
type CLIResponse struct {
Success bool `json:"success"`
Data interface{} `json:"data"`
Error *CLIError `json:"error"`
}
CLIResponse is the standard envelope for all CLI output. AI agents can rely on this consistent structure.
type Config ¶
type Config struct {
DataStream DataStreamConfig `json:"datastream"`
FluxRPC FluxRPCConfig `json:"fluxrpc"`
RugCheck RugCheckConfig `json:"rugcheck"`
Output OutputConfig `json:"output"`
}
func DefaultConfig ¶
func DefaultConfig() Config
type DataStreamConfig ¶
type FluxRPCConfig ¶
type OutputConfig ¶
type OutputConfig struct {
Format string `json:"format,omitempty"`
}
type RugCheckConfig ¶
Click to show internal directories.
Click to hide internal directories.