package
module
Version:
v0.0.0-...-8246cd6
Opens a new window with list of versions in this module.
Published: Jun 29, 2021
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
onet-transport-tls-go
onet tls overlay transport support
Documentation
¶
func NewTLSTransport(protocol string) *tlsTransport
func WithKey(k key.Key) onet.Option
WithKey .
type Peer struct {
LocalKey key.Key
RemotePublicKey []byte
}
Peer .
type Transport interface {
ServerPeer(conn onet.Conn) (*Peer, error)
ClientPeer(conn onet.Conn) (*Peer, error)
}
Transport .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.