Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Root = os.Getenv("GOPATH") + "/src/github.com/requaos/qorfun" Mailer *mailer.Mailer Render = render.New() AmazonPay *amazonpay.AmazonPay PaymentGateway gomerchant.PaymentGateway RedirectBack = redirect_back.New(&redirect_back.Config{ SessionManager: manager.SessionManager, IgnoredPrefixes: []string{"/auth"}, }) )
View Source
var Config = struct { HTTPS bool `default:"false" env:"HTTPS"` Port uint `default:"7000" env:"PORT"` DB struct { Name string `env:"DBName" default:"qor_example"` Adapter string `env:"DBAdapter" default:"mysql"` Host string `env:"DBHost" default:"localhost"` Port string `env:"DBPort" default:"3306"` User string `env:"DBUser"` Password string `env:"DBPassword"` } S3 struct { AccessKeyID string `env:"AWS_ACCESS_KEY_ID"` SecretAccessKey string `env:"AWS_SECRET_ACCESS_KEY"` Region string `env:"AWS_Region"` S3Bucket string `env:"AWS_Bucket"` } AmazonPay struct { MerchantID string `env:"AmazonPayMerchantID"` AccessKey string `env:"AmazonPayAccessKey"` SecretKey string `env:"AmazonPaySecretKey"` ClientID string `env:"AmazonPayClientID"` ClientSecret string `env:"AmazonPayClientSecret"` Sandbox bool `env:"AmazonPaySandbox"` CurrencyCode string `env:"AmazonPayCurrencyCode" default:"USD"` } SMTP SMTPConfig Github github.Config Google google.Config Facebook facebook.Config Twitter twitter.Config GoogleAPIKey string `env:"GoogleAPIKey"` BaiduAPIKey string `env:"BaiduAPIKey"` }{}
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.