package libp2pwebtransport
Import Path
github.com/libp2p/go-libp2p/p2p/transport/webtransport (on go.dev)
Dependency Relation
imports 38 packages, and imported by 2 packages
Involved Source Files
cert_manager.go
conn.go
crypto.go
listener.go
multiaddr.go
noise_early_data.go
stream.go
transport.go
Package-Level Type Names (total 2)
func WithClock(cl clock.Clock) Option
func WithHandshakeTimeout(d time.Duration) Option
func WithTLSClientConfig(c *tls.Config) Option
func New(key ic.PrivKey, psk pnet.PSK, connManager *quicreuse.ConnManager, gater connmgr.ConnectionGater, rcmgr network.ResourceManager, opts ...Option) (tpt.Transport, error)
Package-Level Functions (total 5)
IsWebtransportMultiaddr returns true if the given multiaddr is a well formed
webtransport multiaddr. Returns the number of certhashes found.
func New(key ic.PrivKey, psk pnet.PSK, connManager *quicreuse.ConnManager, gater connmgr.ConnectionGater, rcmgr network.ResourceManager, opts ...Option) (tpt.Transport, error) func WithHandshakeTimeout(d time.Duration) Option
WithTLSClientConfig sets a custom tls.Config used for dialing.
This option is most useful for setting a custom tls.Config.RootCAs certificate pool.
When dialing a multiaddr that contains a /certhash component, this library will set InsecureSkipVerify and
overwrite the VerifyPeerCertificate callback.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |