port

package
v1.43.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package port provides port range management functionality for task communication, including port range parsing and validation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Range

type Range struct {
	Begin uint64 `json:"begin" yaml:"begin"`
	End   uint64 `json:"end"   yaml:"end"`
}

type Ranges

type Ranges []Range

func RangesFromExpression

func RangesFromExpression(str string) (ranges Ranges, err error)

func (Ranges) Equals

func (this Ranges) Equals(other Ranges) (response bool)

Jump to

Keyboard shortcuts

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