func ListenEndpointFromString(param string) (*ListenEndpoint, error) {
	pieces := strings.SplitN(param, "::", 3)
	le := ListenEndpoint{
		Type:   pieces[0],
		Format: pieces[1],
		Addr:   pieces[2],
	}

	return &le, nil
}
// Takes a flat string and parses out a ListenEndpoint
Takes a flat string and parses out a ListenEndpoint
// Takes a flat string and parses out a ListenEndpoint
func ListenEndpointFromString(param string) (*ListenEndpoint, error) {
	pieces := strings.SplitN(param, "::", 3)
	le := ListenEndpoint{
		Type:   pieces[0],
		Format: pieces[1],
		Addr:   pieces[2],
	}
	return &le, nil
}
func ListenEndpointFromString ( param string ) ( * ListenEndpoint , error ) { pieces := strings . SplitN ( param , " " , 3 ) le := ListenEndpoint { Type : pieces [ 0 ] , Format : pieces [ 1 ] , Addr : pieces [ 2 ] , } return & le , nil }
Takes a flat string and parses out a ListenEndpoint
Takes a flat string and parses out a ListenEndpoint