Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Map = new(ConfMap)
Functions ¶
func IsValidBucketName ¶
Types ¶
type ConfMap ¶
type ConfMap struct {
Debug bool `hcl:"debug"`
Env string `hcl:"env"`
Grpc GrpcConfig `hcl:"grpc,block"`
HTTP HTTPConfig `hcl:"http,block"`
S3 S3Config `hcl:"s3,block"`
Sentry SentryConfig `hcl:"sentry,block"`
Recaptcha RecaptchaConfig `hcl:"recaptcha,block"`
}
type GrpcConfig ¶
type HTTPConfig ¶
type HTTPConfig struct {
Rules HTTPConfigRules `hcl:"rules,label"`
}
type HTTPConfigRules ¶
type HTTPConfigRules struct {
AccessControlAllowOrigin string `hcl:"access_control_allow_origin"`
}
type RecaptchaConfig ¶
type SentryConfig ¶
Click to show internal directories.
Click to hide internal directories.