Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Name string
Version string
BuildInfo string
Brand string
Domain string
RedirectToHTTPS bool
Headers map[string]string
XSRFCookieName string
SessionCookieName string
AssetsDir string
StaticDir string
TemplatesDir string
StorageDir string
MaintenanceFilename string
GoogleAnalyticsID string
RememberMeDays int
DefaultFrom string
ContactRecipientEmail string
ACMEDirectoryURL string
ACMEDirectoryURLStaging string
SkipDomainVerification bool
VerificationSubdomain string
ForbiddenDomains []string
TLSEnabled bool
EmailService email.Service
RecoveryService recovery.Service
SessionService session.Service
UserService user.Service
NotificationService notification.Service
CertificateService certificate.Service
PackagesService packages.Service
}
Options structure contains optional properties for the Server.
type ServeOptions ¶
type ServeOptions struct {
Listen string
ListenTLS string
ListenInternal string
ListenInternalTLS string
TLSKey string
TLSCert string
}
ServeOptions structure contains options for HTTP servers when invoking Server.Serve.
type Server ¶
type Server struct {
Options
// contains filtered or unexported fields
}
Server contains all required properties, services and functions to provide core functionality.
func (*Server) Serve ¶
func (s *Server) Serve(o ServeOptions) error
Serve starts HTTP servers based on provided ServeOptions properties.
Source Files
¶
- 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_contact.go
- feapi_notification.go
- feapi_packages.go
- feapi_user.go
- handlers.go
- handlers_acme.go
- handlers_data.go
- handlers_maintenance.go
- server.go
- templates.go
- templates_functions.go
- templates_render.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.