Versions in this module Expand all Collapse all v1 v1.4.0 Sep 2, 2020 Changes in this version + const Version + var FileRx = regexp.MustCompile(`^.*\.(ico|css|js|svg|gif|jpe?g|png|html?)$`) + type Config struct + Addr string + CacheDuration string + CertFile string + Compress bool + IndexFile string + KeyFile string + RouteMode RouteMode + StaticDir string + type Logger interface + Error func(args ...interface{}) + Errorf func(format string, args ...interface{}) + Fatal func(args ...interface{}) + Fatalf func(format string, args ...interface{}) + Info func(args ...interface{}) + Infof func(format string, args ...interface{}) + Warning func(args ...interface{}) + Warningf func(format string, args ...interface{}) + type RouteMode string + const RouteModeRegex + const RouteModeStat + const RouteModeStatic + type Seiteki struct + func New(config *Config) (*Seiteki, error) + func (server *Seiteki) IsStaticFile(path []byte) bool + func (server *Seiteki) ListenAndServeBlocking() error + func (server *Seiteki) RequestHandler(ctx *fasthttp.RequestCtx) + func (server *Seiteki) SetLogger(logger Logger)