# Functions
NewChanPool to new a pool with some params.
NewDNSResolver initializes DNS cache resolver and starts auto refreshing in a new goroutine.
NewMockDNSCache creates a new mock instance.
NewMockHTTPClient creates a new mock instance.
NewMockPool creates a new mock instance.
NewMockWebSocketClient creates a new mock instance.
NewMockWebSocketConn creates a new mock instance.
No description provided by the author
Perform function proxies the request to the backend server.
# Structs
No description provided by the author
FastHTTPWebSocketClient implements the WebSocketClient interface.
FastHTTPWebSocketConn implements the WebSocketConn interface.
No description provided by the author
MockDNSCache is a mock of DNSCache interface.
MockDNSCacheMockRecorder is the mock recorder for MockDNSCache.
MockHTTPClient is a mock of HTTPClient interface.
MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.
MockPool is a mock of Pool interface.
MockPoolMockRecorder is the mock recorder for MockPool.
MockWebSocketClient is a mock of WebSocketClient interface.
MockWebSocketClientMockRecorder is the mock recorder for MockWebSocketClient.
MockWebSocketConn is a mock of WebSocketConn interface.
MockWebSocketConnMockRecorder is the mock recorder for MockWebSocketConn.
No description provided by the author
Resolver is DNS cache resolver which cache DNS resolve results in memory.
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
WebSocketClient defines the interface for WebSocket connections Pool.
WebSocketConn defines the interface for WebSocket connections.