Documentation ¶
Index ¶
- type Service
- func (s *Service) TestNSQDefaultAddr() (string, error)
- func (s *Service) TestNSQNewAddr(addr string) (string, error)
- func (s *Service) TestPostgresDefaultDSN() (string, error)
- func (s *Service) TestPostgresNewDSN(dsn string) (string, error)
- func (s *Service) TestRedisDefaultAddr() (string, error)
- func (s *Service) TestRedisNewAddr(addr string) (string, error)
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 ¶
TestNSQDefaultAddr runs the test for redis backend
func (*Service) TestNSQNewAddr ¶
TestNSQNewAddr runs the test for redis backend
func (*Service) TestPostgresDefaultDSN ¶
TestPostgresDefaultDSN runs the test for redis backend
func (*Service) TestPostgresNewDSN ¶
TestPostgresNewDSN runs the test for redis backend
func (*Service) TestRedisDefaultAddr ¶
TestRedis runs the test for redis backend
Click to show internal directories.
Click to hide internal directories.