blob: 29d67771a85b4e73aa1a5171d8b6e6d43771aa6c (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
|
package memory
import "github.com/spiral/roadrunner/v2/plugins/broadcast"
type Driver struct {
}
func NewInMemoryDriver() broadcast.Subscriber {
b := &Driver{
}
return b
}
func (d *Driver) Serve() error {
panic("implement me")
}
func (d *Driver) Stop() {
panic("implement me")
}
func (d *Driver) Subscribe(upstream chan *broadcast.Message, topics ...string) error {
panic("implement me")
}
func (d *Driver) SubscribePattern(upstream chan *broadcast.Message, pattern string) error {
panic("implement me")
}
func (d *Driver) Unsubscribe(upstream chan *broadcast.Message, topics ...string) error {
panic("implement me")
}
func (d *Driver) UnsubscribePattern(upstream chan *broadcast.Message, pattern string) error {
panic("implement me")
}
func (d *Driver) Publish(messages ...*broadcast.Message) error {
panic("implement me")
}
|