~samwhited/xmpp

886b6ec2892ec7d31814f946bea2ca707732857b — Sam Whited 5 years ago 78e129c
Move package to mellium.im/xmpp
10 files changed, 13 insertions(+), 13 deletions(-)

M README.md
M bitbucketci.yml
M conn.go
M dial.go
M doc.go
M errors.go
M internal/doc.go
M jid/doc.go
M message_test.go
M stanza.go
M README.md => README.md +2 -2
@@ 1,6 1,6 @@
# Koiné XMPP

[![GoDoc](https://godoc.org/bitbucket.org/mellium/xmpp?status.svg)](https://godoc.org/bitbucket.org/mellium/xmpp)
[![GoDoc](https://godoc.org/mellium.im/xmpp?status.svg)](https://godoc.org/mellium.im/xmpp)
[![License](https://img.shields.io/badge/license-FreeBSD-blue.svg)](https://opensource.org/licenses/BSD-2-Clause)

**Koiné** is an XMPP library in Go originally designed for the


@@ 9,7 9,7 @@
To use it in your project, import it (or one of its subproject's) like so:

```go
import bitbucket.org/mellium/xmpp
import mellium.im/xmpp
```

## Issues and feature requests

M bitbucketci.yml => bitbucketci.yml +3 -3
@@ 2,9 2,9 @@ image: golang:latest
pipeline:
  - job:
      script:
        - mkdir -p "$GOPATH/src/bitbucket.org/mellium/"
        - ln -s "`pwd`" "$GOPATH/src/bitbucket.org/mellium/xmpp"
        - cd "$GOPATH/src/bitbucket.org/mellium/xmpp"
        - mkdir -p "$GOPATH/src/mellium.im/"
        - ln -s "`pwd`" "$GOPATH/src/mellium.im/xmpp"
        - cd "$GOPATH/src/mellium.im/xmpp"
        - GO15VENDOREXPERIMENT=1 go-wrapper download
        - make test
        - GO15VENDOREXPERIMENT=1 go test -cover -bench . -benchmem -run 'Benchmark.*' ./...

M conn.go => conn.go +1 -1
@@ 10,7 10,7 @@ import (
	"net"
	"time"

	"bitbucket.org/mellium/xmpp/jid"
	"mellium.im/xmpp/jid"
)

// A Conn represents an XMPP connection that can perform SRV lookups for a given

M dial.go => dial.go +1 -1
@@ 9,8 9,8 @@ import (
	"strconv"
	"time"

	"bitbucket.org/mellium/xmpp/jid"
	"golang.org/x/net/context"
	"mellium.im/xmpp/jid"
)

// Dial connects to the address on the named network.

M doc.go => doc.go +1 -1
@@ 6,4 6,4 @@
// Presence Protocol (more commonly known as XMPP).
//
// Be advised: This API is still unstable and is subject to change.
package xmpp // import "bitbucket.org/mellium/xmpp"
package xmpp // import "mellium.im/xmpp"

M errors.go => errors.go +1 -1
@@ 7,7 7,7 @@ package xmpp
import (
	"encoding/xml"

	"bitbucket.org/mellium/xmpp/jid"
	"mellium.im/xmpp/jid"
)

//go:generate stringer -type=errorType

M internal/doc.go => internal/doc.go +1 -1
@@ 4,4 4,4 @@

// Package internal provides non-exported functionality used by xmpp and its
// child packages.
package internal // import "bitbucket.org/mellium/xmpp/internal"
package internal // import "mellium.im/xmpp/internal"

M jid/doc.go => jid/doc.go +1 -1
@@ 6,4 6,4 @@
// "JID's") as described in RFC 7622.
//
// Be advised: This API is still unstable and is subject to change.
package jid // import "bitbucket.org/mellium/xmpp/jid"
package jid // import "mellium.im/xmpp/jid"

M message_test.go => message_test.go +1 -1
@@ 8,7 8,7 @@ import (
	"encoding/xml"
	"testing"

	"bitbucket.org/mellium/xmpp/jid"
	"mellium.im/xmpp/jid"
)

// TODO: Make this a table test and add some more complicated messages.

M stanza.go => stanza.go +1 -1
@@ 5,7 5,7 @@
package xmpp

import (
	"bitbucket.org/mellium/xmpp/jid"
	"mellium.im/xmpp/jid"
)

// stanza contains fields common to any any top level XMPP stanza (Presence,