Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit c54b657

Browse files
committed
Merge pull request #24 from LK4D4/goimporting_repo
Goimporting libchan repo, so travis will be happy
2 parents c0e08e2 + 6017099 commit c54b657

6 files changed

Lines changed: 13 additions & 9 deletions

File tree

http2/listener.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package http2
22

3-
import (
4-
"net"
5-
)
3+
import "net"
64

75
// ListenSession is a session manager which accepts new
86
// connections and spawns spdy connection managers.

http2/listener_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package http2
22

33
import (
44
"bytes"
5-
"github.com/docker/libchan"
65
"net"
76
"testing"
7+
8+
"github.com/docker/libchan"
89
)
910

1011
func TestListenSession(t *testing.T) {

http2/spdy.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ import (
88
"encoding/base64"
99
"errors"
1010
"fmt"
11-
"github.com/docker/spdystream"
1211
"io"
1312
"net"
1413
"net/http"
1514
"os"
1615
"syscall"
16+
17+
"github.com/docker/spdystream"
1718
)
1819

1920
// Authenticator is a function to provide authentication to

http2/stream.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ package http2
22

33
import (
44
"encoding/base64"
5-
"github.com/docker/libchan"
6-
"github.com/docker/spdystream"
75
"io"
86
"net"
97
"net/http"
108
"os"
119
"sync"
10+
11+
"github.com/docker/libchan"
12+
"github.com/docker/spdystream"
1213
)
1314

1415
// StreamSession is a session manager on top of a network

http2/stream_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ package http2
22

33
import (
44
"bytes"
5+
56
"github.com/docker/libchan"
67
//"github.com/docker/spdystream"
7-
"github.com/docker/libchan/unix"
88
"io"
99
"net"
1010
"os"
1111
"testing"
12+
13+
"github.com/docker/libchan/unix"
1214
)
1315

1416
func TestBeamSession(t *testing.T) {

unix/conn_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package unix
22

33
import (
4+
"testing"
5+
46
lch "github.com/docker/libchan"
57
"github.com/dotcloud/docker/pkg/testutils"
6-
"testing"
78
)
89

910
func TestPair(t *testing.T) {

0 commit comments

Comments
 (0)