sender

package
v0.0.0-...-8f8ba8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

type Sender struct {
	Destination chan *message.Message
}

Sender represents a sender that can send messages

func NewSender

func NewSender(destination chan *message.Message) *Sender

NewSender creates a new sender

func (*Sender) Send

func (s *Sender) Send(message *message.Message)

Send sends a message to the destination

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL