server

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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type Server

type Server struct {

	// managers
	ConfigManager    *mgrcfg.ConfigManager
	NamespaceManager *mgrns.NamespaceManager
	MetricsManager   *metrics.MetricsManager
	LoggerManager    *logger.LoggerManager
	CertManager      *cert.CertManager
	InfoSyncer       *infosync.InfoSyncer
	// HTTP client
	Http *http.Client
	// HTTP server
	HTTPServer *api.HTTPServer
	// L7 proxy
	Proxy *proxy.SQLServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(ctx context.Context, sctx *sctx.Context) (srv *Server, err error)

func (*Server) Close

func (s *Server) Close() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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