server

package
v0.0.0-...-8b4e12d Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPort = 8978
View Source
const ErrSocket = 2

ErrSocket - Unable to connect to parent process with unix socket

View Source
const Error = 1
View Source
const FileReaderBufferSize = 100000
View Source
const PipeBufferSize = 100000
View Source
const Success = 0

subprocess return codes

Variables

View Source
var ErrParentTerminatedConversation = errors.New("Connection terminated by parent process")

Functions

func GetUniqueUnixSocketFileName

func GetUniqueUnixSocketFileName() string

Types

type ReadWriteJoiner

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

func NewReadWriteJoiner

func NewReadWriteJoiner(r io.Reader, w io.Writer) *ReadWriteJoiner

func (*ReadWriteJoiner) Close

func (s *ReadWriteJoiner) Close() (e error)

func (*ReadWriteJoiner) Read

func (s *ReadWriteJoiner) Read(b *bytes.Buffer) (e error)

func (*ReadWriteJoiner) Write

func (s *ReadWriteJoiner) Write(b []byte) (n int, e error)

Jump to

Keyboard shortcuts

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