api

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseServer

func CloseServer() error

CloseServer shutdowns the server by stopping the listener.

func DialPipe

func DialPipe(pipePath string) func(context.Context, string, string) (net.Conn, error)

DialPipe creates a dialer to be used with the http.Client to connect to a named pipe.

func MakePipeListener

func MakePipeListener(pipePath, descriptor string) (net.Listener, error)

MakePipeListener produces a new listener for receiving requests over a named pipe.

func StartServer

func StartServer(c *config.Config) error

StartServer starts the HTTP server with the specified configuration.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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