mirror of
https://github.com/status-im/go-waku.git
synced 2025-02-06 19:03:36 +00:00
10 lines
237 B
Go
10 lines
237 B
Go
package publish
|
|
|
|
import (
|
|
"github.com/waku-org/go-waku/waku/v2/protocol"
|
|
"go.uber.org/zap"
|
|
)
|
|
|
|
// PublishFn represents a function that will publish a message.
|
|
type PublishFn = func(envelope *protocol.Envelope, logger *zap.Logger) error
|