Skip to content

Commit e5b2332

Browse files
committed
Use sockjs-go/v3
1 parent 220f7f4 commit e5b2332

File tree

4 files changed

+14
-18
lines changed

4 files changed

+14
-18
lines changed

README.md

-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ tail -f | awk
1919
tail -f | sed
2020
```
2121

22-
What sets tailon apart from other similar projects is:
23-
24-
* Fully self-contained executable. Just download (or build) and run.
25-
* Small footprint. The tailon executable sits at 2.5MB in size and uses 10MB of RSS.
26-
* Responsive and minimal user-interface.
27-
2822
## Install
2923

3024
Download a build for your platform from the [releases] page or install using `go get`:

go.mod

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@ go 1.23.2
44

55
require (
66
github.com/gorilla/handlers v1.5.2
7+
github.com/igm/sockjs-go/v3 v3.0.3
78
github.com/mitchellh/mapstructure v1.5.0
89
github.com/pelletier/go-toml v1.9.5
910
github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c
1011
github.com/shurcooL/httpgzip v0.0.0-20230704072819-d1585fc322fa
1112
github.com/spf13/pflag v1.0.5
12-
gopkg.in/igm/sockjs-go.v2 v2.1.0
1313
)
1414

1515
require (
1616
github.com/felixge/httpsnoop v1.0.3 // indirect
1717
github.com/gorilla/websocket v1.4.2 // indirect
18-
github.com/shurcooL/vfsgen v0.0.0-20230704071429-0000e147ea92 // indirect
1918
golang.org/x/net v0.30.0 // indirect
2019
golang.org/x/text v0.19.0 // indirect
2120
golang.org/x/tools v0.26.0 // indirect

go.sum

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,34 @@
1+
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
2+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
13
github.com/felixge/httpsnoop v1.0.3 h1:s/nj+GCswXYzN5v2DpNMuMQYe+0DDwt5WVCU6CWBdXk=
24
github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
35
github.com/gorilla/handlers v1.5.2 h1:cLTUSsNkgcwhgRqvCNmdbRWG0A3N4F+M2nWKdScwyEE=
46
github.com/gorilla/handlers v1.5.2/go.mod h1:dX+xVpaxdSw+q0Qek8SSsl3dfMk3jNddUkMzo0GtH0w=
57
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
68
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
9+
github.com/igm/sockjs-go/v3 v3.0.3 h1:TlRBWiMzYO73iF6F9Q2Frgz90sN35VJB88qPDkNUJHc=
10+
github.com/igm/sockjs-go/v3 v3.0.3/go.mod h1:UqchsOjeagIBFHvd+RZpLaVRbCwGilEC08EDHsD1jYE=
711
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
812
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
913
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
1014
github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
15+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
16+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
1117
github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c h1:aqg5Vm5dwtvL+YgDpBcK1ITf3o96N/K7/wsRXQnUTEs=
1218
github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c/go.mod h1:owqhoLW1qZoYLZzLnBw+QkPP9WZnjlSWihhxAJC1+/M=
1319
github.com/shurcooL/httpgzip v0.0.0-20230704072819-d1585fc322fa h1:/NDg5q4nPfrGS4SYEtX8AG5hjF80Ag5PMWdv7BWe/Jk=
1420
github.com/shurcooL/httpgzip v0.0.0-20230704072819-d1585fc322fa/go.mod h1:uoh/PAqKZMkC05ObWYA0jvBerfdKUP918iF2k1kj2jc=
15-
github.com/shurcooL/vfsgen v0.0.0-20230704071429-0000e147ea92 h1:OfRzdxCzDhp+rsKWXuOO2I/quKMJ/+TQwVbIP/gltZg=
16-
github.com/shurcooL/vfsgen v0.0.0-20230704071429-0000e147ea92/go.mod h1:7/OT02F6S6I7v6WXb+IjhMuZEYfH/RJ5RwEWnEo5BMg=
1721
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
1822
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
19-
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
20-
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
23+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
24+
github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4=
25+
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
2126
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
2227
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
23-
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
24-
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
25-
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
2628
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
2729
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
2830
golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ=
2931
golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0=
30-
gopkg.in/igm/sockjs-go.v2 v2.1.0 h1:Ehqymxnfkkwi8R7SZIUARn77M0slA8vki0VgcfOdALw=
31-
gopkg.in/igm/sockjs-go.v2 v2.1.0/go.mod h1:9l1o9p5TJvh2l+Q0EGE8USVB69QPfcvI7fR0HmbCk/8=
32+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
33+
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
34+
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/gvalkov/tailon/frontend"
88
"github.com/shurcooL/httpfs/html/vfstemplate"
99
"github.com/shurcooL/httpgzip"
10-
"gopkg.in/igm/sockjs-go.v2/sockjs"
10+
"github.com/igm/sockjs-go/v3/sockjs"
1111
"html/template"
1212
"log"
1313
"net/http"

0 commit comments

Comments
 (0)