Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailService ¶ added in v0.5.1
type EmailService interface { Notify(title, body string) error SendEmail(from string, to []string, subject string, body string) error }
EmailService defines interface for sending email messages.
type Options ¶
type Options struct { Name string Version string BuildInfo string Brand string Listen string ListenTLS string ListenInternal string ListenInternalTLS string TLSKey string TLSCert string Domain string Headers map[string]string SessionCookieName string AssetsDir string StaticDir string TemplatesDir string StorageDir string GoogleAnalyticsID string RememberMeDays int DefaultFrom string ContactRecipientEmail string ACMEDirectoryURL string ACMEDirectoryURLStaging string SkipDomainVerification bool VerificationSubdomain string TrustedDomains []string ForbiddenDomains []string APITrustedProxyCIDRs []string APIProxyRealIPHeader string APIHourlyRateLimit int APIEnabled bool Logger *logging.Logger AccessLogger *logging.Logger AuditLogger *logging.Logger PackageAccessLogger *logging.Logger EmailService EmailService RecoveryService *recovery.Service MaintenanceService *maintenance.Service SessionService session.Service UserService user.Service NotificationService notification.Service CertificateService certificate.Service PackagesService packages.Service KeyService key.Service GCRAStoreService gcrastore.Service }
Options structure contains server's configurable properties.
Source Files ¶
- api.go
- api_domains.go
- api_packages.go
- audit.go
- changelog.go
- context.go
- context_session.go
- context_user.go
- domain_verification.go
- email.go
- email_templates.go
- encryption.go
- fe.go
- fe_notification.go
- fe_packages.go
- fe_user.go
- feapi_acme.go
- feapi_api.go
- feapi_contact.go
- feapi_notification.go
- feapi_packages.go
- feapi_user.go
- handlers.go
- handlers_acme.go
- handlers_packages.go
- markdown.go
- routers.go
- routers_api.go
- routers_fe.go
- routers_feapi.go
- server.go
- templates.go
Directories ¶
Path | Synopsis |
---|---|
Package config holds project and service related data and structures that define optional parameters for different parts of the service.
|
Package config holds project and service related data and structures that define optional parameters for different parts of the service. |
Click to show internal directories.
Click to hide internal directories.