12 lines
248 B
Go
12 lines
248 B
Go
package topic
|
|
|
|
import (
|
|
"github.com/go-stomp/stomp/v3/frame"
|
|
)
|
|
|
|
// Subscription is the interface that wraps a subscriber to a topic.
|
|
type Subscription interface {
|
|
// Send a message frame to the topic subscriber.
|
|
SendTopicFrame(f *frame.Frame)
|
|
}
|