server

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultHTTPListeningAddress = fmt.Sprintf("%s:%s", api.DefaultListeningIP, api.DefaultHttpPort)
)

Functions

This section is empty.

Types

type NPMRestServer

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

func NewNpmRestServer added in v1.2.8

func NewNpmRestServer(listeningAddress string) *NPMRestServer

func (*NPMRestServer) GetNpmMgr added in v1.2.8

func (n *NPMRestServer) GetNpmMgr(npMgr *npm.NetworkPolicyManager) http.Handler

func (*NPMRestServer) NPMRestServerListenAndServe added in v1.2.8

func (n *NPMRestServer) NPMRestServerListenAndServe(npMgr *npm.NetworkPolicyManager)

Jump to

Keyboard shortcuts

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