Help us shape the future of Go! Take the 2026 Go Developer Survey

renderproc

package
v1.4.0-alpha.17 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DevRuntimeSource string
View Source
var RuntimeSource string

Functions

This section is empty.

Types

type Process

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

func Attach added in v1.2.0

func Attach(socket string) (*Process, error)

func Start

func Start(executable, workDir string, environment ...string) (*Process, error)

func StartCommand

func StartCommand(executable string, args []string, workDir string, environment ...string) (*Process, error)

func (*Process) Close

func (p *Process) Close(ctx context.Context) error

func (*Process) Healthy

func (p *Process) Healthy(ctx context.Context) error

func (*Process) Recover added in v1.2.0

func (p *Process) Recover()

func (*Process) Render

func (p *Process) Render(ctx context.Context, entry string, props json.RawMessage, sink Sink) error

type RemoteError

type RemoteError struct{ Message string }

func (*RemoteError) Error

func (e *RemoteError) Error() string

type Sink

type Sink interface {
	Head([]byte) error
	Body([]byte) error
}

type UnavailableError

type UnavailableError struct{ Err error }

func (*UnavailableError) Error

func (e *UnavailableError) Error() string

func (*UnavailableError) Unwrap

func (e *UnavailableError) Unwrap() error

Jump to

Keyboard shortcuts

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