server

package
v0.0.0-...-5348f4d Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server wraps hold tls.Listner and distribute request to pkg based on sni

func New

func New(cfg *config.Config) (*Server, error)

New method

func (*Server) Close

func (s *Server) Close() error

Close method

func (*Server) Serve

func (s *Server) Serve() error

Serve method

Jump to

Keyboard shortcuts

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