()
| 286 | } |
| 287 | |
| 288 | func (s socket) buildCipherKey() [16]byte { |
| 289 | key := [16]byte{} |
| 290 | now := strconv.FormatInt(time.Now().Unix()/100, 10) |
| 291 | |
| 292 | copy(key[:], getSocketAuthKey(now, s.privateKey())) |
| 293 | |
| 294 | return key |
| 295 | } |
| 296 | |
| 297 | func (s socket) Get( |
| 298 | w http.ResponseWriter, r *http.Request, l log.Logger) error { |
no test coverage detected