Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { TemplatesPath string RenderTimeout time.Duration ServerHost string ServerPort int ViewportHeight int ViewportWidth int }
func ParseConfig ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(config Config, templateService business.TemplateService, engine data.TemplateEngine, reportService business.ReportService) *Server
Click to show internal directories.
Click to hide internal directories.