Discover Packages
github.com/friendlycaptcha/friendly-stripe-sync
internal
config
cfgmodel
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Sep 26, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type FriendlyStripeSync struct {
Debug bool `json:"debug"`
Purge bool `json:"purge"`
Development bool `json:"development"`
Stripe Stripe `json:"stripe"`
Postgres Postgres `json:"postgres"`
StripeSync StripeSync `json:"stripe_sync"`
Logging Logging `json:"logging"`
}
type Logging struct {
Filename string `json:"filename"`
MaxSize int `json:"max_size"`
MaxAge int `json:"max_age"`
MaxBackups int `json:"max_backups"`
}
type Postgres struct {
Host string `json:"host"`
Port int `json:"port"`
User string `json:"user"`
Password string `json:"password"`
DBName string `json:"dbname"`
SSLMode string `json:"sslmode"`
}
type Stripe struct {
APIKey string `json:"api_key"`
}
type StripeSync struct {
IntervalSeconds int `json:"interval_seconds"`
ExcludedFields []string `json:"excluded_fields"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.