1 2 3 4 5 6 7 8 9 10
module websocket // error_code returns the error code fn error_code() int { return C.errno } const ( error_ewouldblock = C.EWOULDBLOCK // blocking error code )