Cloak/internal/multiplex/frame.go

15 lines
155 B
Go
Raw Normal View History

2018-10-05 22:44:20 +00:00
package multiplex
2019-11-03 20:28:43 +00:00
const (
C_NOOP = iota
C_STREAM
C_SESSION
)
2018-10-05 22:44:20 +00:00
type Frame struct {
2018-10-27 22:35:46 +00:00
StreamID uint32
Seq uint64
Closing uint8
2018-10-27 22:35:46 +00:00
Payload []byte
2018-10-05 22:44:20 +00:00
}