config

package
v0.0.0-...-25e85bb Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	LookupDaemons: []string{"127.0.0.1:4161"},
	Topic:         "topicname",
	Channel:       "channelname",
	MaxInFlight:   200,
	Codec:         "json",
	Type:          "nsqbeat",
	Timelayout:    "2006-01-02T15:04:05.000Z",
}

Functions

This section is empty.

Types

type Config

type Config struct {
	LookupDaemons []string `config:"lookupdhttpaddrs"`
	Topic         string   `config:"topic"`
	Channel       string   `config:"channel"`
	MaxInFlight   int      `config:"maxinflight"`
	Codec         string   `config:"codec"`
	Type          string   `config:"type"`
	Timelayout    string   `config:"timelayout"`
}

Jump to

Keyboard shortcuts

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