package ws_handler type Event interface { } type ClientEvent struct { Event Msg []byte } type PongEvent struct { Event }