Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSConfig ¶
type AWSConfig struct { ServiceType string `mapstructure:"service_type"` Port int `mapstructure:"port"` UrlPrefix string `mapstructure:"url_prefix"` Middleware []string `mapstructure:"middleware"` DestinationAWSConfig *AWSDestinationConfig `mapstructure:"aws_destination_config"` DestinationGCPConfig *GCPDestinationConfig `mapstructure:"gcp_destination_config"` }
type AWSDestinationConfig ¶
type Config ¶
type Config struct { AwsConfigs map[string]AWSConfig `mapstructure:"aws_configs"` GcpConfigs map[string]AWSConfig `mapstructure:"gcp_configs"` Middleware map[string]MiddlewareConfig `mapstructure:"middleware"` Logger *LogConfig `mapstructure:"logger"` PanicOnBindError bool `mapstructure:"panic_on_bind_error"` }
type GCPDatastoreConfig ¶
type GCPDestinationConfig ¶
type GCPDestinationConfig struct { Name string `mapstructure:"name"` Project string `mapstructure:"project"` Instance string `mapstructure:"instance"` GCSConfig *GCSConfig `mapstructure:"gcs_config"` DatastoreConfig *GCPDatastoreConfig `mapstructure:"datastore_config"` KeyFileLocation *string `mapstructure:"key_file_location"` KeyFromUrl *bool `mapstructure:"key_from_url"` RawKey *string `mapstructure:"raw_key"` }
type MiddlewareConfig ¶
type MiddlewareConfig struct {
Type string `mapstructure:"type"`
}
Click to show internal directories.
Click to hide internal directories.