Versions in this module Expand all Collapse all v0 v0.0.1 Dec 24, 2025 Changes in this version + type Handler struct + func NewHandler(memory *action.Memory) *Handler + func (h *Handler) Add(w http.ResponseWriter, r *http.Request) + func (h *Handler) Delete(w http.ResponseWriter, r *http.Request) + func (h *Handler) Health(w http.ResponseWriter, r *http.Request) + func (h *Handler) RegisterRoutes(mux *http.ServeMux) + func (h *Handler) Retrieve(w http.ResponseWriter, r *http.Request) + type Response struct + Data any + Error string + Success bool + type Server struct + func NewServer(memory *action.Memory, config ServerConfig) *Server + func (s *Server) Shutdown(ctx context.Context) error + func (s *Server) Start() error + type ServerConfig struct + Host string + Port int + ReadTimeout time.Duration + WriteTimeout time.Duration + func DefaultServerConfig() ServerConfig