blob: 80527e4bc2f6dfa4d014956fa16f36680bf32338 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package memory
import (
"github.com/spiral/roadrunner/v2/plugins/broadcast"
)
type Driver struct {
}
func NewInMemoryDriver() broadcast.Storage {
b := &Driver{}
return b
}
func (d *Driver) Store(uuid string, topics ...string) {
panic("implement me")
}
func (d *Driver) StorePattern(uuid string, pattern string) {
panic("implement me")
}
func (d *Driver) GetConnection(pattern string) []string {
panic("implement me")
}
func (d *Driver) Construct(key string) (broadcast.Storage, error) {
return nil, nil
}
|