util

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidPortName = errors.New("invalid port name,port name must be {protocol}-<suffix>")

ErrInvalidPortName happens if your port name is illegal

Functions

func ParsePortName

func ParsePortName(n string) (string, string, error)

ParsePortName a port name is composite by protocol-name,like http-admin,http-api,grpc-console,grpc-api ParsePortName return two string separately

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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