Documentation ¶
Index ¶
- func Connect(ctx context.Context, req *logic.ConnectReq) (memberId uint64, key, roomId string, accepts []int32, hb time.Duration, ...)
- func Disconnect(ctx context.Context, req *logic.DisconnectReq) (err error)
- func Heartbeat(ctx context.Context, req *logic.HeartbeatReq) (err error)
- func Init(etcdClient *clientv3.Client)
- func Receive(ctx context.Context, req *logic.ReceiveReq) (m *protocol.Message, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disconnect ¶
func Disconnect(ctx context.Context, req *logic.DisconnectReq) (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.