erserver

package
v0.0.0-...-af2531a Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Overview

Actual server implementation of Edgerouter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, configDir ConfigDir, logger *log.Logger) error

Types

type ConfigDir

type ConfigDir string
const (
	DefaultConfigDir ConfigDir = "/etc/edgerouter"
)

func (ConfigDir) DevelopmentCertificate

func (c ConfigDir) DevelopmentCertificate() string

func (ConfigDir) File

func (c ConfigDir) File(filename string) string

makes path to any file in the configuration directory use sparingly

func (ConfigDir) String

func (c ConfigDir) String() string

type GetCertificateFn

type GetCertificateFn func(*tls.ClientHelloInfo) (*tls.Certificate, error)

type Mount

type Mount struct {
	App erconfig.Application
	// contains filtered or unexported fields
}

type MountList

type MountList []Mount

these are ordered from longest to shortest

Jump to

Keyboard shortcuts

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