xtest

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service struct for xtest

func New

func New(redisClient *redis.Client, postgresClient *sql.DB, nsqProducerClient *nsq.Producer) *Service

New xtest service

func (*Service) TestNSQDefaultAddr

func (s *Service) TestNSQDefaultAddr() (string, error)

TestNSQDefaultAddr runs the test for redis backend

func (*Service) TestNSQNewAddr

func (s *Service) TestNSQNewAddr(addr string) (string, error)

TestNSQNewAddr runs the test for redis backend

func (*Service) TestPostgresDefaultDSN

func (s *Service) TestPostgresDefaultDSN() (string, error)

TestPostgresDefaultDSN runs the test for redis backend

func (*Service) TestPostgresNewDSN

func (s *Service) TestPostgresNewDSN(dsn string) (string, error)

TestPostgresNewDSN runs the test for redis backend

func (*Service) TestRedisDefaultAddr

func (s *Service) TestRedisDefaultAddr() (string, error)

TestRedis runs the test for redis backend

func (*Service) TestRedisNewAddr

func (s *Service) TestRedisNewAddr(addr string) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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