Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Obfs4ClientInit ¶
Obfs4ClientInit initializes the obfs4 client
Types ¶
type Node ¶
type Node struct {
Addr string // ag: I'm guessing this is used like ip:port
Host string // ... but then this is redundant
Protocol string // obfs4 in this case
Values url.Values // contains the cert and iat-mode parameters
// contains filtered or unexported fields
}
Node is a proxy node, that can be used to construct a proxy chain.
func NewNodeFromURI ¶
NewNodeNewNodeFromURI returns a configured proxy node. It accepts a string with all the parameters needed to establish a connection to the obfs4 proxy, in the form: obfs4://<ip>:<port>?cert=<deadbeef>&iat-mode=<int>
Click to show internal directories.
Click to hide internal directories.