Documentation
¶
Index ¶
- func AdjustAddress(hostPort string, lis net.Listener) (string, error)
- func AdjustScheme(scheme string, isSecure bool) string
- func ExtractHostPort(addr string) (host string, port uint64, err error)
- func ExtractPort(lis net.Listener) (int, bool)
- func GetIPAddressByInterfaceName(ifName string) (string, error)
- func GetLocalIP() (string, error)
- func GetPublicIP() (string, error)
- func IsValidIP(addr string) bool
- func NewRegistryEndpoint(serviceKindName string, host string) *url.URL
- type SubscribeOption
- type SubscribeOptionMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustAddress ¶ added in v1.1.16
func AdjustScheme ¶ added in v1.1.16
func ExtractHostPort ¶ added in v1.1.16
ExtractHostPort from address
func GetIPAddressByInterfaceName ¶ added in v1.1.16
func GetLocalIP ¶ added in v1.1.16
func GetPublicIP ¶ added in v1.1.16
Types ¶
type SubscribeOption ¶
type SubscribeOptionMap ¶
type SubscribeOptionMap map[string]*SubscribeOption
Directories
¶
| Path | Synopsis |
|---|---|
|
activemq
module
|
|
|
asynq
module
|
|
|
fasthttp
module
|
|
|
gin
module
|
|
|
gozero
module
|
|
|
graphql
module
|
|
|
hertz
module
|
|
|
http3
module
|
|
|
iris
module
|
|
|
kafka
module
|
|
|
keepalive
module
|
|
|
machinery
module
|
|
|
mqtt
module
|
|
|
nats
module
|
|
|
nsq
module
|
|
|
pulsar
module
|
|
|
rabbitmq
module
|
|
|
redis
module
|
|
|
rocketmq
module
|
|
|
signalr
module
|
|
|
socketio
module
|
|
|
sse
module
|
|
|
tcp
module
|
|
|
thrift
module
|
|
|
trpc
module
|
|
|
websocket
module
|
|
|
webtransport
module
|
Click to show internal directories.
Click to hide internal directories.