Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
Option is the function signature required to be considered an pubsub.Option.
func WithConsumerAddress ¶
func WithWalletSeed ¶
type Protocol ¶
type Protocol struct { // Sender SenderAccount string SenderClient *nkn.Client // // Consumer ConsumerAddress string }
func New ¶
func New(seed string, consumerAdress string, opts ...ProtocolOptionFunc) (*Protocol, error)
New creates a new nkn transport
func NewProtocol ¶
func NewProtocol(ctx context.Context, opts ...ProtocolOptionFunc) (*Protocol, error)
NewProtocol creates a new nkn transport.
type ProtocolOptionFunc ¶
type ProtocolOptionFunc func(protocol *Protocol)
ProtocolOptionFunc is the type of kafka_sarama.Protocol options
type SenderOptionFunc ¶
type SenderOptionFunc func(sender *Sender)
Click to show internal directories.
Click to hide internal directories.