Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Project string `config:"project_id" validate:"required"` Topic string `config:"topic" validate:"required"` CredentialsFile string `config:"credentials_file"` Subscription struct { Name string `config:"name" validate:"required"` RetainAckedMessages bool `config:"retain_acked_messages"` RetentionDuration time.Duration `config:"retention_duration"` } Json struct { Enabled bool `config:"enabled"` AddErrorKey bool `config:"add_error_key"` } }
Click to show internal directories.
Click to hide internal directories.