sns

package
v0.0.0-...-2b6d021 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoTopicProvided = errors.New("topic can not be empty")
)

Functions

This section is empty.

Types

type Publisher

type Publisher struct {
	Topic  string
	Buffer []byte
	// contains filtered or unexported fields
}

func NewPublisher

func NewPublisher() *Publisher

func (*Publisher) Close

func (s *Publisher) Close() error

func (*Publisher) Send

func (s *Publisher) Send(data []byte) error

Jump to

Keyboard shortcuts

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