Versions in this module Expand all Collapse all v1 v1.0.0 Aug 6, 2026 Changes in this version + var ErrClosed = errors.New("server closed") + type Options struct + Addr string + AllowedIPs []string + Cache *cache.Memory + DatabaseType string + IPCheck bool + Logger *zap.Logger + ReadOnly bool + Store store.Store + Token string + type Server struct + func New(opts Options) *Server + func (s *Server) ListenAndServe() error + func (s *Server) Shutdown(ctx context.Context) error