network

package
v3.1.0-beta2+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunSimpleSocketServer

func RunSimpleSocketServer(path string, handler func(net.Conn) string, errs func(error)) (func(), error)

RunSimpleSocketServer creates and runs a simple UNIX domain socket server that will call handler for each connection and write back whatever that function returns to the client. Returns a function that can be called to stop the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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