Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppSettings ¶
type AppSettings struct { AppType constants.AppType AppID string AppSecret string VerificationToken string EncryptKey string }
func GetISVAppSettingsByEnv ¶ added in v1.0.1
func GetISVAppSettingsByEnv() *AppSettings
func GetInternalAppSettingsByEnv ¶ added in v1.0.1
func GetInternalAppSettingsByEnv() *AppSettings
func NewISVAppSettings ¶
func NewISVAppSettings(appID, appSecret, verificationToken, eventEncryptKey string) *AppSettings
func NewInternalAppSettings ¶
func NewInternalAppSettings(appID, appSecret, verificationToken, eventEncryptKey string) *AppSettings
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func NewTestConfig ¶
func NewTestConfig(domain constants.Domain, appSettings *AppSettings) *Config
func (*Config) GetAppSettings ¶
func (c *Config) GetAppSettings() *AppSettings
func (*Config) WithContext ¶
Click to show internal directories.
Click to hide internal directories.