proxy

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 15 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.Config, 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

IsClosing tells the HTTP API whether it should return healthy status.

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