Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionResolver ¶
type ConnectionResolver func(ctx context.Context, params map[string]string) (RemotePgBackend, error)
ConnectionResolver resolves a local postgres connection string to a remote backend.
type GatedSession ¶
type GatedSession struct {
// contains filtered or unexported fields
}
func (*GatedSession) Close ¶
func (s *GatedSession) Close()
func (*GatedSession) Run ¶
func (s *GatedSession) Run(ctx context.Context)
type Gateway ¶
type Gateway struct {
// contains filtered or unexported fields
}
func NewGateway ¶
func NewGateway(resolver ConnectionResolver, opts ...GatewayOption) *Gateway
type GatewayOption ¶
type GatewayOption func(gw *Gateway)
type RemotePgBackend ¶
Click to show internal directories.
Click to hide internal directories.