server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CACertFilename string `yaml:"ca_cert_filename"`
	CertFilename   string `yaml:"cert_filename"`
	KeyFilename    string `yaml:"key_filename"`
	HttpServerAddr string `yaml:"http_server_addr"`
	DnsServerAddr  string `yaml:"dns_server_addr"`
	PersistentFile string `yaml:"persistent_file"`
}

type Server

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

func New

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

func (*Server) Close

func (s *Server) Close()

Jump to

Keyboard shortcuts

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