connectionpkg

package
v0.3.21 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEndpointValidity added in v0.2.36

func CheckEndpointValidity(endpoint string) (bool, error)

CheckEndpointValidity ...

func IsConnCloseErr

func IsConnCloseErr(err error) bool

IsConnCloseErr .

func IsValidConnection added in v0.2.36

func IsValidConnection(address string) (bool, error)

IsValidConnection 检查链接有效性 @param address: hostname + ":" + port

func IsWebSocketConn

func IsWebSocketConn(r *http.Request) bool

IsWebSocketConn 是否websocket

Types

This section is empty.

Jump to

Keyboard shortcuts

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