Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Hostname string Database DatabaseConfig Vault VaultConfig }
type DatabaseChecker ¶
type DatabaseChecker struct {
// contains filtered or unexported fields
}
func NewDatabaseChecker ¶
func NewDatabaseChecker(dsn string) (*DatabaseChecker, error)
func (*DatabaseChecker) Ping ¶
func (dc *DatabaseChecker) Ping() error
type DatabaseConfig ¶
type DatabaseConfig struct {
DataSourceName string
}
type VaultChecker ¶
type VaultChecker struct {
// contains filtered or unexported fields
}
func NewVaultChecker ¶
func NewVaultChecker(address string) *VaultChecker
func (*VaultChecker) Ping ¶
func (vc *VaultChecker) Ping() error
type VaultConfig ¶
type VaultConfig struct {
Address string
}
Click to show internal directories.
Click to hide internal directories.