~samwhited/xmpp

ref: a42ef11e9469b0b65746f979e1bdf5155d1c13dd xmpp/internal/ns/ns.go -rw-r--r-- 826 bytes
a42ef11eSam Whited all: update copyright message 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2016 The Mellium Contributors.
// Use of this source code is governed by the BSD 2-clause
// license that can be found in the LICENSE file.

// Package ns provides namespace constants that are used by the xmpp package and
// other internal packages.
package ns // import "mellium.im/xmpp/internal/ns"

// List of commonly used namespaces.
const (
	Bind       = "urn:ietf:params:xml:ns:xmpp-bind"
	Client     = "jabber:client"
	SASL       = "urn:ietf:params:xml:ns:xmpp-sasl"
	Server     = "jabber:server"
	Stanza     = "urn:ietf:params:xml:ns:xmpp-stanzas"
	StartTLS   = "urn:ietf:params:xml:ns:xmpp-tls"
	Stream     = "http://etherx.jabber.org/streams"
	XMPPStream = "urn:ietf:params:xml:ns:xmpp-streams"
	WS         = "urn:ietf:params:xml:ns:xmpp-framing"
	XML        = "http://www.w3.org/XML/1998/namespace"
)