nsq

package
Version: v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Nsqd         string        `config:"nsqd"`
	Topic        string        `config:"topic"`
	BulkMaxSize  int           `config:"bulk_max_size"`
	MaxRetries   int           `config:"max_retries"`
	WriteTimeout time.Duration `config:"write_timeout"`
	DialTimeout  time.Duration `config:"dial_timeout"`

	// If not enabled topic, while using original topic
	EnabledTopic bool `config:"enabled_topic"`
}

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL