functions

package
v0.2.0-dev.40 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToXML

func ConvertToXML(edgexcontext *appcontext.Context, params ...interface{}) (bool, interface{})

func FormatPhoneDisplay

func FormatPhoneDisplay(edgexcontext *appcontext.Context, params ...interface{}) (bool, interface{})

func PrintXmlToConsole

func PrintXmlToConsole(edgexcontext *appcontext.Context, params ...interface{}) (bool, interface{})

Types

type Person

type Person struct {
	FirstName    string    `json:"first_name"`
	LastName     string    `json:"last_name"`
	Phone        PhoneInfo `json:"phone"`
	PhoneDisplay string    `json:"phone_display"`
}

type PhoneInfo

type PhoneInfo struct {
	CountryCode int `json:"country_code"`
	AreaCode    int `json:"area_code"`
	LocalPrefix int `json:"local_prefix"`
	LocalNumber int `json:"local_number"`
}

Jump to

Keyboard shortcuts

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