mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Updated proxyType variable name for readability
This commit is contained in:
parent
981abffbd9
commit
97554e03e4
5 changed files with 30 additions and 30 deletions
|
@ -78,11 +78,11 @@ type ProxyPollRequest struct {
|
|||
Type string
|
||||
}
|
||||
|
||||
func EncodePollRequest(sid string, ptype string) ([]byte, error) {
|
||||
func EncodePollRequest(sid string, proxyType string) ([]byte, error) {
|
||||
return json.Marshal(ProxyPollRequest{
|
||||
Sid: sid,
|
||||
Version: version,
|
||||
Type: ptype,
|
||||
Type: proxyType,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue