util

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPortProto added in v1.4.0

func BuildPortProto(port, protocol string) string

BuildPortProto creates a single string using port and protocol separated by a delimiter.

func ParsePortProto added in v1.4.0

func ParsePortProto(portProtocol string) (int, string, error)

ParsePortProto separates out port and protocol from a string generated using BuildPortProto.

Types

This section is empty.

Jump to

Keyboard shortcuts

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