server

package
v0.0.0-...-1f48b27 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilesystemPreRequirements

func FilesystemPreRequirements(rundir string) error

func GetListener

func GetListener(socketPath string) (net.Listener, error)

GetListener creates a listener to a unix socket located in `socketPath`

Types

type Server

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

func NewCNIServer

func NewCNIServer(daemonConfig *config.Configuration, handler http.Handler) (*Server, error)

Jump to

Keyboard shortcuts

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