aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetsuo <ogunduz@gmail.com>2024-11-30 04:37:04 +0100
committertetsuo <ogunduz@gmail.com>2024-11-30 04:37:04 +0100
commitcac67d6ca1e144ef12607794622a6710a395a2b0 (patch)
treef3c5f898bc2080b0b3f6815b284d774a6b15d98e
parente8d51fed2fa8c480d2cd9149309291dba1e1bc12 (diff)
downloadmuxer-cac67d6ca1e144ef12607794622a6710a395a2b0.tar.gz
muxer-cac67d6ca1e144ef12607794622a6710a395a2b0.zip
Maintenance
-rw-r--r--README.md11
-rw-r--r--example_test.go2
-rw-r--r--go.mod9
-rw-r--r--go.sum12
-rw-r--r--reader_test.go2
-rw-r--r--writer_test.go2
6 files changed, 7 insertions, 31 deletions
diff --git a/README.md b/README.md
index 7ca24e2..99833a9 100644
--- a/README.md
+++ b/README.md
@@ -1,20 +1,13 @@
-
# binproto
`binproto` is a lightweight Go library designed to facilitate low-level binary protocol communication. It enables efficient, multiplexed messaging, making it well-suited for network applications requiring reliable and fast binary data exchange.
-## Features
-
-- **Multiplexed Channels**: Supports multiple channels over a single connection.
-- **Efficient Framing**: Provides an efficient and easy-to-use binary framing mechanism.
-- **Customizable Buffers**: Allows control over buffer sizes for optimized performance.
-
## Installation
Install `binproto` by running:
```sh
-go get github.com/onur1/binproto
+go get github.com/tetsuo/binproto
```
## Usage
@@ -27,7 +20,7 @@ package main
import (
"log"
"net"
- "github.com/onur1/binproto"
+ "github.com/tetsuo/binproto"
)
func main() {
diff --git a/example_test.go b/example_test.go
index bc65a03..669ff52 100644
--- a/example_test.go
+++ b/example_test.go
@@ -6,7 +6,7 @@ import (
"net"
"time"
- "github.com/onur1/binproto"
+ "github.com/tetsuo/binproto"
)
func ExampleDial() {
diff --git a/go.mod b/go.mod
index 5994e71..384e0f2 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/onur1/binproto
+module github.com/tetsuo/binproto
go 1.17
@@ -6,13 +6,8 @@ require github.com/stretchr/testify v1.7.0
require (
github.com/davecgh/go-spew v1.1.0 // indirect
- github.com/flynn/noise v1.0.0
- github.com/pkg/errors v0.9.1
github.com/pmezard/go-difflib v1.0.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)
-require (
- golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 // indirect
- golang.org/x/sys v0.0.0-20201119102817-f84b799fce68 // indirect
-)
+require gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
diff --git a/go.sum b/go.sum
index e8581ff..1b65557 100644
--- a/go.sum
+++ b/go.sum
@@ -1,27 +1,15 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/flynn/noise v1.0.0 h1:DlTHqmzmvcEiKj+4RYo/imoswx/4r6iBlCMfVtrMXpQ=
-github.com/flynn/noise v1.0.0/go.mod h1:xbMo+0i6+IGbYdJhF31t2eR1BIU0CYc12+BNAKwUTag=
github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
-github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
-github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
-golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 h1:It14KIkyBFYkHkwZ7k45minvA9aorojkyjGk9KJ5B/w=
-golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
-golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
-golang.org/x/sys v0.0.0-20201119102817-f84b799fce68 h1:nxC68pudNYkKU6jWhgrqdreuFiOQWj1Fs7T3VrH4Pjw=
-golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
-golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/reader_test.go b/reader_test.go
index c2b7de7..1da6f17 100644
--- a/reader_test.go
+++ b/reader_test.go
@@ -11,7 +11,7 @@ import (
"testing"
"time"
- "github.com/onur1/binproto"
+ "github.com/tetsuo/binproto"
"github.com/stretchr/testify/assert"
)
diff --git a/writer_test.go b/writer_test.go
index 292b125..9f20f80 100644
--- a/writer_test.go
+++ b/writer_test.go
@@ -5,7 +5,7 @@ import (
"bytes"
"testing"
- "github.com/onur1/binproto"
+ "github.com/tetsuo/binproto"
)
func TestSend(t *testing.T) {