repo
stringlengths
6
47
file_url
stringlengths
77
269
file_path
stringlengths
5
186
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-07 08:35:43
2026-01-07 08:55:24
truncated
bool
2 classes
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/history/query.go
history/query.go
// Copyright 2021 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 history import ( "encoding/xml" "time" "mellium.im/xmlstream" "mellium.im/xmpp/form" "mellium.im/xmpp/jid" "mellium.im/xmpp/paging" ) // Query is a r...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/history/doc.go
history/doc.go
// Copyright 2021 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 history implements fetching messages from an archive. package history // import "mellium.im/xmpp/history" // The namespaces used by this package, provided...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/history/fin_test.go
history/fin_test.go
// Copyright 2021 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 history_test import ( "encoding/xml" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/history" "mellium.im/xmpp/internal/xmpptest" "mellium.im/xmpp/p...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/iq.go
stanza/iq.go
// 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 stanza import ( "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp/internal/ns" "mellium.im/xmpp/jid" ) // IQ ("Information Query") is used as a ge...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/example_pingstruct_test.go
stanza/example_pingstruct_test.go
// Copyright 2017 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 stanza_test import ( "encoding/xml" "log" "os" "mellium.im/xmpp/jid" "mellium.im/xmpp/stanza" ) // PingIQ represents a ping from XEP-0199: XMPP Ping. ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/delay_test.go
stanza/delay_test.go
// Copyright 2021 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 stanza_test import ( "testing" "time" "mellium.im/xmpp/internal/xmpptest" "mellium.im/xmpp/jid" "mellium.im/xmpp/stanza" ) var marshalDelayTestCases =...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/error.go
stanza/error.go
// 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 stanza import ( "encoding/xml" "errors" "io" "sort" "mellium.im/xmlstream" "mellium.im/xmpp/internal/ns" "mellium.im/xmpp/jid" ) // ErrorType is the...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/example_pingstream_test.go
stanza/example_pingstream_test.go
// Copyright 2017 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 stanza_test import ( "encoding/xml" "log" "os" "mellium.im/xmlstream" "mellium.im/xmpp/jid" "mellium.im/xmpp/stanza" ) // WrapPingIQ returns an xml.T...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/presence_test.go
stanza/presence_test.go
// 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 stanza_test import ( "bytes" "encoding/xml" "fmt" "strconv" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/attr" "mellium.im/xmpp/intern...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/error_test.go
stanza/error_test.go
// 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 stanza_test import ( "encoding/xml" "errors" "fmt" "io" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/xmpptest" "mellium.im/...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/id_test.go
stanza/id_test.go
// Copyright 2020 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 stanza_test import ( "encoding/xml" "regexp" "strconv" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/jid" "mellium.im/xmpp/stanza" ) ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/delay.go
stanza/delay.go
// Copyright 2021 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 stanza import ( "encoding/xml" "time" "mellium.im/xmlstream" "mellium.im/xmpp/jid" ) // Delay can be added to a stanza to indicate that stanza delivery...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/stanza.go
stanza/stanza.go
// Copyright 2020 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 stanza import ( "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp/internal/attr" "mellium.im/xmpp/jid" ) // Namespaces used by this package, provi...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/stanza_test.go
stanza/stanza_test.go
// Copyright 2017 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 stanza_test import ( "bytes" "encoding/xml" "fmt" "io" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/jid" "mellium.im/xmpp/stanza" ) ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/doc.go
stanza/doc.go
// Copyright 2017 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 stanza contains functionality for dealing with XMPP stanzas and // stanza level errors. // // Stanzas (Message, Presence, and IQ) are the basic building bl...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/presence.go
stanza/presence.go
// 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 stanza import ( "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp/internal/ns" "mellium.im/xmpp/jid" ) // Presence is an XMPP stanza that is used ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/message.go
stanza/message.go
// 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 stanza import ( "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp/internal/ns" "mellium.im/xmpp/jid" ) // Message is an XMPP stanza that contains ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/message_test.go
stanza/message_test.go
// Copyright 2015 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 stanza_test import ( "bytes" "encoding/xml" "fmt" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/attr" "mellium.im/xmpp/internal/ns" "me...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/example_error_test.go
stanza/example_error_test.go
// Copyright 2018 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 stanza_test import ( "encoding/xml" "fmt" "os" "strings" "mellium.im/xmpp/jid" "mellium.im/xmpp/stanza" ) func ExampleError_MarshalXML() { e := xml....
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stanza/iq_test.go
stanza/iq_test.go
// 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 stanza_test import ( "bytes" "encoding" "encoding/xml" "errors" "fmt" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/attr" "...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/oob/oob.go
oob/oob.go
// Copyright 2017 The Mellium Contributors. // Use of this source code is governed by the BSD 2-clause // license that can be found in the LICENSE file. //go:generate go run ../internal/genfeature -vars=Feature:NS,FeatureIQ:NS // Package oob implements XEP-0066: Out of Band Data. package oob // import "mellium.im/xmp...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/oob/oob_test.go
oob/oob_test.go
// Copyright 2020 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 oob_test import ( "encoding/xml" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/jid" "mellium.im/xmpp/oob" "mellium.im/xmpp/stanza" ) v...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/oob/disco.go
oob/disco.go
// Code generated by "genfeature -vars=Feature:NS,FeatureIQ:NS"; DO NOT EDIT. package oob import ( "mellium.im/xmpp/disco/info" ) // A list of service discovery features that are supported by this package. var ( Feature = info.Feature{Var: NS} FeatureIQ = info.Feature{Var: NS} )
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/bin/bob.go
bin/bob.go
// Copyright 2022 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 bin implements transfer of small bits-of-binary. // // Unlike Jingle File Transfer or In-Band Bytestreams which are designed for // larger blobs of data, b...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/bin/bob_test.go
bin/bob_test.go
// Copyright 2022 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 bin_test import ( "context" "encoding/base64" "encoding/xml" "errors" "reflect" "strconv" "testing" "time" "mellium.im/xmlstream" "mellium.im/xmpp...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/bin/disco.go
bin/disco.go
// Code generated by "genfeature -receiver Handler"; DO NOT EDIT. package bin import ( "mellium.im/xmpp/disco/info" ) // A list of service discovery features that are supported by this package. var ( Feature = info.Feature{Var: NS} ) // ForFeatures implements info.FeatureIter. func (Handler) ForFeatures(node stri...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/upload/upload_test.go
upload/upload_test.go
// Copyright 2022 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 upload_test import ( "encoding/xml" "net/http" "net/url" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/xmpptest" "mellium.im/xmpp/upload...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/upload/integration_test.go
upload/integration_test.go
// Copyright 2022 The Mellium Contributors. // Use of this source code is governed by the BSD 2-clause // license that can be found in the LICENSE file. //go:build integration // +build integration package upload_test import ( "bytes" "context" "crypto/tls" "io" "net/http" "testing" "mellium.im/sasl" "melli...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/upload/disco.go
upload/disco.go
// Code generated by "genfeature"; DO NOT EDIT. package upload import ( "mellium.im/xmpp/disco/info" ) // A list of service discovery features that are supported by this package. var ( Feature = info.Feature{Var: NS} )
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/upload/upload.go
upload/upload.go
// Copyright 2022 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 upload import ( "context" "encoding/xml" "io" "net/http" "net/url" "strconv" "mellium.im/xmlstream" "mellium.im/xmpp" "mellium.im/xmpp/jid" "melli...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/upload/doc.go
upload/doc.go
// Copyright 2022 The Mellium Contributors. // Use of this source code is governed by the BSD 2-clause // license that can be found in the LICENSE file. //go:generate go run ../internal/genfeature // Package upload implements sending files by uploading them to an HTTP server. package upload // import "mellium.im/xmpp...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/ibb/ibb_test.go
ibb/ibb_test.go
// Copyright 2022 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 ibb_test import ( "context" "errors" "fmt" "io" "net" "testing" "mellium.im/xmpp/ibb" "mellium.im/xmpp/internal/xmpptest" "mellium.im/xmpp/jid" "m...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/ibb/conn.go
ibb/conn.go
// Copyright 2020 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 ibb import ( "bufio" "bytes" "context" "encoding/base64" "io" "net" "sync" "time" "mellium.im/xmlstream" "mellium.im/xmpp" "mellium.im/xmpp/jid" ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/ibb/listen.go
ibb/listen.go
// Copyright 2022 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 ibb import ( "context" "errors" "net" "sync" "mellium.im/xmpp" "mellium.im/xmpp/jid" ) type expected struct { c chan *Conn cancel context.Canc...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/ibb/ibb_internal_test.go
ibb/ibb_internal_test.go
// Copyright 2024 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 ibb import ( "context" "mellium.im/xmpp/jid" ) // WaitExpect blocks until Expect has been called for the given JID/SID // combination. // // This method ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/ibb/integration_test.go
ibb/integration_test.go
// Copyright 2022 The Mellium Contributors. // Use of this source code is governed by the BSD 2-clause // license that can be found in the LICENSE file. //go:build integration // +build integration package ibb_test import ( "context" "crypto/tls" _ "embed" "encoding/xml" "io" "testing" "mellium.im/sasl" "me...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/ibb/payloads.go
ibb/payloads.go
// Copyright 2020 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 ibb import ( "encoding/xml" "strconv" "mellium.im/xmlstream" "mellium.im/xmpp/stanza" ) func closePayload(sid string) xml.TokenReader { return xmlstre...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/ibb/ibb.go
ibb/ibb.go
// Copyright 2020 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 ibb implements data transfer with XEP-0047: In-Band Bytestreams. // // In-band bytestreams (IBB) are a bidirectional data transfer mechanism that // can be...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/xtime/time.go
xtime/time.go
// Copyright 2020 The Mellium Contributors. // Use of this source code is governed by the BSD 2-clause // license that can be found in the LICENSE file. //go:generate go run ../internal/genfeature -receiver "h Handler" // Package xtime implements time related XMPP functionality. // // In particular, this package impl...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/xtime/time_test.go
xtime/time_test.go
// Copyright 2020 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 xtime_test import ( "context" "encoding/xml" "testing" "time" "mellium.im/xmlstream" "mellium.im/xmpp/internal/xmpptest" "mellium.im/xmpp/mux" "mell...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/xtime/integration_test.go
xtime/integration_test.go
// Copyright 2020 The Mellium Contributors. // Use of this source code is governed by the BSD 2-clause // license that can be found in the LICENSE file. //go:build integration // +build integration package xtime_test import ( "context" "crypto/tls" "testing" "time" "mellium.im/sasl" "mellium.im/xmpp" "melliu...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/xtime/disco.go
xtime/disco.go
// Code generated by "genfeature -receiver h Handler"; DO NOT EDIT. package xtime import ( "mellium.im/xmpp/disco/info" ) // A list of service discovery features that are supported by this package. var ( Feature = info.Feature{Var: NS} ) // ForFeatures implements info.FeatureIter. func (h Handler) ForFeatures(nod...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/xtime/time_example_test.go
xtime/time_example_test.go
// Copyright 2020 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 xtime_test import ( "encoding/xml" "fmt" "time" "mellium.im/xmpp/xtime" ) func ExampleTime() { t, _ := time.Parse(time.RFC3339, "2020-02-19T06:46:00-0...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/carbons/handler_test.go
carbons/handler_test.go
// Copyright 2021 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 carbons_test import ( "context" "encoding/xml" "strings" "testing" "mellium.im/xmpp/carbons" "mellium.im/xmpp/internal/xmpptest" "mellium.im/xmpp/mux...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/carbons/carbons_test.go
carbons/carbons_test.go
// Copyright 2021 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 carbons_test import ( "bytes" "context" "encoding/xml" "errors" "fmt" "strconv" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/carbon...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/carbons/disco.go
carbons/disco.go
// Code generated by "genfeature -receiver h Handler"; DO NOT EDIT. package carbons import ( "mellium.im/xmpp/disco/info" ) // A list of service discovery features that are supported by this package. var ( Feature = info.Feature{Var: NS} ) // ForFeatures implements info.FeatureIter. func (h Handler) ForFeatures(n...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/carbons/carbons.go
carbons/carbons.go
// Copyright 2021 The Mellium Contributors. // Use of this source code is governed by the BSD 2-clause // license that can be found in the LICENSE file. //go:generate go run ../internal/genfeature -receiver "h Handler" // Package carbons implements carbon copying messages to all interested clients. package carbons //...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/carbons/handler.go
carbons/handler.go
// Copyright 2021 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 carbons import ( "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp/mux" "mellium.im/xmpp/stanza" ) // Handle returns an option that registers a ha...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/doc.go
internal/doc.go
// 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 internal provides non-exported functionality used by xmpp and its // child packages. package internal // import "mellium.im/xmpp/internal"
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/genform/gen.go
internal/genform/gen.go
// Copyright 2021 The Mellium Contributors. // Use of this source code is governed by the BSD 2-clause // license that can be found in the LICENSE file. // The genform command creates form fields from a registry. package main // import "mellium.im/xmpp/internal/genform" import ( "bytes" "encoding/xml" "flag" "go/...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/waitdial.go
internal/integration/waitdial.go
// Copyright 2020 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 integration import ( "fmt" "net" "time" ) func waitSocket(network, socket string) error { timeout := time.Second for connAttempts := 10; connAttempts >...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/integration.go
internal/integration/integration.go
// Copyright 2020 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 integration contains helpers for integration testing. // // The integration test package should normally be used from within a file that // does not build ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/python/python.go
internal/integration/python/python.go
// Copyright 2022 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 python facilitates integration testing against Python scripts. package python // import "mellium.im/xmpp/internal/integration/python" import ( "context" ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/python/config.go
internal/integration/python/config.go
// Copyright 2022 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 python import ( _ "embed" "io" "text/template" "mellium.im/xmpp/internal/integration" "mellium.im/xmpp/jid" ) const ( baseModule = "xmpptest" base...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/aioxmpp/aioxmpp.go
internal/integration/aioxmpp/aioxmpp.go
// Copyright 2022 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 aioxmpp facilitates integration testing against aioxmpp. // // Tests are written by importing the automatically generated aioxmpp_client // Python package,...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/mellium/config.go
internal/integration/mellium/config.go
// Copyright 2020 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 mellium import ( "mellium.im/xmpp" ) // Config contains options that can be used to configure the newly started // server. type Config struct { ListenC2S ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/mellium/mellium.go
internal/integration/mellium/mellium.go
// Copyright 2020 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 mellium facilitates integration testing against clients. // // Because the integration package requires starting an external process this // package must b...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/prosody/config.go
internal/integration/prosody/config.go
// Copyright 2020 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 prosody import ( _ "embed" "fmt" "path/filepath" "strings" "text/template" ) // Config contains options that can be written to a Prosody config file. t...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/prosody/mod_muc_defaults.go
internal/integration/prosody/mod_muc_defaults.go
// Copyright 2022 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 prosody import ( _ "embed" "io" "mellium.im/xmpp/internal/integration" ) //go:embed mod_muc_defaults.lua var modMUCDefaults []byte // Channel configure...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/prosody/prosody.go
internal/integration/prosody/prosody.go
// Copyright 2020 The Mellium Contributors. // Use of this source code is governed by the BSD 2-clause // license that can be found in the LICENSE file. // // Some Lua embedded in this file is taken from the Prosody Community Modules // and is licensed under the terms of the MIT license, a copy of which can be // found...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/prosody/mod_trustall.go
internal/integration/prosody/mod_trustall.go
// Copyright 2022 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 prosody import ( _ "embed" "io" "mellium.im/xmpp/internal/integration" ) //go:embed mod_trustall.lua var modTrustAll []byte // TrustAll configures pros...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/mcabber/config.go
internal/integration/mcabber/config.go
// Copyright 2020 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 mcabber import ( "os" "path/filepath" "text/template" "mellium.im/xmpp/jid" ) // Config contains options that can be written to the config file. type C...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/mcabber/mcabber.go
internal/integration/mcabber/mcabber.go
// Copyright 2020 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 mcabber facilitates integration testing against Mcabber. package mcabber // import "mellium.im/xmpp/internal/integration/mcabber" import ( "bufio" "cont...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/sendxmpp/config.go
internal/integration/sendxmpp/config.go
// Copyright 2020 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 sendxmpp import ( "text/template" "mellium.im/xmpp/jid" ) // Config contains options that can be written to a sendxmpp config file. type Config struct { ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/sendxmpp/sendxmpp.go
internal/integration/sendxmpp/sendxmpp.go
// Copyright 2020 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 sendxmpp facilitates integration testing with sendxmpp. package sendxmpp // import "mellium.im/xmpp/internal/integration/sendxmpp" import ( "context" "f...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/jackal/config.go
internal/integration/jackal/config.go
// Copyright 2022 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 jackal import ( _ "embed" "path/filepath" "text/template" ) // Config contains options that can be written to a Jackal config file. type Config struct { ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/jackal/jackal.go
internal/integration/jackal/jackal.go
// Copyright 2022 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 jackal facilitates integration testing against Jackal. package jackal // import "mellium.im/xmpp/internal/integration/jackal" import ( "context" "fmt" ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/slixmpp/slixmpp.go
internal/integration/slixmpp/slixmpp.go
// Copyright 2022 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 slixmpp facilitates integration testing against slixmpp. // // Tests are accomplished by importing the automatically generated // slixmpp_client Python pac...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/ejabberd/ejabberd.go
internal/integration/ejabberd/ejabberd.go
// Copyright 2020 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 ejabberd facilitates integration testing against Ejabberd. package ejabberd // import "mellium.im/xmpp/internal/integration/ejabberd" import ( "context" ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/integration/ejabberd/config.go
internal/integration/ejabberd/config.go
// Copyright 2020 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 ejabberd import ( "path/filepath" "text/template" ) // Config contains options that can be written to a Prosody config file. type Config struct { VHosts ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/stream/stream.go
internal/stream/stream.go
// 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 stream contains internal stream parsing and handling behavior. package stream // import "mellium.im/xmpp/internal/stream" import ( "bufio" "context" "e...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/stream/reader.go
internal/stream/reader.go
// Copyright 2019 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 stream import ( "bytes" "encoding/xml" "errors" "io" "mellium.im/xmpp/stream" ) // Errors related to stream handling var ( ErrUnknownStreamElement = ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/stream/reader_test.go
internal/stream/reader_test.go
// Copyright 2020 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 stream_test import ( "encoding/xml" "errors" "io" "reflect" "strconv" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/stream" ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/stream/stream_test.go
internal/stream/stream_test.go
// 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 stream_test import ( "bytes" "context" "encoding/xml" "fmt" "io" "strings" "testing" "mellium.im/xmpp/internal/decl" intstream "mellium.im/xmpp/int...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/decl/decl_test.go
internal/decl/decl_test.go
// Copyright 2019 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 decl_test import ( "encoding/xml" "io" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/decl" "mellium.im/xmpp/internal/xmpptest" ) var ski...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/decl/decl.go
internal/decl/decl.go
// Copyright 2019 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 decl contains functionality related to XML declarations. package decl // import "mellium.im/xmpp/internal/decl" import ( "encoding/xml" ) const ( // XM...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/genfeature/gen.go
internal/genfeature/gen.go
// Copyright 2021 The Mellium Contributors. // Use of this source code is governed by the BSD 2-clause // license that can be found in the LICENSE file. // The genfeature command creates default disco features for a package. package main // import "mellium.im/xmpp/internal/genfeature" import ( "bytes" "flag" "go/f...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/ns/ns.go
internal/ns/ns.go
// 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" // Li...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/cid/cid_test.go
internal/cid/cid_test.go
// Copyright 2022 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 cid_test import ( "encoding/hex" "net/url" "strconv" "testing" "mellium.im/xmpp/internal/cid" ) const invalidURL = "%gh&%ij" var parseTestCases = []s...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/cid/cid.go
internal/cid/cid.go
// Copyright 2022 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 cid implements content-ID URLs. package cid // import "mellium.im/xmpp/internal/cid" import ( "encoding/hex" "errors" "fmt" "net/url" ) // Parse pars...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/xmpptest/session_test.go
internal/xmpptest/session_test.go
// Copyright 2017 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 xmpptest_test import ( "bytes" "context" "encoding/xml" "testing" "mellium.im/xmlstream" "mellium.im/xmpp" "mellium.im/xmpp/internal/xmpptest" "mell...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/xmpptest/marshal_test.go
internal/xmpptest/marshal_test.go
// Copyright 2021 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 xmpptest_test import ( "encoding/xml" "testing" "mellium.im/xmpp/internal/xmpptest" ) var marshalTestCases = []xmpptest.EncodingTestCase{ 0: { NoMars...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/xmpptest/features.go
internal/xmpptest/features.go
// Copyright 2020 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 xmpptest import ( "bytes" "context" "encoding/xml" "errors" "io" "strconv" "strings" "testing" "mellium.im/xmpp" ) type testWriter struct { prefi...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/xmpptest/marshal.go
internal/xmpptest/marshal.go
// Copyright 2021 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 xmpptest import ( "encoding/xml" "errors" "reflect" "strconv" "testing" ) // EncodingTestCase is a test that marshals the value and checks that the res...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/xmpptest/tokens_test.go
internal/xmpptest/tokens_test.go
// Copyright 2020 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 xmpptest_test import ( "io" "testing" "mellium.im/xmpp/internal/xmpptest" ) func TestTokens(t *testing.T) { toks := xmpptest.Tokens{0, 1, 2} for i := ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/xmpptest/transformers.go
internal/xmpptest/transformers.go
// Copyright 2019 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 xmpptest import ( "encoding/xml" "strconv" "strings" "testing" "mellium.im/xmlstream" ) // TransformerTestCase is a data driven test for XML transform...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/xmpptest/tokens.go
internal/xmpptest/tokens.go
// Copyright 2020 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 xmpptest import ( "encoding/xml" "io" ) // Tokens is a slice of XML tokens that can also act as an xml.TokenReader by // popping tokens from itself. // Th...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/xmpptest/session.go
internal/xmpptest/session.go
// Copyright 2017 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 xmpptest provides utilities for XMPP testing. package xmpptest // import "mellium.im/xmpp/internal/xmpptest" import ( "context" "io" "net" "strings" ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/genpubsub/gen.go
internal/genpubsub/gen.go
// Copyright 2022 The Mellium Contributors. // Use of this source code is governed by the BSD 2-clause // license that can be found in the LICENSE file. // The genpubsub command creates pubsub error condition and feature types. package main // import "mellium.im/xmpp/internal/genpubsub" import ( "bytes" "encoding/x...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/marshal/encode.go
internal/marshal/encode.go
// Copyright 2019 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 marshal contains functions for encoding structs as an XML token // stream. package marshal // import "mellium.im/xmpp/internal/marshal" import ( "bytes" ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/marshal/encode_test.go
internal/marshal/encode_test.go
// Copyright 2019 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 marshal_test import ( "bytes" "encoding/xml" "fmt" "reflect" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/marshal" "mellium.im/xmpp/st...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/wskey/key.go
internal/wskey/key.go
// Copyright 2021 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 wskey is a context key used by negotiators. // // We are doing exactly what the context package tells us not to do and using it // to pass optional argumen...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/attr/idgen_test.go
internal/attr/idgen_test.go
// 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 attr import ( "errors" "testing" ) func TestPublicRandomIDLength(t *testing.T) { if s := RandomID(); len(s) != IDLen { t.Errorf("Expected length %d got...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/attr/attr_test.go
internal/attr/attr_test.go
// Copyright 2019 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 attr_test import ( "encoding/xml" "strconv" "testing" "mellium.im/xmpp/internal/attr" ) var attrTests = [...]struct { attr []xml.Attr local string ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/attr/attr.go
internal/attr/attr.go
// Copyright 2017 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 attr import ( "encoding/xml" ) // Get returns the value and index of the first attribute with the provided // local name from a list of attributes or -1 an...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/attr/doc.go
internal/attr/doc.go
// Copyright 2019 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 attr contains unexported functionality related to XML attributes. package attr // import "mellium.im/xmpp/internal/attr"
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/attr/idgen.go
internal/attr/idgen.go
// 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 attr import ( "crypto/rand" "fmt" "io" ) // IDLen is the standard length of stanza identifiers in bytes. const IDLen = 16 // RandomID generates a new ra...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/saslerr/condition_string.go
internal/saslerr/condition_string.go
// Code generated by "stringer -type=Condition -linecomment"; DO NOT EDIT. package saslerr import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[ConditionNone-0] _ = x...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/saslerr/errors_test.go
internal/saslerr/errors_test.go
// 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 saslerr_test import ( "encoding/xml" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/saslerr" "mellium.im/xmpp/internal/xmpptest" ) // Comp...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/internal/saslerr/errors.go
internal/saslerr/errors.go
// 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 saslerr provides error conditions for the XMPP profile of SASL as // defined by RFC 6120 §6.5. package saslerr // import "mellium.im/xmpp/internal/saslerr"...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false