//
pkg.gl
Category
github.com/powerman/go-service-example
pkg
netx
package
1.4.0
Repository:
https://github.com/powerman/go-service-example.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
10
Dependents
4
Files
80 SLOC
#
Functions
LoadCACert
LoadCACert returns a new CertPool with certificates loaded from given path.
NewAddr
NewAddr creates new Addr.
UnusedTCPPort
UnusedTCPPort returns random unique unused TCP port at host.
WaitTCPPort
WaitTCPPort tries to connect to addr until success or ctx.Done.
#
Structs
Addr
Addr provides different ways to get host and port.