Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpsDistributor ¶
type HttpsDistributor struct {
// contains filtered or unexported fields
}
HttpsDistributor contains all the context that the distributor needs to run.
func (*HttpsDistributor) Init ¶
func (d *HttpsDistributor) Init(cfg *internal.Config)
Init initialises the given HTTPS distributor.
func (*HttpsDistributor) RequestBridges ¶
func (d *HttpsDistributor) RequestBridges(opts RequestBridgesOptions) ([]string, error)
RequestBridges takes as tpe the type of the bridge requested, ip as the IP of the client, and ipv6 as whether IPv6 bridge is requested. and return a slice of bridge lines.
func (*HttpsDistributor) Shutdown ¶
func (d *HttpsDistributor) Shutdown()
Shutdown shuts down the given HTTPS distributor.
Click to show internal directories.
Click to hide internal directories.