16 lines
291 B
Go
16 lines
291 B
Go
|
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)
|
||
|
)
|