{"modulePath":"github.com/function61/edgerouter","version":"v0.0.0-20260305111458-5d50e7ec169e","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package erserver\n\nActual server implementation of Edgerouter\n\n## Functions\n\n```go\nfunc Serve(ctx context.Context, configDir ConfigDir, logger *slog.Logger) error\n```\n\n## Types\n\n```go\ntype ConfigDir string\n```\n\n```go\nconst (\n\tDefaultConfigDir ConfigDir = \"/etc/edgerouter\"\n)\n```\n\n```go\nfunc (c ConfigDir) DevelopmentCertificate() string\n```\n\n```go\nfunc (c ConfigDir) File(filename string) string\n```\nmakes path to any file in the configuration directory use sparingly\n\n```go\nfunc (c ConfigDir) String() string\n```\n\n```go\ntype GetCertificateFn func(*tls.ClientHelloInfo) (*tls.Certificate, error)\n```\n\n```go\ntype Mount struct {\n\tApp erconfig.Application\n\t// contains filtered or unexported fields\n}\n```\n\n```go\ntype MountList []Mount\n```\nthese are ordered from longest to shortest\n\n","path":"github.com/function61/edgerouter/pkg/erserver","name":"erserver","synopsis":"Actual server implementation of Edgerouter","isRedistributable":true}
