Documentation
¶
Index ¶
- type ClientConnection
- func (c ClientConnection) AcceptStream(_ context.Context) (*Stream, error)
- func (c ClientConnection) CloseWithError(code byte, message string) (err error)
- func (c ClientConnection) Context() context.Context
- func (c ClientConnection) LocalAddr() net.Addr
- func (c *ClientConnection) OpenStream(ctx context.Context) (*Stream, error)
- func (c ClientConnection) RemoteAddr() net.Addr
- type Connection
- type Listener
- type ServerConnection
- func (c *ServerConnection) AcceptStream(ctx context.Context) (*Stream, error)
- func (c ServerConnection) CloseWithError(code byte, message string) (err error)
- func (c ServerConnection) Context() context.Context
- func (c ServerConnection) LocalAddr() net.Addr
- func (c ServerConnection) OpenStream(_ context.Context) (*Stream, error)
- func (c ServerConnection) RemoteAddr() net.Addr
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConnection ¶
type ClientConnection struct {
// contains filtered or unexported fields
}
func (ClientConnection) AcceptStream ¶
func (ClientConnection) CloseWithError ¶
func (*ClientConnection) OpenStream ¶
func (c *ClientConnection) OpenStream(ctx context.Context) (*Stream, error)
func (ClientConnection) RemoteAddr ¶
type Connection ¶
type ServerConnection ¶
type ServerConnection struct {
// contains filtered or unexported fields
}
func (*ServerConnection) AcceptStream ¶
func (c *ServerConnection) AcceptStream(ctx context.Context) (*Stream, error)
func (ServerConnection) CloseWithError ¶
func (ServerConnection) OpenStream ¶
func (ServerConnection) RemoteAddr ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.