nsq

package
v0.0.0-...-270babc Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Xtest

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

Xtest for postgresql

func New

func New(producer *nsq.Producer) *Xtest

New client for postgres xtest backend

func (*Xtest) TestPingDefaultAddr

func (x *Xtest) TestPingDefaultAddr() (string, error)

TestPingDefaultAddr ping postgres backend

func (*Xtest) TestPingNewAddr

func (x *Xtest) TestPingNewAddr(addr string) (string, error)

TestPingNewAddr ping nsqd backend e.g. addr: "127.0.0.1:4150"

Jump to

Keyboard shortcuts

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