Versions in this module Expand all Collapse all v0 v0.2.1 Mar 18, 2026 v0.2.0 Mar 17, 2026 Changes in this version + type Option func(*Server) + func WithBufferSize(n int) Option + func WithKeepAliveTimeout(d time.Duration) Option + func WithMaxConns(n int32) Option + func WithPollerNum(n int) Option + func WithReadTimeout(d time.Duration) Option + func WithWriteTimeout(d time.Duration) Option + type Server struct + Engine *engine.Engine + func NewServer(e *engine.Engine, opts ...Option) *Server + func (s *Server) Serve(addr string) error + func (s *Server) Shutdown(ctx context.Context) error