Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseEmbedFrameAncestors ¶ added in v0.2.1
ParseEmbedFrameAncestors parses the comma- or whitespace-separated format accepted by CLICKCLACK_EMBED_FRAME_ANCESTORS and --embed-frame-ancestors.
Types ¶
type Config ¶
type Config struct {
Addr string `json:"addr"`
Data string `json:"data"`
DB string `json:"db"`
Uploads string `json:"uploads"`
Environment string `json:"environment"`
MetricsEnabled bool `json:"metrics_enabled"`
PublicURL string `json:"public_url"`
PublicAPIURL string `json:"public_api_url"`
EmbedFrameAncestors []string `json:"embed_frame_ancestors"`
CookieNamespace string `json:"cookie_namespace"`
DevBootstrap bool `json:"dev_bootstrap"`
GitHubClientID string `json:"github_client_id"`
GitHubClientSecret string `json:"github_client_secret"`
GitHubAllowedOrg string `json:"github_allowed_org"`
GitHubModeratorOrg string `json:"github_moderator_org"`
AccessTeamDomain string `json:"access_team_domain"`
AccessAUD string `json:"access_aud"`
PushoverAPIToken string `json:"pushover_api_token"`
R2AccountID string `json:"r2_account_id"`
R2AccessKeyID string `json:"r2_access_key_id"`
R2SecretAccessKey string `json:"r2_secret_access_key"`
R2Endpoint string `json:"r2_endpoint"`
}
func (*Config) ValidateServe ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.