Get rid of legacy version

Move the logic for the legacy version into the http handlers and use a
shim when doing ipc.
This commit is contained in:
Arlo Breault 2021-06-03 17:04:58 -04:00
parent 7880b5ca80
commit 0ef2250280
3 changed files with 53 additions and 49 deletions

View file

@ -7,12 +7,9 @@ import (
type Arg struct {
Body []byte
RemoteAddr string
NatType string
}
var (
ErrBadRequest = errors.New("bad request")
ErrInternal = errors.New("internal error")
ErrUnavailable = errors.New("service unavailable")
ErrTimeout = errors.New("timeout")
ErrBadRequest = errors.New("bad request")
ErrInternal = errors.New("internal error")
)