Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { DeploymentEnv string `json:"deployment_env"` ServiceName string `json:"service_name"` ServiceGroupName string `json:"service_group_name"` ServiceGrpcEndpoint string `json:"service_grpc_endpoint"` ServiceHttpEndpoint string `json:"service_http_endpoint"` ServiceMetricsEndpoint string `json:"service_metrics_endpoint"` LogLevel string `json:"log_level"` LogSentryDSN string `json:"log_sentry_dsn"` LogPrinter string `json:"log_printer"` LogPrinterFilePath string `json:"log_printer_filepath"` EnableReflection bool `json:"enable_reflection"` ServiceInternalConfig ServiceInternalConfig `json:"service_internal_config"` }
func LoadConfigFileOrPanic ¶
func (*Config) UnmarshalJSON ¶
type ServiceInternalConfig ¶
type ServiceInternalConfig struct { MerchantID string `json:"merchant_id"` MerchantCertSerialNo string `json:"merchant_cert_serial_no"` MerchantAPIv3Key string `json:"merchant_api_v3_key"` MerchantAPIv3SecretCertPath string `json:"merchant_api_v3_secret_cert_path"` SupportedAppList []SupportedApp `json:"supported_app_list"` PaymentCallbackNotifyURL string `json:"payment_callback_notify_url"` PaymentExpireTimeInMinute int64 `json:"payment_expire_time_in_minute"` Storage Storage `json:"storage"` Cache Cache `json:"cache"` }
type SupportedApp ¶
Click to show internal directories.
Click to hide internal directories.