waku-org/go-waku

View on GitHub
waku/v2/api/publish/common.go

Summary

Maintainability
A
0 mins
Test Coverage
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