Fix typos in comments.
This commit is contained in:
parent
0d9f3a4de5
commit
519c5a1846
|
|
@ -30,7 +30,7 @@ type Stream struct {
|
||||||
incomingNamespace nsMap
|
incomingNamespace nsMap
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a XML stream connection. A Steam is used by an XMPP instance to
|
// Create a XML stream connection. A Stream is used by an XMPP instance to
|
||||||
// handle sending and receiving XML data over the net connection.
|
// handle sending and receiving XML data over the net connection.
|
||||||
func NewStream(addr string, config *StreamConfig) (*Stream, error) {
|
func NewStream(addr string, config *StreamConfig) (*Stream, error) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,8 +76,8 @@ func (fn MatcherFunc) Match(v interface{}) bool {
|
||||||
return fn(v)
|
return fn(v)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Uniquly identifies a stream fiter. Used to remove a filter that's no longer
|
// Uniquely identifies a stream filter. Used to remove a filter that's no
|
||||||
// needed.
|
// longer needed.
|
||||||
type FilterId int64
|
type FilterId int64
|
||||||
|
|
||||||
// Implements the error interface for a FilterId.
|
// Implements the error interface for a FilterId.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue