structs.go
changeset 32 4e68d8f89dc3
parent 31 1dc47df5c99f
child 33 571713f49494
equal deleted inserted replaced
31:1dc47df5c99f 32:4e68d8f89dc3
    50 	Lang string `xml:"attr"`
    50 	Lang string `xml:"attr"`
    51 	Text string `xml:"chardata"`
    51 	Text string `xml:"chardata"`
    52 }
    52 }
    53 var _ xml.Marshaler = &errText{}
    53 var _ xml.Marshaler = &errText{}
    54 
    54 
    55 // BUG(cjyar) Store this in Client and make it available to the app.
       
    56 type Features struct {
    55 type Features struct {
    57 	Starttls *starttls
    56 	Starttls *starttls
    58 	Mechanisms mechs
    57 	Mechanisms mechs
    59 	Bind *Generic
    58 	Bind *Generic
       
    59 	Session *Generic
       
    60 	Any *Generic
    60 }
    61 }
    61 
    62 
    62 type starttls struct {
    63 type starttls struct {
    63 	XMLName xml.Name
    64 	XMLName xml.Name
    64 	Required *string
    65 	Required *string