proxy

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCloseServer = errors.New("failed to close sqlserver")
)

Functions

This section is empty.

Types

type SQLServer

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

func NewSQLServer

func NewSQLServer(logger *zap.Logger, cfg config.ProxyServer, certMgr *cert.CertManager, hsHandler backend.HandshakeHandler) (*SQLServer, error)

NewSQLServer creates a new SQLServer.

func (*SQLServer) Close

func (s *SQLServer) Close() error

Close closes the server.

func (*SQLServer) IsClosing

func (s *SQLServer) IsClosing() bool

func (*SQLServer) Run

func (s *SQLServer) Run(ctx context.Context, cfgch <-chan *config.Config)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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