Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessConfig ¶ added in v0.2.1
type AccessLogMode ¶ added in v0.5.0
type AccessLogMode string
AccessLogMode selects how much of the per-request access log the server writes. The zero value logs every request, which is what operators got before the mode existed.
const ( AccessLogAll AccessLogMode = "all" AccessLogErrors AccessLogMode = "errors" AccessLogOff AccessLogMode = "off" )
type GitHubOAuthConfig ¶
type HomeLinkConfig ¶ added in v0.4.0
HomeLinkConfig points the workspace rail's home button somewhere other than the ClickClack landing page, for deployments that live inside a larger product. Values are validated by config.Config.ValidateServe before New; empty fields keep the built-in destination and label.
type OpenClawIDConfig ¶ added in v0.4.0
type OpenClawIDConfig struct {
ClientID string
ClientSecret string
Issuer string
PublicURL string
AuthURL string
TokenURL string
HTTPClient *http.Client
}
OpenClawIDConfig configures browser sign-in through the first-party OpenClaw ID OIDC provider (Better Auth OAuth 2.1 at id.openclaw.ai).
type Options ¶
type Options struct {
UploadDir string
UploadStorage uploadstore.Store
GitHubOAuth GitHubOAuthConfig
OpenClawID OpenClawIDConfig
Access AccessConfig
FrontendURL string
PublicAPIURL string
HomeLink HomeLinkConfig
EmbedFrameAncestors []string
CookieNames authpolicy.CookieNames
DisableDevAuth bool
PasswordAuthEnabled bool
PushNotifier PushNotifier
MetricsEnabled bool
AccessLog AccessLogMode
Environment string
Version string
Commit string
// contains filtered or unexported fields
}
type PushNotification ¶
type PushNotifier ¶
type PushNotifier interface {
Notify(ctx context.Context, notification PushNotification) error
}
type PushoverNotifier ¶
func NewPushoverNotifier ¶
func NewPushoverNotifier(token string) *PushoverNotifier
func (*PushoverNotifier) Notify ¶
func (p *PushoverNotifier) Notify(ctx context.Context, notification PushNotification) error
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CleanupPendingUploadObjects ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.