ports

package
v0.0.0-...-99b6f83 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Path string
}

func NewDefault

func NewDefault() (*Manager, error)

func NewDefaultForWorktree

func NewDefaultForWorktree(worktree string) (*Manager, error)

func (*Manager) Allocate

func (m *Manager) Allocate(instanceID string, names []string) (map[string]int, error)

func (*Manager) Release

func (m *Manager) Release(instanceID string) error

type Registry

type Registry struct {
	Instances map[string]map[string]int `json:"instances"`
}

Jump to

Keyboard shortcuts

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