net

package
v2.0.21 Latest Latest
Warning

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

Go to latest
Published: May 25, 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 added in v2.0.18

type ClientFactoryConfig struct {
	Host string
	Port int

	// CA certificate is not required
	CACert string

	Client       string
	ClientSecret string
}

func (ClientFactoryConfig) CACertPool added in v2.0.18

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

func (ClientFactoryConfig) Validate added in v2.0.18

func (c ClientFactoryConfig) Validate() error

Jump to

Keyboard shortcuts

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