()
| 163 | ) |
| 164 | |
| 165 | func (ct clientTyp) String() string { |
| 166 | switch ct { |
| 167 | case fhttp: |
| 168 | return "FastHTTP" |
| 169 | case nhttp1: |
| 170 | return "net/http v1.x" |
| 171 | case nhttp2: |
| 172 | return "net/http v2.0" |
| 173 | } |
| 174 | return "unknown client" |
| 175 | } |
no outgoing calls