Versions in this module Expand all Collapse all v0 v0.23.2 Jan 18, 2026 v0.23.1 Jan 18, 2026 Changes in this version + type Option func(*Server) + func WithPort(port int) Option + func WithStore(st *store.Store) Option + type RequestLogEntry struct + Body string + Method string + Path string + Timestamp time.Time + type Server struct + func NewServer(opts ...Option) *Server + func (s *Server) ErrorInjector() *injection.ErrorInjector + func (s *Server) GetRequestCount(pathPrefix string) int + func (s *Server) GetRequestLog() []RequestLogEntry + func (s *Server) Reset() + func (s *Server) Start() error + func (s *Server) StartAsync() error + func (s *Server) Stop(ctx context.Context) error + func (s *Server) Store() *store.Store + func (s *Server) URL() string