Documentation
¶
Index ¶
Constants ¶
View Source
const MaxHomeLabelLength = 32
MaxHomeLabelLength bounds the label rendered on the workspace rail's home button; it is a short badge, not a title.
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"`
HomeURL string `json:"home_url"`
HomeLabel string `json:"home_label"`
EmbedFrameAncestors []string `json:"embed_frame_ancestors"`
CookieNamespace string `json:"cookie_namespace"`
DevBootstrap bool `json:"dev_bootstrap"`
PasswordAuthEnabled bool `json:"password_auth_enabled"`
GitHubClientID string `json:"github_client_id"`
GitHubClientSecret string `json:"github_client_secret"`
GitHubAllowedOrg string `json:"github_allowed_org"`
GitHubModeratorOrg string `json:"github_moderator_org"`
OpenClawIDClientID string `json:"openclaw_id_client_id"`
OpenClawIDClientSecret string `json:"openclaw_id_client_secret"`
OpenClawIDIssuer string `json:"openclaw_id_issuer"`
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.