net

package
v2.0.22+incompatible Latest Latest
Warning

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

Go to latest
Published: May 26, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LastAddress

func LastAddress(n *net.IPNet) net.IP

Types

type ClientFactoryConfig

type ClientFactoryConfig struct {
	Host string
	Port int

	// CA certificate is not required
	CACert string

	Client       string
	ClientSecret string
}

func (ClientFactoryConfig) CACertPool

func (c ClientFactoryConfig) CACertPool() (*x509.CertPool, error)

func (ClientFactoryConfig) Validate

func (c ClientFactoryConfig) Validate() error

Jump to

Keyboard shortcuts

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