mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
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:
parent
0ced1cc324
commit
87ad06a5e2
3 changed files with 53 additions and 49 deletions
|
@ -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")
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue