transport

package
v0.0.0-...-0a6e47e Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2014 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateX509KeyPair

func GenerateX509KeyPair(commonName string) (*tls.Certificate, error)

func SignatureAuthenticator

func SignatureAuthenticator(conn net.Conn, peers *Peers) error

Types

type Peers

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

func NewPeers

func NewPeers() *Peers

func (*Peers) Signature

func (p *Peers) Signature(id string) []byte

func (*Peers) Update

func (p *Peers) Update(id string, tlsSignature []byte)

Jump to

Keyboard shortcuts

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