mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Move RendezvousMethod field to messages.Arg
This commit is contained in:
parent
26ceb6e20d
commit
dbecefa7d2
6 changed files with 45 additions and 40 deletions
|
@ -4,9 +4,18 @@ import (
|
|||
"errors"
|
||||
)
|
||||
|
||||
type RendezvousMethod string
|
||||
|
||||
const (
|
||||
RendezvousHttp RendezvousMethod = "http"
|
||||
RendezvousAmpCache RendezvousMethod = "ampcache"
|
||||
RendezvousSqs RendezvousMethod = "sqs"
|
||||
)
|
||||
|
||||
type Arg struct {
|
||||
Body []byte
|
||||
RemoteAddr string
|
||||
Body []byte
|
||||
RemoteAddr string
|
||||
RendezvousMethod RendezvousMethod
|
||||
}
|
||||
|
||||
var (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue