shim

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shim

type Shim struct {
	BinaryPath string
	OutputPath string
}

Shim is a struct that contains the binary path and output path which is used to generate the shim.

func NewShim

func NewShim(binaryPath, outputPath string) *Shim

NewShim creates a new Shim instance.

func (*Shim) Clear

func (s *Shim) Clear() error

Clear removes the generated shim.

func (*Shim) Generate

func (s *Shim) Generate() error

Generate generates the shim.

Jump to

Keyboard shortcuts

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