xmpp/layer2.go
changeset 145 21a390dd3506
parent 143 62166e57800e
child 147 d7679d991b17
equal deleted inserted replaced
144:9d7fdb1d2fc1 145:21a390dd3506
     2 // structures.
     2 // structures.
     3 
     3 
     4 package xmpp
     4 package xmpp
     5 
     5 
     6 import (
     6 import (
       
     7 	"encoding/xml"
       
     8 	"fmt"
     7 	"io"
     9 	"io"
     8 	"reflect"
    10 	"reflect"
     9 	"encoding/xml"
       
    10 	"fmt"
       
    11 	"strings"
    11 	"strings"
    12 )
    12 )
    13 
    13 
    14 func readXml(r io.Reader, ch chan<- interface{},
    14 func readXml(r io.Reader, ch chan<- interface{},
    15 	extStanza map[xml.Name]reflect.Type) {
    15 	extStanza map[xml.Name]reflect.Type) {