Versions in this module Expand all Collapse all v1 v1.1.0 Jul 29, 2021 Changes in this version + type Config struct + RunMode string + ServerName string + type CorsConfig = cors.Config + type Option func(router *Router) + func Area(use bool) Option + func Cors(config CorsConfig) Option + func HTMLGlod(pattern string) Option + func StaticFs(path string) Option + type Router struct + func New(opts ...Option) *Router + func (r *Router) Assign(service ...service.IBaseService) *Router + func (r *Router) Startup(config *Config)