Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAddressHelperHost ¶
func SetAddressHelperHost(s string) func(*AddressHelper) error
SetAddressHelperHost sets the host of the addresshelper client's SAM bridge
func SetAddressHelperPort ¶
func SetAddressHelperPort(s string) func(*AddressHelper) error
SetAddressHelperPort sets the port of the addresshelper client's SAM bridge
func SetAddressHelperPortInt ¶
func SetAddressHelperPortInt(s int) func(*AddressHelper) error
SetAddressHelperPortInt sets the port of the addresshelper client's SAM bridge
Types ¶
type AddressHelper ¶
type AddressHelper struct {
// contains filtered or unexported fields
}
AddressHelper prioritizes the address sources
func NewAddressHelper ¶
func NewAddressHelper(AddressHelperURL, jumpHost, jumpPort string) (*AddressHelper, error)
NewAddressHelper creates a new address helper from string options
func NewAddressHelperFromOptions ¶
func NewAddressHelperFromOptions(opts ...func(*AddressHelper) error) (*AddressHelper, error)
NewAddressHelperFromOptions creates a new address helper from functional arguments
func (*AddressHelper) CheckAddressHelper ¶
CheckAddressHelper determines how the addresshelper will be used for an address
func (*AddressHelper) CheckAddressHelperString ¶
func (addressBook *AddressHelper) CheckAddressHelperString(req string) (string, bool)
CheckAddressHelperString determines how the addresshelper will be used for an address
type AddressHelperConnectOption ¶
type AddressHelperConnectOption func(*AddressHelper) error
AddressHelperConnectOption is a AddressHelper option
Click to show internal directories.
Click to hide internal directories.