cipher

package
v0.0.0-...-1fee6d4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package cipher provides cryptographic functionality, such as TLS.

Index

Constants

This section is empty.

Variables

View Source
var TLSAvailable bool //Whether TLS certificates have been loaded successfully
View Source
var TLSConfig *tls.Config //Static configuration for TLS

Functions

func TLSLoadCertificate

func TLSLoadCertificate()

Loads the TLS certificate provided in the configuration file.

func TLSTransmuteConn

func TLSTransmuteConn(c net.Conn) net.Conn

Converts a normal connection to a TLS-protected one, keeping the object type (net.Conn).

Types

This section is empty.

Jump to

Keyboard shortcuts

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