neoneo-go/pkg/pubsub/sub.go
2019-02-25 22:44:14 +00:00

6 lines
81 B
Go

package pubsub
type Subscriber interface {
Topics() []EventType
Emit(Event)
}