~samwhited/xmpp

0d9967eaec9677404d0ee17e2bf2e3599e740f7c — Sam Whited 4 years ago f19cda0
oob: Add some namespace constants
1 files changed, 7 insertions(+), 1 deletions(-)

M oob/oob.go
M oob/oob.go => oob/oob.go +7 -1
@@ 2,7 2,7 @@
// Use of this source code is governed by the BSD 2-clause license that can be
// found in the LICENSE file.

// The oob package implements XEP-0066: Out of Band Data.
// Package oob implements XEP-0066: Out of Band Data.
package oob // import "mellium.im/xmpp/oob"

import (


@@ 11,6 11,12 @@ import (
	"mellium.im/xmpp"
)

// OOB namespaces provided as a convenience.
const (
	NS      = `jabber:x:oob`
	NSQuery = `jabber:iq:oob`
)

// IQ represents an OOB data query; for instance:
//
//     <iq type='set'