Documentation
¶
Index ¶
Constants ¶
View Source
const ( PostgresResponseTypeRowDescription = 'T' PostgresResponseTypeDataRow = 'D' PostgresResponseTypeCommandComplete = 'C' PostgresResponseTypeErrorResponse = 'E' PostgresResponseTypeAuthentication = 'R' PostgresResponseTypeParameterStatus = 'S' PostgresResponseTypeReadyForQuery = 'Z' PostgresResponseTypeKeyData = 'K' )
Variables ¶
View Source
var (
DB *sql.DB
)
View Source
var (
ErrNonQueryData = fmt.Errorf("non-query data")
)
View Source
var (
Interval = 30 * time.Minute
)
Functions ¶
func GetPostgresConnection ¶
func ProcessSchema ¶
func ProcessSchema(ctx context.Context, opts daemontypes.DaemonOpts)
func RunProxy ¶
func RunProxy(ctx context.Context, opts daemontypes.DaemonOpts)
Types ¶
type PostgresResponseType ¶
type PostgresResponseType byte
Click to show internal directories.
Click to hide internal directories.