ipc

package
v0.0.0-...-b57a2b4 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientConn

func NewClientConn(cmd *exec.Cmd) (io.ReadWriteCloser, error)

func NewConn

func NewConn(rd io.ReadCloser, wr io.WriteCloser) io.ReadWriteCloser

Types

type GenerateRequest

type GenerateRequest struct {
	// Options that should be applied to all files
	Options []*ast.Option[any]
	// AST for all parsed
	Files []*ast.File
}

type GenerateResponse

type GenerateResponse struct {
}

type InfoRequest

type InfoRequest struct {
}

type InfoResponse

type InfoResponse struct {
	Name    string
	Version string
	Options []*Option[any]
}

type Option

type Option[T any] struct {
	Name        string
	Default     any
	Description string
}

Jump to

Keyboard shortcuts

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