Handler: add NewMapped, AddMapped

The Handler now supports serving multiple packfiles, possibly with
different prefixes. Precedence is given by order in which packfiles are
registered.
This commit is contained in:
Laurence Withers 2026-06-06 11:07:03 +01:00
commit 5b8873a4f5
3 changed files with 149 additions and 36 deletions

1
go.mod
View file

@ -3,6 +3,7 @@ module src.lwithers.me.uk/go/htpack
go 1.25.0
require (
github.com/google/go-cmp v0.7.0
golang.org/x/sys v0.45.0
google.golang.org/protobuf v1.36.11
)