{"modulePath":"github.com/Mathious6/httpkit","version":"v0.0.0-20250723215844-55768b698fa7","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\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\tCiphers              []string `json:\"ciphers\"`\n\t\tExtensions           []struct {\n\t\t\tEllipticCurvesPointFormats interface{} `json:\"elliptic_curves_point_formats,omitempty\"`\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\tPskKeyExchangeMode         string      `json:\"PSK_Key_Exchange_Mode,omitempty\"`\n\t\t\tSupportedGroups            []string    `json:\"supported_groups,omitempty\"`\n\t\t\tProtocols                  []string    `json:\"protocols,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\tVersions      []string `json:\"versions,omitempty\"`\n\t\t\tAlgorithms    []string `json:\"algorithms,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\tPaddingDataLength int `json:\"padding_data_length,omitempty\"`\n\t\t} `json:\"extensions\"`\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\tSettings  []string `json:\"settings,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\tLength    int `json:\"length\"`\n\t\t\tIncrement int `json:\"increment,omitempty\"`\n\t\t\tStreamID  int `json:\"stream_id,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```go\ntype TlsBrowserleaksResponse struct {\n\tUserAgent  string `json:\"user_agent\"`\n\tJa3Hash    string `json:\"ja3_hash\"`\n\tJa3Text    string `json:\"ja3_text\"`\n\tJa3NHash   string `json:\"ja3n_hash\"`\n\tJa3NText   string `json:\"ja3n_text\"`\n\tJa4        string `json:\"ja4\"`\n\tJa4R       string `json:\"ja4_r\"`\n\tJa4O       string `json:\"ja4_o\"`\n\tJa4Ro      string `json:\"ja4_ro\"`\n\tAkamaiHash string `json:\"akamai_hash\"`\n\tAkamaiText string `json:\"akamai_text\"`\n\tTLS        struct {\n\t\tCipherSuite []struct {\n\t\t\tName  string `json:\"name\"`\n\t\t\tValue int    `json:\"value\"`\n\t\t} `json:\"cipher_suite\"`\n\t\tConnectionVersion []struct {\n\t\t\tName  string `json:\"name\"`\n\t\t\tValue int    `json:\"value\"`\n\t\t} `json:\"connection_version\"`\n\t\tRecordVersion []struct {\n\t\t\tName  string `json:\"name\"`\n\t\t\tValue int    `json:\"value\"`\n\t\t} `json:\"record_version\"`\n\t\tHandshakeVersion []struct {\n\t\t\tName  string `json:\"name\"`\n\t\t\tValue int    `json:\"value\"`\n\t\t} `json:\"handshake_version\"`\n\t\tCipherSuites []struct {\n\t\t\tName  string `json:\"name\"`\n\t\t\tValue int    `json:\"value\"`\n\t\t} `json:\"cipher_suites\"`\n\t\tExtensions []struct {\n\t\t\tName  string `json:\"name\"`\n\t\t\tValue int    `json:\"value\"`\n\t\t\tData  struct {\n\t\t\t\tSupportedVersions []struct {\n\t\t\t\t\tName  string `json:\"name\"`\n\t\t\t\t\tValue int    `json:\"value\"`\n\t\t\t\t} `json:\"supported_versions\"`\n\t\t\t} `json:\"data,omitempty\"`\n\t\t} `json:\"extensions\"`\n\t} `json:\"tls\"`\n\tHTTP2 []struct {\n\t\tType                string   `json:\"type\"`\n\t\tLength              int      `json:\"length\"`\n\t\tSettings            []string `json:\"settings,omitempty\"`\n\t\tWindowSizeIncrement int      `json:\"window_size_increment,omitempty\"`\n\t\tStreamID            int      `json:\"stream_id,omitempty\"`\n\t\tHeaders             []string `json:\"headers,omitempty\"`\n\t\tFlags               []string `json:\"flags,omitempty\"`\n\t\tPriority            struct {\n\t\t\tWeight    int `json:\"weight\"`\n\t\t\tDepID     int `json:\"dep_id\"`\n\t\t\tExclusive int `json:\"exclusive\"`\n\t\t} `json:\"priority,omitempty\"`\n\t} `json:\"http2\"`\n}\n```\n\n","path":"github.com/Mathious6/httpkit/example","name":"main","synopsis":"","isRedistributable":true}
