server

package
v0.0.0-...-5da1e5c Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCertificates

func LoadCertificates(paths []string) ([]tls.Certificate, error)

Types

type Addresses

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

func NewAddresses

func NewAddresses(logger *zap.Logger, hostname string, httpMux *vhost.HTTPMuxer) *Addresses

func (*Addresses) ClaimAddress

func (c *Addresses) ClaimAddress(addressType string, address string) (*PublicAddress, error)

func (*Addresses) NewAddress

func (c *Addresses) NewAddress(addressType string) (*PublicAddress, error)

type ClientInfo

type ClientInfo struct {
	Hostname string
	Address  string
}

type PublicAddress

type PublicAddress struct {
	Address string
	net.Listener
	// contains filtered or unexported fields
}

func (*PublicAddress) Close

func (c *PublicAddress) Close() error

type TunnelEndpoint

type TunnelEndpoint interface {
	Id() string
	Serve() error
}

Jump to

Keyboard shortcuts

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