wpub

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPublisher

func NewPublisher(config *Config, topic string) (publisher.Publisher, error)

Types

type Config

type Config struct {
	LoggerDebug bool `env:"REDIS_PUB_LOGGER_DEBUG,notEmpty" envdefault:"false"`
	LoggerTrace bool `env:"REDIS_PUB_LOGGER_TRACE,notEmpty" envdefault:"false"`
}

func NewConfig

func NewConfig() (*Config, error)

Jump to

Keyboard shortcuts

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