producer

package
v0.0.0-...-d5b0b98 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Producer

type Producer struct {
	// contains filtered or unexported fields
}

Producer is a server of the event

func New

func New(opts *options.Options) (*Producer, error)

New creates a new producer

func (*Producer) Start

func (s *Producer) Start() error

Start initialize some operations

func (*Producer) Stop

func (s *Producer) Stop() error

Stop stops the producer gracefully.

Directories

Path Synopsis
nsq
model
Code generated by sql2gorm.
Code generated by sql2gorm.

Jump to

Keyboard shortcuts

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