package
1.0.10
Repository: https://github.com/adam-p/psiphon-tunnel-core.git
Documentation: pkg.go.dev

# Functions

AddSpeedTestSample stores a new speed test sample.
FetchTactics performs a tactics request.
GenerateKeys generates a tactics request key pair and obfuscation key.
HandleTacticsPayload updates the stored tactics with the given payload.
MakeSpeedTestResponse creates a speed test response prefixed with a timestamp and followed by random padding.
NewListener creates a new Listener.
NewServer creates Server using the specified tactics configuration file.
SetTacticsAPIParameters populates apiParams with the additional parameters for tactics.
UseStoredTactics checks for an unexpired stored tactics record for the given network ID that may be used immediately.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

Filter defines a filter to match against client attributes.
Listener wraps a net.Listener and applies server-side implementation of certain tactics parameters to accepted connections.
Payload is the data to be returned to the client in response to a tactics request or in the handshake response.
Range is a filter field which specifies that the aggregation of the a client attribute is within specified upper and lower bounds.
Record is the tactics data persisted by the client.
Server is a tactics server to be integrated with the Psiphon server meek and handshake components.
SpeedTestSample is speed test data for a single RTT event.
Tactics is the core tactics data.

# Interfaces

Storer provides a facility to persist tactics and speed test data.

# Type aliases

RoundTripper performs a round trip to the specified endpoint, sending the request body and returning the response body.