|
@ -44,6 +44,7 @@ func New() *Melody { |
|
|
messageHandler: func(*Session, []byte) {}, |
|
|
messageHandler: func(*Session, []byte) {}, |
|
|
messageHandlerBinary: func(*Session, []byte) {}, |
|
|
messageHandlerBinary: func(*Session, []byte) {}, |
|
|
messageSentHandler: func(*Session, []byte) {}, |
|
|
messageSentHandler: func(*Session, []byte) {}, |
|
|
|
|
|
messageSentHandlerBinary: func(*Session, []byte) {}, |
|
|
errorHandler: func(*Session, error) {}, |
|
|
errorHandler: func(*Session, error) {}, |
|
|
connectHandler: func(*Session) {}, |
|
|
connectHandler: func(*Session) {}, |
|
|
disconnectHandler: func(*Session) {}, |
|
|
disconnectHandler: func(*Session) {}, |
|
|