{"modulePath":"github.com/stack1ng/tls-client","version":"v0.0.0-20240712050934-af42be0241ac","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Types\n\n```go\ntype TlsApiResponse struct {\n\tIP          string `json:\"ip\"`\n\tHTTPVersion string `json:\"http_version\"`\n\tMethod      string `json:\"method\"`\n\tTLS         struct {\n\t\tCiphers    []string `json:\"ciphers\"`\n\t\tExtensions []struct {\n\t\t\tName                       string      `json:\"name\"`\n\t\t\tServerName                 string      `json:\"server_name,omitempty\"`\n\t\t\tData                       string      `json:\"data,omitempty\"`\n\t\t\tSupportedGroups            []string    `json:\"supported_groups,omitempty\"`\n\t\t\tEllipticCurvesPointFormats interface{} `json:\"elliptic_curves_point_formats,omitempty\"`\n\t\t\tProtocols                  []string    `json:\"protocols,omitempty\"`\n\t\t\tStatusRequest              struct {\n\t\t\t\tCertificateStatusType   string `json:\"certificate_status_type\"`\n\t\t\t\tResponderIDListLength   int    `json:\"responder_id_list_length\"`\n\t\t\t\tRequestExtensionsLength int    `json:\"request_extensions_length\"`\n\t\t\t} `json:\"status_request,omitempty\"`\n\t\t\tSignatureAlgorithms []string `json:\"signature_algorithms,omitempty\"`\n\t\t\tSharedKeys          []struct {\n\t\t\t\tTLSGrease0X7A7A string `json:\"TLS_GREASE (0x7a7a),omitempty\"`\n\t\t\t\tX2551929        string `json:\"X25519 (29),omitempty\"`\n\t\t\t} `json:\"shared_keys,omitempty\"`\n\t\t\tPskKeyExchangeMode string   `json:\"PSK_Key_Exchange_Mode,omitempty\"`\n\t\t\tVersions           []string `json:\"versions,omitempty\"`\n\t\t\tAlgorithms         []string `json:\"algorithms,omitempty\"`\n\t\t\tPaddingDataLength  int      `json:\"padding_data_length,omitempty\"`\n\t\t} `json:\"extensions\"`\n\t\tTLSVersionRecord     string `json:\"tls_version_record\"`\n\t\tTLSVersionNegotiated string `json:\"tls_version_negotiated\"`\n\t\tJa3                  string `json:\"ja3\"`\n\t\tJa3Hash              string `json:\"ja3_hash\"`\n\t\tClientRandom         string `json:\"client_random\"`\n\t\tSessionID            string `json:\"session_id\"`\n\t} `json:\"tls\"`\n\tHTTP2 struct {\n\t\tAkamaiFingerprint     string `json:\"akamai_fingerprint\"`\n\t\tAkamaiFingerprintHash string `json:\"akamai_fingerprint_hash\"`\n\t\tSentFrames            []struct {\n\t\t\tFrameType string   `json:\"frame_type\"`\n\t\t\tLength    int      `json:\"length\"`\n\t\t\tSettings  []string `json:\"settings,omitempty\"`\n\t\t\tIncrement int      `json:\"increment,omitempty\"`\n\t\t\tStreamID  int      `json:\"stream_id,omitempty\"`\n\t\t\tHeaders   []string `json:\"headers,omitempty\"`\n\t\t\tFlags     []string `json:\"flags,omitempty\"`\n\t\t\tPriority  struct {\n\t\t\t\tWeight    int `json:\"weight\"`\n\t\t\t\tDependsOn int `json:\"depends_on\"`\n\t\t\t\tExclusive int `json:\"exclusive\"`\n\t\t\t} `json:\"priority,omitempty\"`\n\t\t} `json:\"sent_frames\"`\n\t} `json:\"http2\"`\n\tHTTP1 struct {\n\t\tHeaders []string `json:\"headers\"`\n\t} `json:\"http1\"`\n}\n```\n\n","path":"github.com/stack1ng/tls-client/example","name":"main","synopsis":"","isRedistributable":true}
