Documentation ¶
Index ¶
- func ConnectToPeer(pRouter *pineconeRouter.Router, peer string) error
- func CreateClient(s *pineconeSessions.Sessions) *fclient.Client
- func CreateFederationClient(cfg *config.Dendrite, s *pineconeSessions.Sessions) fclient.FederationClient
- type RoundTripper
- type WebSocketConn
- func (c *WebSocketConn) Close() error
- func (c *WebSocketConn) LocalAddr() net.Addr
- func (c *WebSocketConn) Read(p []byte) (int, error)
- func (c *WebSocketConn) RemoteAddr() net.Addr
- func (c *WebSocketConn) SetDeadline(t time.Time) error
- func (c *WebSocketConn) SetReadDeadline(t time.Time) error
- func (c *WebSocketConn) SetWriteDeadline(t time.Time) error
- func (c *WebSocketConn) Write(p []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToPeer ¶
func ConnectToPeer(pRouter *pineconeRouter.Router, peer string) error
func CreateClient ¶
func CreateClient( s *pineconeSessions.Sessions, ) *fclient.Client
func CreateFederationClient ¶
func CreateFederationClient( cfg *config.Dendrite, s *pineconeSessions.Sessions, ) fclient.FederationClient
Types ¶
type RoundTripper ¶
type RoundTripper struct {
// contains filtered or unexported fields
}
type WebSocketConn ¶
type WebSocketConn struct {
// contains filtered or unexported fields
}
func WrapWebSocketConn ¶
func WrapWebSocketConn(c *websocket.Conn) *WebSocketConn
func (*WebSocketConn) Close ¶
func (c *WebSocketConn) Close() error
func (*WebSocketConn) LocalAddr ¶
func (c *WebSocketConn) LocalAddr() net.Addr
func (*WebSocketConn) RemoteAddr ¶
func (c *WebSocketConn) RemoteAddr() net.Addr
func (*WebSocketConn) SetDeadline ¶
func (c *WebSocketConn) SetDeadline(t time.Time) error
func (*WebSocketConn) SetReadDeadline ¶
func (c *WebSocketConn) SetReadDeadline(t time.Time) error
func (*WebSocketConn) SetWriteDeadline ¶
func (c *WebSocketConn) SetWriteDeadline(t time.Time) error
Click to show internal directories.
Click to hide internal directories.