summaryrefslogtreecommitdiff
path: root/plugins/broadcast/memory/driver.go
blob: 2eb45c8e4198d9f1d4b7c86b6ab44c421d799f9c (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
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")
}