sockets

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2015 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTcpSocket

func NewTcpSocket(addr string, config *TlsConfig, activate <-chan struct{}) (net.Listener, error)

func NewUnixSocket

func NewUnixSocket(path, group string, activate <-chan struct{}) (net.Listener, error)

Types

type TlsConfig

type TlsConfig struct {
	CA          string
	Certificate string
	Key         string
	Verify      bool
}

func NewTlsConfig

func NewTlsConfig(tlsCert, tlsKey, tlsCA string, verify bool) *TlsConfig

Jump to

Keyboard shortcuts

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