transport

package
v0.0.0-...-681de73 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 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 PG

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

PG ...

func (*PG) ChangePrimaryConn

func (s *PG) ChangePrimaryConn(host, user, port string) error

ChangePrimaryConn ...

func (*PG) Close

func (s *PG) Close()

Close ...

func (*PG) HostVersion

func (s *PG) HostVersion() (float64, error)

HostVersion ...

func (*PG) IsRecovery

func (s *PG) IsRecovery() (bool, error)

IsRecovery ...

func (*PG) Open

func (s *PG) Open(pgConn string) error

Open ...

func (*PG) Promote

func (s *PG) Promote() error

Promote ...

Jump to

Keyboard shortcuts

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