refactor project structure

This commit is contained in:
hdt3213
2021-05-02 14:54:42 +08:00
parent bb9c140653
commit f29298cc68
78 changed files with 140 additions and 140 deletions

11
interface/redis/client.go Normal file
View File

@@ -0,0 +1,11 @@
package redis
type Connection interface {
Write([]byte) error
// client should keep its subscribing channels
SubsChannel(channel string)
UnSubsChannel(channel string)
SubsCount() int
GetChannels() []string
}