codec: provide proto for codec.Frame

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-03-11 07:42:42 +03:00
parent c84a66c713
commit 610427445f
3 changed files with 34 additions and 5 deletions

6
codec/frame.go Normal file
View File

@@ -0,0 +1,6 @@
package codec
// Frame gives us the ability to define raw data to send over the pipes
type Frame struct {
Data []byte
}