Documentation ¶
Index ¶
- type Node
- func (n *Node) Accept() (net.Conn, error)
- func (n *Node) Addr() net.Addr
- func (n *Node) Close() error
- func (n *Node) CreateClient(base *setup.BaseDendrite) *gomatrixserverlib.Client
- func (n *Node) CreateFederationClient(base *setup.BaseDendrite) *gomatrixserverlib.FederationClient
- func (n *Node) DerivedServerName() string
- func (n *Node) DerivedSessionName() string
- func (n *Node) Dial(network, address string) (net.Conn, error)
- func (n *Node) DialContext(ctx context.Context, network, address string) (net.Conn, error)
- func (n *Node) Dialer(_, address string) (net.Conn, error)
- func (n *Node) DialerContext(ctx context.Context, network, address string) (net.Conn, error)
- func (n *Node) DisconnectMulticastPeers()
- func (n *Node) DisconnectNonMulticastPeers()
- func (n *Node) EncryptionPrivateKey() []byte
- func (n *Node) EncryptionPublicKey() []byte
- func (n *Node) KnownNodes() []gomatrixserverlib.ServerName
- func (n *Node) PeerCount() int
- func (n *Node) SessionCount() int
- func (n *Node) SetMulticastEnabled(enabled bool)
- func (n *Node) SetSessionFunc(f func(address string))
- func (n *Node) SetStaticPeer(uri string) error
- func (n *Node) SigningPrivateKey() ed25519.PrivateKey
- func (n *Node) SigningPublicKey() ed25519.PublicKey
- func (n *Node) Stop()
- type QUICStream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { NewSession func(remote gomatrixserverlib.ServerName) // contains filtered or unexported fields }
func (*Node) CreateClient ¶
func (n *Node) CreateClient( base *setup.BaseDendrite, ) *gomatrixserverlib.Client
func (*Node) CreateFederationClient ¶
func (n *Node) CreateFederationClient( base *setup.BaseDendrite, ) *gomatrixserverlib.FederationClient
func (*Node) DerivedServerName ¶
func (*Node) DerivedSessionName ¶
func (*Node) DialContext ¶
Implements http.Transport.DialContext nolint:gocyclo
func (*Node) DialerContext ¶
func (*Node) DisconnectMulticastPeers ¶
func (n *Node) DisconnectMulticastPeers()
func (*Node) DisconnectNonMulticastPeers ¶
func (n *Node) DisconnectNonMulticastPeers()
func (*Node) EncryptionPrivateKey ¶
func (*Node) EncryptionPublicKey ¶
func (*Node) KnownNodes ¶
func (n *Node) KnownNodes() []gomatrixserverlib.ServerName
func (*Node) SessionCount ¶
func (*Node) SetMulticastEnabled ¶
func (*Node) SetSessionFunc ¶
func (*Node) SetStaticPeer ¶
func (*Node) SigningPrivateKey ¶
func (n *Node) SigningPrivateKey() ed25519.PrivateKey
func (*Node) SigningPublicKey ¶
type QUICStream ¶
type QUICStream struct { quic.Stream // contains filtered or unexported fields }
func (QUICStream) LocalAddr ¶
func (s QUICStream) LocalAddr() net.Addr
func (QUICStream) RemoteAddr ¶
func (s QUICStream) RemoteAddr() net.Addr
Click to show internal directories.
Click to hide internal directories.