services

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lookup

func Lookup(port int, proto string) string

Lookup returns the service name for a port/protocol combination. Returns empty string if not found.

func LookupTCP

func LookupTCP(port int) string

LookupTCP returns the service name for a TCP port.

func LookupUDP

func LookupUDP(port int) string

LookupUDP returns the service name for a UDP port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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