Versions in this module Expand all Collapse all v1 v1.9.18 Jun 18, 2024 v1.9.15 Jun 17, 2024 Changes in this version + const ExtensionDefault + const ExtensionFieldName + const IndexLayoutPathDefault + const IndexLayoutPathFieldName + const TemplateRootDirectoryDefault + const TemplateRootDirectoryFieldName + const UseCacheDefault + const UseCacheFieldName + var Component = &app.Component + func New(config *Config, informer logger.Informer) *goview.ViewEngine + func NewWithConfigurator(config *Config, configurator configurator.Configurator, ...) *goview.ViewEngine + type Config struct + Extension string + IndexLayoutPath string + TemplateRootDirectory string + UseCache bool + func Configuration(config *Config, configurator configurator.Configurator) *Config + func NewConfig() *Config + type ReConfiguration struct + func NewReConfiguration(templater Templater, informer logger.Informer, config *Config) *ReConfiguration + func NewReConfigurationWithConfigurator(config *Config, configurator configurator.Configurator, ...) *ReConfiguration + func (reConfiguration *ReConfiguration) ReConfiguration(configurator configurator.Configurator) error + func (reConfiguration *ReConfiguration) Render(w http.ResponseWriter, statusCode int, name string, data interface{}) error + func (reConfiguration *ReConfiguration) RenderWriter(w io.Writer, name string, data interface{}) error + type Templater interface + Render func(w http.ResponseWriter, statusCode int, name string, data interface{}) error + RenderWriter func(w io.Writer, name string, data interface{}) error