Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Site ¶
type Site struct {
// contains filtered or unexported fields
}
Site is the main package of this website.
func (*Site) CreateServer ¶
func (s *Site) CreateServer(logger logrus.FieldLogger, mailerFactory func() (mailer.Mailer, error)) *server.Server
CreateServer creates the server instance with all middlewares and pages.
func (*Site) Logger ¶
func (s *Site) Logger() logrus.FieldLogger
Logger creates the configured logger for the site.
Click to show internal directories.
Click to hide internal directories.