gosocketio/vendor/github.com/googollee/go-socket.io/engineio/session/base.go

16 lines
291 B
Go
Raw Permalink Normal View History

2023-11-30 17:38:20 +08:00
package session
import (
"github.com/googollee/go-socket.io/engineio/frame"
)
// FrameType is type of a message frame.
type FrameType frame.Type
const (
// TEXT is text type message.
TEXT = FrameType(frame.String)
// BINARY is binary type message.
BINARY = FrameType(frame.Binary)
)