MCPcopy Create free account

hub / github.com/gorilla/websocket / types & classes

Types & classes45 in github.com/gorilla/websocket

↓ 1 callersTypeAliasfakeAddr
conn_test.go:36
↓ 1 callersFuncTypenetDialerFunc
func(network, addr string) (net.Conn, error)
proxy.go:17
InterfaceBufferPool
BufferPool represents a pool of buffers. The *sync.Pool type satisfies this interface. The type of the value stored in a pool is not specified.
conn.go:229
StructClient
Client is a middleman between the websocket connection and the hub.
examples/chat/client.go:41
StructCloseError
CloseError represents a close message.
conn.go:105
StructConn
The Conn type represents a WebSocket connection.
conn.go:242
StructDialer
A Dialer contains options for connecting to WebSocket server. It is safe to call Dialer's methods concurrently.
client.go:53
StructHandshakeError
HandshakeError describes an error with the handshake from the peer.
server.go:18
StructHub
Hub maintains the set of active clients and broadcasts messages to the clients.
examples/chat/hub.go:9
StructPreparedMessage
PreparedMessage caches on the wire representations of a message payload. Use PreparedMessage to efficiently send a message payload to multiple connect
prepared.go:19
StructUpgrader
Upgrader specifies parameters for upgrading an HTTP connection to a WebSocket connection. It is safe to call Upgrader's methods concurrently.
server.go:28
StructblockingWriter
conn_test.go:644
StructbroadcastBench
broadcastBench allows to run broadcast benchmarks. In every broadcast benchmark we create many connections, then send the same message into every conn
conn_broadcast_test.go:19
StructbroadcastConn
conn_broadcast_test.go:34
StructbroadcastMessage
conn_broadcast_test.go:29
StructcstHandler
client_server_test.go:48
StructcstServer
client_server_test.go:50
StructerrorWriter
errorWriter is an io.Writer than returns an error on all writes.
conn_test.go:303
StructfailingReader
conn_test.go:677
StructfakeNetConn
conn_test.go:24
StructflateReadWrapper
compression.go:122
StructflateWriteWrapper
compression.go:92
StructhttpProxyDialer
proxy.go:29
StructjoinReader
join.go:19
StructmessageReader
conn.go:1036
StructmessageWriter
conn.go:532
StructnetError
netError satisfies the net Error interface.
conn.go:94
StructnopCloser
compression_test.go:11
StructprepareConn
prepared.go:96
StructprepareKey
prepareKey defines a unique set of options to cache prepared frames in PreparedMessage.
prepared.go:27
StructpreparedFrame
preparedFrame contains data in wire representation.
prepared.go:34
Structproxy_Auth
Auth contains authentication parameters that specific Dialers may require.
x_net_proxy.go:167
Interfaceproxy_Dialer
A Dialer is a means to establish a connection.
x_net_proxy.go:161
Structproxy_PerHost
A PerHost directs connections to a default Dialer unless the host name requested matches one of a number of exceptions.
x_net_proxy.go:32
Structproxy_direct
x_net_proxy.go:21
Structproxy_envOnce
envOnce looks up an environment variable (optionally by multiple names) once. It mitigates expensive lookups on some platforms (e.g. Windows). (Borrow
x_net_proxy.go:253
Structproxy_socks5
x_net_proxy.go:289
StructrequireDeadlineNetConn
requireDeadlineNetConn fails the current test when Read or Write are called with no deadline.
client_server_test.go:332
StructreuseTestResponseWriter
server_test.go:75
StructsimpleBufferPool
simpleBufferPool is an implementation of BufferPool for TestWriteBufferPool.
conn_test.go:189
StructtestLogWriter
client_server_test.go:562
StructtruncWriter
truncWriter is an io.Writer that writes all but the last four bytes of the stream to another io.Writer.
compression.go:58
Structvalidator
examples/autobahn/server.go:187
StructwriteHook
writeHook is an io.Writer that records the last slice passed to it vio io.Writer.Write.
server.go:344
StructwritePoolData
writePoolData is the type added to the write buffer pool. This wrapper is used to prevent applications from peeking at and depending on the values add
conn.go:239