Versions in this module Expand all Collapse all v1 v1.0.0 Nov 18, 2021 Changes in this version + type Banner struct + Enable bool + File string + Text string + Type string + type Config struct + Banner *Banner + Server *Server + Template *Template + func Default() *Config + func (yc *Config) Unmarshal(bytes []byte) error + type Server struct + Host string + IdleTimeout time.Duration + MaxHeaderSize int + Port int + ReadHeaderTimeout time.Duration + ReadTimeout time.Duration + TLS *TLS + WriteTimeout time.Duration + type TLS struct + CertFile string + Enable bool + KeyFile string + type Template struct + Cache bool + FuncMap t.FuncMap + Root string + Suffix string