Documentation

Overview

Package networktype declares the network type to be used in the default dailer. Attribute of a resolver.Address.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(address resolver.Address) (string, bool)

Get returns the network type in the resolver.Address and true, or "", false if not present.

func Set

func Set(address resolver.Address, networkType string) resolver.Address

Set returns a copy of the provided address with attributes containing networkType.

Types

This section is empty.

Source Files