Documentation
¶
Overview ¶
Package telegram contains the Telegram network experiment. This file in particular is a pure-Go implementation of that.
See https://github.com/ooni/spec/blob/master/nettests/ts-020-telegram.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExperiment ¶
func NewExperiment( sess *session.Session, config Config, ) *experiment.Experiment
NewExperiment creates a new experiment.
Types ¶
type TestKeys ¶ added in v0.3.0
type TestKeys struct {
Requests oodatamodel.RequestList `json:"requests"`
TCPConnect oodatamodel.TCPConnectList `json:"tcp_connect"`
TelegramHTTPBlocking bool `json:"telegram_http_blocking"`
TelegramTCPBlocking bool `json:"telegram_tcp_blocking"`
TelegramWebFailure *string `json:"telegram_web_failure"`
TelegramWebStatus string `json:"telegram_web_status"`
}
TestKeys contains telegram test keys.
Click to show internal directories.
Click to hide internal directories.