Versions in this module Expand all Collapse all v0 v0.1.0 Jul 29, 2026 Changes in this version + type ClientAPI interface + AddLink func(linkValue, outputDir string) (ed2k.TransferHandle, string, error) + PauseTransfer func(hash protocol.Hash) error + RemoveTransfer func(hash protocol.Hash, deleteFile bool) error + ResumeTransfer func(hash protocol.Hash) error + Status func() ed2k.ClientStatus + TransferSnapshots func() []ed2k.TransferSnapshot + type Handler struct + Client ClientAPI + DefaultOutDir string + Pass string + User string + func NewHandler(client ClientAPI, defaultOutDir, user, pass string) *Handler + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)