Documentation ¶ Index ¶ type Handler func New(db storage.Storage, sub pubsub.Subscriber[pubsub.RequestEvent]) *Handler func (h *Handler) Handle(ctx context.Context, w http.ResponseWriter, r *http.Request, sID sID) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { // contains filtered or unexported fields } func New ¶ func New(db storage.Storage, sub pubsub.Subscriber[pubsub.RequestEvent]) *Handler func (*Handler) Handle ¶ func (h *Handler) Handle(ctx context.Context, w http.ResponseWriter, r *http.Request, sID sID) error Source Files ¶ View all Source files handler.go Click to show internal directories. Click to hide internal directories.