Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // InstanceID is the unique identifier for this instance of the API server InstanceID string // Platform identifies the cloud platform where the node is running (e.g., aws, gcp, hetzner) Platform string // Image specifies the container image identifier including repository and tag Image string // HttpPort defines the HTTP port for the API server to listen on (default: 7070) // Used in production deployments. Ignored if Listener is provided. HttpPort int // Listener defines a pre-created network listener for the HTTP server // If provided, the server will use this listener instead of creating one from HttpPort // This is intended for testing scenarios where ephemeral ports are needed to avoid conflicts Listener net.Listener // Region identifies the geographic region where this node is deployed Region string // RedisUrl is the Redis database connection string RedisUrl string // Enable TestMode TestMode bool // ClickhouseURL is the ClickHouse database connection string ClickhouseURL string // DatabasePrimary is the primary database connection string for read and write operations DatabasePrimary string // DatabaseReadonlyReplica is an optional read-replica database connection string for read operations DatabaseReadonlyReplica string // Enable sending otel data to the collector endpoint for metrics, traces, and logs OtelEnabled bool OtelTraceSamplingRate float64 PrometheusPort int Clock clock.Clock // TLSConfig provides HTTPS support when set TLSConfig *tls.Config // Vault Configuration VaultMasterKeys []string VaultS3 *S3Config // ChproxyToken is the authentication token for ClickHouse proxy endpoints ChproxyToken string }
Directories
¶
Path | Synopsis |
---|---|
Package openapi provides primitives to interact with the openapi HTTP API.
|
Package openapi provides primitives to interact with the openapi HTTP API. |
Click to show internal directories.
Click to hide internal directories.