~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
19 lines · 411 B Raw History
package component

import (
	"github.com/johnandersen777/socialweb-computer-kcp/internal/component/ports"
)

type PortLease = ports.Lease

type PortRegistry = ports.Registry

type PortRegistryOptions = ports.Options

func OpenPortRegistry(opts PortRegistryOptions) (*PortRegistry, error) {
	return ports.Open(opts)
}

func NewPortRegistry(stateDir string) (*PortRegistry, error) {
	return ports.New(stateDir)
}