Skip to content

Commit

Permalink
Update the package to use the new opensource repository and name
Browse files Browse the repository at this point in the history
  • Loading branch information
winsock committed Oct 6, 2020
1 parent 4218b9f commit 8eba613
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion command/call/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package call

import (
"fmt"
"gitlab.percipia.com/libs/go/freeswitchesl/command"
"github.com/percipia/eslgo/command"
"net/textproto"
"strconv"
)
Expand Down
2 changes: 1 addition & 1 deletion command/call/hangup.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
package call

import (
"gitlab.percipia.com/libs/go/freeswitchesl/command"
"github.com/percipia/eslgo/command"
"net/textproto"
)

Expand Down
2 changes: 1 addition & 1 deletion command/call/nomedia.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
package call

import (
"gitlab.percipia.com/libs/go/freeswitchesl/command"
"github.com/percipia/eslgo/command"
"net/textproto"
)

Expand Down
2 changes: 1 addition & 1 deletion command/call/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
package call

import (
"gitlab.percipia.com/libs/go/freeswitchesl/command"
"github.com/percipia/eslgo/command"
"net/textproto"
)

Expand Down
2 changes: 1 addition & 1 deletion command/call/unicast.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
package call

import (
"gitlab.percipia.com/libs/go/freeswitchesl/command"
"github.com/percipia/eslgo/command"
"net"
"net/textproto"
)
Expand Down
4 changes: 2 additions & 2 deletions connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
* Contributor(s):
* Andrew Querol <[email protected]>
*/
package freeswitchesl
package eslgo

import (
"bufio"
"context"
"errors"
"github.com/google/uuid"
"gitlab.percipia.com/libs/go/freeswitchesl/command"
"github.com/percipia/eslgo/command"
"log"
"net"
"net/textproto"
Expand Down
4 changes: 2 additions & 2 deletions connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
* Contributor(s):
* Andrew Querol <[email protected]>
*/
package freeswitchesl
package eslgo

import (
"bufio"
"context"
"github.com/percipia/eslgo/command"
"github.com/stretchr/testify/assert"
"gitlab.percipia.com/libs/go/freeswitchesl/command"
"net"
"sync"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion event.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Contributor(s):
* Andrew Querol <[email protected]>
*/
package freeswitchesl
package eslgo

import (
"bufio"
Expand Down
2 changes: 1 addition & 1 deletion event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Contributor(s):
* Andrew Querol <[email protected]>
*/
package freeswitchesl
package eslgo

import (
"github.com/stretchr/testify/assert"
Expand Down
4 changes: 2 additions & 2 deletions example/inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ package main
import (
"context"
"fmt"
"gitlab.percipia.com/libs/go/freeswitchesl"
"github.com/percipia/eslgo"
"time"
)

func main() {
conn, err := freeswitchesl.Dial("127.0.0.1", "ClueCon", func() {
conn, err := eslgo.Dial("127.0.0.1", "ClueCon", func() {
fmt.Println("Inbound Connection Done")
})

Expand Down
6 changes: 3 additions & 3 deletions example/outbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ package main
import (
"context"
"fmt"
"gitlab.percipia.com/libs/go/freeswitchesl"
"github.com/percipia/eslgo"
"log"
)

func main() {
log.Fatalln(freeswitchesl.ListenAndServe(":8084", handleConnection))
log.Fatalln(eslgo.ListenAndServe(":8084", handleConnection))
}

func handleConnection(ctx context.Context, conn *freeswitchesl.Conn, response *freeswitchesl.RawResponse) {
func handleConnection(ctx context.Context, conn *eslgo.Conn, response *eslgo.RawResponse) {
fmt.Printf("Got connection! %#v\n", response)
_ = conn.EnableEvents(ctx)
originationUUID, response, err := conn.OriginateCall(ctx, "user/100", "&playback(misc/ivr-to_hear_screaming_monkeys.wav)", map[string]string{})
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module gitlab.percipia.com/libs/go/freeswitchesl
module github.com/percipia/eslgo

go 1.14

Expand Down
6 changes: 3 additions & 3 deletions helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Contributor(s):
* Andrew Querol <[email protected]>
*/
package freeswitchesl
package eslgo

import (
"context"
"errors"
"fmt"
"github.com/google/uuid"
"gitlab.percipia.com/libs/go/freeswitchesl/command"
"gitlab.percipia.com/libs/go/freeswitchesl/command/call"
"github.com/percipia/eslgo/command"
"github.com/percipia/eslgo/command/call"
"io"
"log"
"strings"
Expand Down
4 changes: 2 additions & 2 deletions inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
* Contributor(s):
* Andrew Querol <[email protected]>
*/
package freeswitchesl
package eslgo

import (
"context"
"fmt"
"gitlab.percipia.com/libs/go/freeswitchesl/command"
"github.com/percipia/eslgo/command"
"log"
"net"
)
Expand Down
4 changes: 2 additions & 2 deletions outbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
* Contributor(s):
* Andrew Querol <[email protected]>
*/
package freeswitchesl
package eslgo

import (
"context"
"errors"
"gitlab.percipia.com/libs/go/freeswitchesl/command"
"github.com/percipia/eslgo/command"
"log"
"net"
"time"
Expand Down
2 changes: 1 addition & 1 deletion response.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Contributor(s):
* Andrew Querol <[email protected]>
*/
package freeswitchesl
package eslgo

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Contributor(s):
* Andrew Querol <[email protected]>
*/
package freeswitchesl
package eslgo

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Contributor(s):
* Andrew Querol <[email protected]>
*/
package freeswitchesl
package eslgo

import (
"github.com/stretchr/testify/assert"
Expand Down

0 comments on commit 8eba613

Please sign in to comment.