addrfd

package
v0.0.0-...-ef90cfb Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustWrite

func MustWrite(addr string)

MustWrite communicates listening address addr to the parent process via the file descriptor number passed to -addrfd, if any. It must be called precisely once.

Types

type PendingAddrfd

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

func RegisterFlags

func RegisterFlags(fset *flag.FlagSet) *PendingAddrfd

func (*PendingAddrfd) MustWrite

func (p *PendingAddrfd) MustWrite(addr string)

Jump to

Keyboard shortcuts

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