You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nnet/config/ws.go

13 lines
243 B
Go

package config
type (
WSEvent struct {
// PingHandler Ping
PingHandler func(appData string)
// PongHandler Pong
PongHandler func(appData string)
// CloseHandler Close
CloseHandler func(closeCode int, closeText string) error
}
)