healthchecks

package module
v0.0.0-...-f37c3b3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AMQPChecker

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

func (AMQPChecker) Check

func (checker AMQPChecker) Check() (bool, error)

type CassandraChecker

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

func (CassandraChecker) Check

func (checker CassandraChecker) Check() (bool, error)

type HealthChecker

type HealthChecker interface {
	Check() (bool, error)
}

func MySQLHealth

func MySQLHealth(db *sql.DB) HealthChecker

func NewAMQPHealth

func NewAMQPHealth(c *amqp.Connection) HealthChecker

func NewCassandraChecker

func NewCassandraChecker(c *gocql.ClusterConfig) HealthChecker

func NewRedisChecker

func NewRedisChecker(client *redis.Client) HealthChecker

type MySQLChecker

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

func (MySQLChecker) Check

func (checker MySQLChecker) Check() (bool, error)

type RedisChecker

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

func (RedisChecker) Check

func (checker RedisChecker) Check() (bool, error)

type ZookeeperChecker

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

func NewZookeeperChecker

func NewZookeeperChecker(conn *zk.Conn) ZookeeperChecker

func (ZookeeperChecker) Check

func (checker ZookeeperChecker) Check() (bool, error)

Directories

Path Synopsis
Godeps
_workspace/src/github.com/go-sql-driver/mysql
Go MySQL Driver - A MySQL-Driver for Go's database/sql package The driver should be used via the database/sql package: import "database/sql" import _ "github.com/go-sql-driver/mysql" db, err := sql.Open("mysql", "user:password@/dbname") See https://github.com/go-sql-driver/mysql#usage for details
Go MySQL Driver - A MySQL-Driver for Go's database/sql package The driver should be used via the database/sql package: import "database/sql" import _ "github.com/go-sql-driver/mysql" db, err := sql.Open("mysql", "user:password@/dbname") See https://github.com/go-sql-driver/mysql#usage for details
_workspace/src/github.com/samuel/go-zookeeper/zk
Package zk is a native Go client library for the ZooKeeper orchestration service.
Package zk is a native Go client library for the ZooKeeper orchestration service.
_workspace/src/github.com/streadway/amqp
AMQP 0.9.1 client with RabbitMQ extensions Understand the AMQP 0.9.1 messaging model by reviewing these links first.
AMQP 0.9.1 client with RabbitMQ extensions Understand the AMQP 0.9.1 messaging model by reviewing these links first.
_workspace/src/gopkg.in/bsm/ratelimit.v1
Simple, thread-safe Go rate-limiter.
Simple, thread-safe Go rate-limiter.
_workspace/src/gopkg.in/redis.v3
Package redis implements a Redis client.
Package redis implements a Redis client.
_workspace/src/gopkg.in/redis.v3/internal/consistenthash
Package consistenthash provides an implementation of a ring hash.
Package consistenthash provides an implementation of a ring hash.

Jump to

Keyboard shortcuts

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