Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessConfig ¶ added in v0.2.1
type GitHubOAuthConfig ¶
type Options ¶
type Options struct {
UploadDir string
UploadStorage uploadstore.Store
GitHubOAuth GitHubOAuthConfig
Access AccessConfig
FrontendURL string
PublicAPIURL string
EmbedFrameAncestors []string
CookieNames authpolicy.CookieNames
DisableDevAuth bool
PushNotifier PushNotifier
MetricsEnabled bool
Environment string
Version string
Commit string
}
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.