Documentation
¶
Index ¶
Constants ¶
View Source
const ( Port SendgridAPIKey SlackAPIKey TwilioAccountID TwilioAuthToken TwilioPhoneNumber GracefulShutdownTimeout StructuredLogging DebugDumpRequests AllowEmailToDomains )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Port int
SendgridAPIKey string
SlackAPIKey string
TwilioAccountID string
TwilioAuthToken string
TwilioPhoneNumber string
GracefulShutdownTimeout time.Duration
StructuredLogging bool
DebugDumpRequests bool
AllowEmailToDomains []string
}
Config is the struct that holds configuration values
Click to show internal directories.
Click to hide internal directories.