Init
This commit is contained in:
commit
f90fdc0598
99 changed files with 15260 additions and 0 deletions
18
service/service.go
Normal file
18
service/service.go
Normal file
|
@ -0,0 +1,18 @@
|
|||
package service
|
||||
|
||||
import (
|
||||
"cafe/types"
|
||||
)
|
||||
|
||||
type (
|
||||
WebSocketMsg struct {
|
||||
Type types.NotifierType `json:"type"`
|
||||
Payload []Order `json:"payload"`
|
||||
}
|
||||
)
|
||||
|
||||
var LiveCh chan WebSocketMsg
|
||||
|
||||
func Initialize() {
|
||||
LiveCh = make(chan WebSocketMsg)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue