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:
parent
5bece326fb
commit
5b8873a4f5
3 changed files with 149 additions and 36 deletions
1
go.mod
1
go.mod
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue