transport

package
v0.0.0-...-890ef4a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

type Transport interface {
	Dial(host string) (net.Conn, error)
	Listener() net.Listener
}

type YggdrasilTransport

type YggdrasilTransport struct {
	// contains filtered or unexported fields
}

func NewYggdrasilTransport

func NewYggdrasilTransport(log *log.Logger, sk ed25519.PrivateKey, pk ed25519.PublicKey, peers []string, mcast bool, mcastregexp string) (*YggdrasilTransport, error)

func (*YggdrasilTransport) Dial

func (t *YggdrasilTransport) Dial(host string) (net.Conn, error)

func (*YggdrasilTransport) Listener

func (t *YggdrasilTransport) Listener() net.Listener

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL