Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoHandler = errors.New("no handler found")
)
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
Send(ctx context.Context, targets trojan.Targets, topic trojan.Topic, payload []byte) error
Register(topic trojan.Topic, hndlr Handler)
GetHandler(topic trojan.Topic) Handler
TryUnwrap(ctx context.Context, c swarm.Chunk) error
WithPushSyncer(pushSyncer pushsync.PushSyncer)
}
Click to show internal directories.
Click to hide internal directories.