server

package
v0.0.0-...-384990a Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: MIT Imports: 10 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
}

func NewServer

func NewServer(ifname string, persist bool, ip net.IP, network *net.IPNet, listen string, password []byte, timeout time.Duration) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) Interface

func (s *Server) Interface() string

func (*Server) Run

func (s *Server) Run(signaling chan os.Signal) error

Jump to

Keyboard shortcuts

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