mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-27 05:15:47 +00:00
add concept of framing to net.tcp
This commit is contained in:
6
internals/framing/framer.go
Normal file
6
internals/framing/framer.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package framing
|
||||
|
||||
type Framer interface {
|
||||
Frame([]byte) [][]byte
|
||||
Clear()
|
||||
}
|
||||
Reference in New Issue
Block a user