Versions in this module Expand all Collapse all v1 v1.0.0 Oct 16, 2020 Changes in this version + type DefaultServer struct + func (s *DefaultServer) Run() + func (s *DefaultServer) Serve(r *router.Router) + type IBaseServer interface + Run func() + func Default(options ...Option) IBaseServer + type Option func(server *DefaultServer) + func Addr(addr string) Option + func Env(env string) Option + func Name(name string) Option + func Registry(reg *service.Registry) Option + func Router(r *router.Router) Option + func RunMode(mode string) Option + func Startup(startup func(*DefaultServer) error) Option