Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Project ID daa ProjectID string // Pub/Sub topic name Topic string // Debug flag for log prints - default level is Info. Debug bool // HTTP port. Port int // Prometheus port. MetricsPort int // Maximum size of a single batch. PubsubMaxBatch int // Number of pools that listen for events from users PubSubAggrigators int // Max time to pass in seconds before publishing. PubsubMaxPublishDelay time.Duration // The default maximum amount of goroutines for publishing. MaxPubSubGoroutinesAmount int // The default maximum idle duration of a goroutine. MaxPubSubGoroutineIdleDuration time.Duration }
Click to show internal directories.
Click to hide internal directories.