Browse Source

fix messageSentHandlerBinary initilization

master
Ola Holmström 8 years ago
parent
commit
e5f177a9d7
  1. 1
      melody.go

1
melody.go

@ -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) {},

Loading…
Cancel
Save