mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
add models
This commit is contained in:
parent
ea9aa3f8ec
commit
e5fcc0d3ee
1 changed files with 7 additions and 0 deletions
7
src/croc/models.go
Normal file
7
src/croc/models.go
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
package croc
|
||||||
|
|
||||||
|
type WebSocketMessage struct {
|
||||||
|
messageType int
|
||||||
|
message []byte
|
||||||
|
err error
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue