tls

package module
v0.0.0-...-8246cd6 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 16 Imported by: 0

README

onet-transport-tls-go

onet tls overlay transport support

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTLSTransport

func NewTLSTransport(protocol string) *tlsTransport

func WithKey

func WithKey(k key.Key) onet.Option

WithKey .

Types

type Peer

type Peer struct {
	LocalKey        key.Key
	RemotePublicKey []byte
}

Peer .

type Transport

type Transport interface {
	ServerPeer(conn onet.Conn) (*Peer, error)
	ClientPeer(conn onet.Conn) (*Peer, error)
}

Transport .

Jump to

Keyboard shortcuts

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