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/pubsub/string.go
pubsub/string.go
// Code generated by "stringer -output=string.go -type=SubType,Condition,Feature -linecomment"; DO NOT EDIT. package pubsub 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...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/pubsub/config_integration_test.go
pubsub/config_integration_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. //go:build integration // +build integration package pubsub_test import ( "context" "crypto/tls" "testing" "mellium.im/sasl" "mellium.im/xmpp" "mellium.im/xm...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/pubsub/doc.go
pubsub/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. //go:generate go run ../internal/genpubsub //go:generate go run -tags=tools golang.org/x/tools/cmd/stringer -output=string.go -type=SubType,Condition,Feature -linecom...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/pubsub/configure.go
pubsub/configure.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 pubsub import ( "context" "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp" "mellium.im/xmpp/form" "mellium.im/xmpp/stanza" ) // GetConfig fetc...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/blocklist/blocking.go
blocklist/blocking.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 blocklist implements blocking and unblocking of contacts. package blocklist // import "mellium.im/xmpp/blocklist" import ( "context" "encoding/xml" "m...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/blocklist/integration_test.go
blocklist/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 blocklist_test import ( "context" "crypto/tls" _ "embed" "encoding/xml" "io" "testing" "mellium.im/sasl...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/blocklist/blocking_test.go
blocklist/blocking_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 blocklist_test import ( "context" "encoding/xml" "errors" "reflect" "strconv" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/blocklist...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/blocklist/handler.go
blocklist/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 blocklist import ( "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp/jid" "mellium.im/xmpp/mux" "mellium.im/xmpp/stanza" ) // Handle returns an o...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/uri/iri_test.go
uri/iri_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 uri_test import ( "errors" "net/url" "reflect" "strconv" "testing" "mellium.im/xmpp/jid" "mellium.im/xmpp/uri" ) var parseTests = [...]struct { raw...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/uri/iri.go
uri/iri.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 uri parses XMPP URI and IRI's as defined in RFC 5122. // // It also provides easy access to query components defined in XEP-0147: XMPP // URI Scheme Query ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/uri/export_test.go
uri/export_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 uri var TestErrBadScheme = errBadScheme
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/ping/ping.go
ping/ping.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 -receiver "h Handler" // Package ping implements XEP-0199: XMPP Ping. package ping // import "mellium.im/xmpp/ping" impo...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/ping/ping_test.go
ping/ping_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 ping_test import ( "context" "encoding/xml" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/disco/info" "mellium.im/xmpp/internal/xmpptes...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/ping/integration_test.go
ping/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 ping_test import ( "context" "crypto/tls" _ "embed" "encoding/xml" "testing" "time" "mellium.im/sasl" ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/ping/disco.go
ping/disco.go
// Code generated by "genfeature -receiver h Handler"; DO NOT EDIT. package ping 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(node...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/forward/forward.go
forward/forward.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 // Package forward implements forwarding messages. package forward // import "mellium.im/xmpp/forward" import ( "encodi...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/forward/disco.go
forward/disco.go
// Code generated by "genfeature"; DO NOT EDIT. package forward 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/forward/forward_test.go
forward/forward_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 forward_test import ( "encoding/xml" "fmt" "strings" "testing" "time" "mellium.im/xmlstream" "mellium.im/xmpp/delay" "mellium.im/xmpp/forward" "mel...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/file/metadata.go
file/metadata.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 file contains shared functionality between various file upload // mechanisms. package file // import "mellium.im/xmpp/file" import ( "encoding/xml" "str...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/file/metadata_test.go
file/metadata_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 file_test import ( "testing" "time" "mellium.im/xmpp/crypto" "mellium.im/xmpp/file" "mellium.im/xmpp/internal/xmpptest" ) var marshalTestCases = []xmp...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stream/stream.go
stream/stream.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 import ( "encoding/xml" "mellium.im/xmpp/jid" ) // Info contains metadata extracted from a stream start token. type Info struct { Name xml.Nam...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stream/error.go
stream/error.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 stream import ( "encoding/xml" "io" "net" "mellium.im/xmlstream" "mellium.im/xmpp/internal/ns" ) // A list of stream errors defined in RFC 6120 §4.9.3...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stream/error_test.go
stream/error_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 stream_test import ( "encoding/xml" "errors" "fmt" "net" "reflect" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/stream" ) var ( _ error ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stream/version_test.go
stream/version_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 ( "encoding/xml" "fmt" "testing" "mellium.im/xmpp/stream" ) // Compile time interface checks. var _ fmt.Stringer = &stream.Version{}...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stream/benchmark_test.go
stream/benchmark_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 ( "net" "testing" "mellium.im/xmpp/stream" ) func BenchmarkSeeOtherHostError(b *testing.B) { ip := &net.IPAddr{IP: net.ParseIP("2001...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stream/version.go
stream/version.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 import ( "encoding/xml" "errors" "fmt" "strconv" "strings" ) // Common XMPP versions. var ( DefaultVersion = Version{1, 0} // The default versi...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/stream/doc.go
stream/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 stream implements stream level functionality. // // The various stream errors defined by RFC 6120 § 4.9 are included as a // convenience, but most people w...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/roster/roster_test.go
roster/roster_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 roster_test import ( "context" "encoding/xml" "errors" "reflect" "strconv" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/xmp...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/roster/roster.go
roster/roster.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 roster implements contact list functionality. package roster // import "mellium.im/xmpp/roster" import ( "context" "encoding/xml" "errors" "io" "mel...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/roster/integration_test.go
roster/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 roster_test import ( "context" "crypto/tls" "reflect" "testing" "mellium.im/sasl" "mellium.im/xmpp" "me...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/roster/ver.go
roster/ver.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 roster import ( "context" "encoding/xml" "io" "mellium.im/xmlstream" "mellium.im/xmpp" ) // Versioning returns a stream feature that advertises roster...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/version/version_test.go
version/version_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 version_test import ( "context" "encoding/xml" "reflect" "strconv" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/xmpptest" "...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/version/disco.go
version/disco.go
// Code generated by "genfeature"; DO NOT EDIT. package version 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/version/version.go
version/version.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 // Package version queries a remote entity for software version info. package version // import "mellium.im/xmpp/version"...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/styling/fuzz_test.go
styling/fuzz_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 styling_test import ( "bytes" "errors" "io" "testing" "mellium.im/xmpp/styling" ) func FuzzParseDocument(f *testing.F) { f.Add([]byte{'*'}) f.Add([]...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/styling/disable_test.go
styling/disable_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 styling_test import ( "encoding/xml" "strconv" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/stanza" "mellium.im/xmpp/styling" ) var (...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/styling/styling.go
styling/styling.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 //go:generate go run -tags=tools golang.org/x/tools/cmd/stringer -type=Style // Package styling implements XEP-0393: Mess...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/styling/styling_test.go
styling/styling_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 styling_test import ( "bufio" "bytes" "errors" "fmt" "io" "strconv" "strings" "testing" "mellium.im/xmpp/styling" ) var _ fmt.Stringer = styling.S...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/styling/style_string.go
styling/style_string.go
// Code generated by "stringer -type=Style"; DO NOT EDIT. package styling import "strconv" const _Style_name = "BlockPreBlockQuoteSpanEmphSpanStrongSpanStrikeSpanPreBlockPreStartBlockPreEndBlockQuoteStartBlockQuoteEndSpanEmphStartSpanEmphEndSpanStrongStartSpanStrongEndSpanStrikeStartSpanStrikeEndSpanPreStartSpanPreE...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/styling/example_test.go
styling/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 styling_test import ( "fmt" "html" "io" "strings" "mellium.im/xmpp/styling" ) func Example_html() { r := strings.NewReader(`The full title is _Twelft...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/styling/disable.go
styling/disable.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 styling import ( "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp/stanza" ) const ( // NS is the message styling namespace, exported as a conveni...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/styling/disco.go
styling/disco.go
// Code generated by "genfeature"; DO NOT EDIT. package styling 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/styling/export_test.go
styling/export_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. //go:build export // +build export package styling_test // This file is a tool that exports test data in JSON format for other libraries // and languages to use. //...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/commands/actions.go
commands/actions.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 commands import ( "encoding/xml" "mellium.im/xmlstream" ) //go:generate go run -tags=tools golang.org/x/tools/cmd/stringer -type=Actions -linecomment //...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/commands/commands.go
commands/commands.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 // Package commands implements executable ad-hoc commands. package commands // import "mellium.im/xmpp/commands" import ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/commands/actions_test.go
commands/actions_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 commands_test import ( "testing" "mellium.im/xmpp/commands" "mellium.im/xmpp/internal/xmpptest" ) func TestActions(t *testing.T) { xmpptest.RunEncoding...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/commands/notetype_string.go
commands/notetype_string.go
// Code generated by "stringer -type=NoteType -linecomment"; DO NOT EDIT. package commands import "strconv" const _NoteType_name = "infowarnerror" var _NoteType_index = [...]uint8{0, 4, 8, 13} func (i NoteType) String() string { if i < 0 || i >= NoteType(len(_NoteType_index)-1) { return "NoteType(" + strconv.Fo...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/commands/response.go
commands/response.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 commands import ( "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp/stanza" ) // Response is the response to a command. // It may contain other com...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/commands/iter.go
commands/iter.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 commands import ( "context" "mellium.im/xmpp" "mellium.im/xmpp/disco" "mellium.im/xmpp/jid" "mellium.im/xmpp/stanza" ) // Iter is an iterator over Com...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/commands/actions_string.go
commands/actions_string.go
// Code generated by "stringer -type=Actions -linecomment"; DO NOT EDIT. package commands import "strconv" const ( _Actions_name_0 = "prevnext" _Actions_name_1 = "complete" ) var ( _Actions_index_0 = [...]uint8{0, 4, 8} ) func (i Actions) String() string { switch { case 1 <= i && i <= 2: i -= 1 return _Ac...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/commands/notes_test.go
commands/notes_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 commands_test import ( "encoding/xml" "testing" "mellium.im/xmpp/commands" "mellium.im/xmpp/internal/xmpptest" ) func TestNotes(t *testing.T) { xmppte...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/commands/notes.go
commands/notes.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 commands //go:generate go run -tags=tools golang.org/x/tools/cmd/stringer -type=NoteType -linecomment import ( "encoding/xml" "fmt" "mellium.im/xmlstrea...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/commands/disco.go
commands/disco.go
// Code generated by "genfeature"; DO NOT EDIT. package commands 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/commands/response_test.go
commands/response_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 commands_test import ( "encoding/xml" "testing" "mellium.im/xmpp/commands" "mellium.im/xmpp/internal/xmpptest" ) func TestNoteTypes(t *testing.T) { xm...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/mux/option.go
mux/option.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 mux import ( "encoding/xml" "mellium.im/xmpp" "mellium.im/xmpp/disco/info" "mellium.im/xmpp/stanza" ) // Option configures a ServeMux. type Option func...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/mux/mux_test.go
mux/mux_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 mux_test import ( "bytes" "encoding/xml" "errors" "fmt" "io" "strconv" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/disco/info" "m...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/mux/stanza.go
mux/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 mux import ( "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp/stanza" ) // IQHandler responds to IQ stanzas. type IQHandler interface { HandleIQ(...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/mux/mux.go
mux/mux.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 mux contains a simple XMPP multiplexer. // // Aside from implementing its own muxer, this package contains handler // interfaces designed to be standard ac...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/paging/rsm_test.go
paging/rsm_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 paging_test import ( "encoding/xml" "strconv" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/paging" ) var ( _ xmlstream.Marshaler = (*...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/paging/types.go
paging/types.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 paging import ( "encoding/xml" "strconv" "mellium.im/xmlstream" ) // RequestCount can be added to a query to request the count of elements without // re...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/paging/rsm.go
paging/rsm.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 // Package paging implements result set management. package paging // import "mellium.im/xmpp/paging" import ( "encodin...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/paging/disco.go
paging/disco.go
// Code generated by "genfeature"; DO NOT EDIT. package paging 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/disco/items_test.go
disco/items_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 disco_test import ( "context" "encoding/xml" "reflect" "strconv" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/disco" "mellium.im/xmp...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/handler_test.go
disco/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 disco_test import ( "context" "encoding/xml" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/disco" "mellium.im/xmpp/disco/items" "mellium.im/xmpp/...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/items.go
disco/items.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 disco import ( "context" "encoding/xml" "errors" "mellium.im/xmlstream" "mellium.im/xmpp" "mellium.im/xmpp/disco/items" "mellium.im/xmpp/paging" "me...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/features.go
disco/features.go
// Code generated by "genfeature -filename features.go -receiver h *discoHandler -vars Feature:NSInfo"; DO NOT EDIT. package disco import ( "mellium.im/xmpp/disco/info" ) // A list of service discovery features that are supported by this package. var ( Feature = info.Feature{Var: NSInfo} ) // ForFeatures implemen...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/gen.go
disco/gen.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:build ignore // +build ignore // The gen command creates disco identity options from the disco-categories // registry located at https://xmpp.org/registrar/disc...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/caps.go
disco/caps.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 disco import ( "context" "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp" "mellium.im/xmpp/crypto" "mellium.im/xmpp/mux" "mellium.im/xmpp/stan...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/info_test.go
disco/info_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 disco_test import ( "bytes" "encoding/xml" "testing" "mellium.im/xmpp/disco" "mellium.im/xmpp/disco/info" ) func TestMarshalQuery(t *testing.T) { con...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/integration_test.go
disco/integration_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. //go:build integration // +build integration package disco_test import ( "context" "crypto/tls" "testing" "mellium.im/sasl" "mellium.im/xmpp" "mellium.im/xmp...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/disco.go
disco/disco.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 gen.go //go:generate go run ../internal/genfeature -filename features.go -receiver "h *discoHandler" -vars Feature:NSInfo // Package disco imple...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/caps_test.go
disco/caps_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 disco_test import ( "crypto/sha1" "encoding/xml" "hash" "strconv" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/crypto" "mellium.im/xmpp/disco" ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/handler.go
disco/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 disco import ( "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp/disco/info" "mellium.im/xmpp/disco/items" "mellium.im/xmpp/form" "mellium.im/xmp...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/categories.go
disco/categories.go
// Code generated by running "go generate" in mellium.im/xmpp/disco. DO NOT EDIT. package disco import ( "mellium.im/xmpp/disco/info" ) // Predefined identities generated from the Service Discovery Identities // Registry as registered with the XMPP Registrar. var ( // Category: The "account" category is to be used...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/info.go
disco/info.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 disco import ( "context" "encoding/base64" "encoding/xml" "fmt" "hash" "io" "sort" "mellium.im/xmlstream" "mellium.im/xmpp" "mellium.im/xmpp/disco...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/items/items_test.go
disco/items/items_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 items_test import ( "encoding/xml" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/disco" "mellium.im/xmpp/disco/items" "mellium.im/xmpp/internal/xm...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/items/items.go
disco/items/items.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 items contains service discovery items. // // These were separated out into a separate package to prevent import loops. package items // import "mellium.im...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/info/identity_test.go
disco/info/identity_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 info_test import ( "encoding/xml" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/disco" "mellium.im/xmpp/disco/info" "mellium.im/xmpp/internal/xmpp...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/info/feature_test.go
disco/info/feature_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 info_test import ( "encoding/xml" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/disco" "mellium.im/xmpp/disco/info" "mellium.im/xmpp/internal/xmpp...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/info/feature.go
disco/info/feature.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 info contains service discovery features. // // These were separated out into a separate package to prevent import loops. package info // import "mellium.i...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/disco/info/identity.go
disco/info/identity.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 info import ( "encoding/xml" "mellium.im/xmlstream" "mellium.im/xmpp/internal/ns" ) // Identity is the type and category of a node on the network. // No...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/receipts/receipts.go
receipts/receipts.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 receipts implements XEP-0184: Message Delivery Receipts. package receipts // import "me...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/receipts/disco.go
receipts/disco.go
// Code generated by "genfeature -receiver h *Handler"; DO NOT EDIT. package receipts 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) ForFeature...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/receipts/receipts_test.go
receipts/receipts_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 receipts_test import ( "bytes" "context" "encoding/xml" "io" "strconv" "strings" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/internal/xmpptes...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/jid/unsafe_test.go
jid/unsafe_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 jid_test import ( "fmt" "testing" "mellium.im/xmpp/jid" ) func TestInvalidUnsafeParseJIDs(t *testing.T) { for i, tc := range invalidJIDs { t.Run(fmt....
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/jid/jid.go
jid/jid.go
// Copyright 2014 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 jid import ( "bytes" "encoding/xml" "errors" "net" "strconv" "strings" "unicode/utf8" "golang.org/x/net/idna" "golang.org/x/text/secure/precis" ) ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/jid/fuzz_test.go
jid/fuzz_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 gofuzzbeta // +build gofuzzbeta package jid_test import ( "testing" "mellium.im/xmpp/jid" ) func FuzzParseJID(f *testing.F) { f.Add("@") f.Add("/")...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/jid/jid_test.go
jid/jid_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 jid_test import ( "bytes" "encoding/xml" "fmt" "net" "strings" "testing" "mellium.im/xmpp/jid" ) // Compile time checks to make sure that JID and *j...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/jid/unsafe.go
jid/unsafe.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 jid // Unsafe is a JID that has not had any normalization, length checks, UTF-8 // validation, or other safety measures applied. // // It can be a source of ...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/jid/benchmark_test.go
jid/benchmark_test.go
// Copyright 2014 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 jid import ( "testing" ) func BenchmarkSplit(b *testing.B) { for i := 0; i < b.N; i++ { SplitString("user@example.com/resource") } } func BenchmarkPar...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/jid/disco.go
jid/disco.go
// Code generated by "genfeature -vars=FeatureEscaping:`jid\20escaping`"; DO NOT EDIT. package jid import ( "mellium.im/xmpp/disco/info" ) // A list of service discovery features that are supported by this package. var ( FeatureEscaping = info.Feature{Var: `jid\20escaping`} )
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/jid/doc.go
jid/doc.go
// Copyright 2014 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=FeatureEscaping:`jid\20escaping` // Package jid implements the XMPP address format. // // XMPP addresses, more ofte...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/jid/escape.go
jid/escape.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 jid import ( "bytes" "golang.org/x/text/transform" ) // Transformer implements the transform.Transformer and // transform.SpanningTransformer interfaces....
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/jid/escape_test.go
jid/escape_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 jid import ( "fmt" "testing" "golang.org/x/text/transform" ) var _ transform.SpanningTransformer = (*escapeMapping)(nil) const allescaped = `\20\22\26\...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/history/history_test.go
history/history_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 ( "context" "encoding/xml" "testing" "mellium.im/xmlstream" "mellium.im/xmpp/history" "mellium.im/xmpp/internal/xmpptest" "melliu...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/history/fin.go
history/fin.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" "strconv" "mellium.im/xmlstream" "mellium.im/xmpp/paging" ) // Result is the metadata (not messages) returned from a MA...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/history/iter.go
history/iter.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" ) // Iter is an iterator over message history. type Iter struct { err error msgC chan xml.TokenReader cur xml.TokenRea...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/history/query_test.go
history/query_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" "time" "mellium.im/xmlstream" "mellium.im/xmpp/history" "mellium.im/xmpp/internal/xmpptest" "mellium.i...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false
mellium/xmpp
https://github.com/mellium/xmpp/blob/a3dd6d7ce77932826d4d1683a9bd5d884226339e/history/history.go
history/history.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 ( "context" "encoding/xml" "fmt" "sync" "mellium.im/xmlstream" "mellium.im/xmpp" "mellium.im/xmpp/internal/attr" "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/history/integration_test.go
history/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 history_test import ( "context" "crypto/tls" "testing" "mellium.im/sasl" "mellium.im/xmlstream" "mellium...
go
BSD-2-Clause
a3dd6d7ce77932826d4d1683a9bd5d884226339e
2026-01-07T09:45:51.690808Z
false