Documentation
¶
Index ¶
- type Canary
- type Foo
- type PgConfig
- type PoolStats
- type ReplicaStatus
- type Store
- func (s *Store) Close()
- func (s *Store) GetCanary() (*Canary, error)
- func (s *Store) GetConnectionPoolStats(ro bool) *PoolStats
- func (s *Store) GetMostRecentFoo() (*Foo, error)
- func (s *Store) GetReplicaStatus(ro bool) ([]ReplicaStatus, error)
- func (s *Store) GetReplicationCanary() (*Canary, error)
- func (s *Store) InsertFoo() (int64, error)
- func (s *Store) UpdateCanary() (int64, error)
- func (s *Store) UpdateReplicationCanary() (*Canary, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PgConfig ¶
type PgConfig struct {
// contains filtered or unexported fields
}
func LoadPostgresConfig ¶
type ReplicaStatus ¶
type Store ¶
func (*Store) GetConnectionPoolStats ¶
func (*Store) GetMostRecentFoo ¶
func (*Store) GetReplicaStatus ¶
func (s *Store) GetReplicaStatus(ro bool) ([]ReplicaStatus, error)
func (*Store) GetReplicationCanary ¶
func (*Store) UpdateCanary ¶
func (*Store) UpdateReplicationCanary ¶
Click to show internal directories.
Click to hide internal directories.