Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuvchainDial ¶
type RuvchainDial struct { context.Context context.CancelFunc }
type RuvchainListener ¶
type RuvchainListener struct {
*RuvchainTransport
}
func (*RuvchainListener) Addr ¶
func (t *RuvchainListener) Addr() net.Addr
func (*RuvchainListener) Close ¶
func (t *RuvchainListener) Close() error
type RuvchainSession ¶
type RuvchainSession struct { quic.Connection quic.Stream }
type RuvchainTransport ¶
type RuvchainTransport struct { Ruvchain net.PacketConn // contains filtered or unexported fields }
func NewRuvchainTransport ¶
func NewRuvchainTransport(log *log.Logger, sk ed25519.PrivateKey, pk ed25519.PublicKey, peers []string, mcast bool) (*RuvchainTransport, error)
func (*RuvchainTransport) Listener ¶
func (t *RuvchainTransport) Listener() net.Listener
Click to show internal directories.
Click to hide internal directories.