mirror of
https://github.com/wisplite/tether.git
synced 2026-05-01 06:22:41 -05:00
initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package reactivity
|
||||
|
||||
import "github.com/gorilla/websocket"
|
||||
|
||||
type Subscription struct {
|
||||
ID string
|
||||
Conn *websocket.Conn
|
||||
}
|
||||
|
||||
type Channel struct {
|
||||
ID string
|
||||
Subscriptions []*Subscription
|
||||
}
|
||||
Reference in New Issue
Block a user