ceremonyclient/go-libp2p/core/pnet/protector.go
2023-08-20 23:07:43 -05:00

8 lines
290 B
Go

// Package pnet provides interfaces for private networking in libp2p.
package pnet
// A PSK enables private network implementation to be transparent in libp2p.
// It is used to ensure that peers can only establish connections to other peers
// that are using the same PSK.
type PSK []byte