Imports github.com/gorilla/websocket github.com/mroth/weightedrand Standard library imports crypto/tls encoding/json fmt log math/rand os reflect strings time