control

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChildReadyArgs

type ChildReadyArgs struct {
	Pid int
}

ChildReadyArgs は子プロセスが準備完了したことを通知するための引数を表します

type Control

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

Control はRPCのレシーバとして動作し、子プロセスが準備完了したことを通知するための機能を提供します

func New

func New(childReady func(pid int)) *Control

func (*Control) ChildReady

func (c *Control) ChildReady(args ChildReadyArgs, reply *struct{}) error

ChildReady は子プロセスが準備完了したことを通知するためのメソッドです 事前に指定したhook関数を実行します

func (*Control) Serve

func (c *Control) Serve(l net.Listener) error

Jump to

Keyboard shortcuts

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