softupgrade

package module
v0.0.0-...-9f7a74e Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2015 License: LGPL-3.0 Imports: 5 Imported by: 0

README

softupgrade

Easily transfer file handles when upgrading server software.

Based on Graham King's example.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PathPrefix = "/tmp"

Functions

This section is empty.

Types

type UpgradeConn

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

func Dial

func Dial(pid int, name string) (*UpgradeConn, error)

func Listen

func Listen(name string) (*UpgradeConn, error)

func (*UpgradeConn) Close

func (c *UpgradeConn) Close() error

func (*UpgradeConn) Recv

func (c *UpgradeConn) Recv() ([]byte, []*os.File, error)

func (*UpgradeConn) Send

func (c *UpgradeConn) Send(data []byte, files []*os.File) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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