Versions in this module Expand all Collapse all v1 v1.0.0 Aug 6, 2026 Changes in this version + const Version + var ErrClosed = errors.New("server closed") + type Options struct + Addr string + DatabaseType string + Logger *zap.Logger + Mount func(*http.ServeMux) + Store store.Store + type Server struct + func New(opts Options) *Server + func (s *Server) ListenAndServe() error + func (s *Server) Shutdown(ctx context.Context) error