2
0

rename module

This commit is contained in:
2024-05-23 16:23:43 +03:00
parent 7dd5713f7a
commit 1aeb826464
9 changed files with 20 additions and 54 deletions
-4
View File
@@ -1,4 +0,0 @@
.history
/.idea
.vscode
ls-lint
-7
View File
@@ -1,7 +0,0 @@
ls:
.dir: snake_case
.go: snake_case
ignore:
- .git
- .idea
-23
View File
@@ -1,23 +0,0 @@
notifications:
email: false
slack: false
language: go
env:
- GO111MODULE=on
go:
- "1.14.x"
- "1.15.x"
- "1.16.x"
- "1.17.x"
before_script:
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.43.0
script:
- make install
- make ls-lint
- make linter
- go run examples/basic.go
-11
View File
@@ -1,11 +0,0 @@
install:
go get
linter:
golangci-lint run
ls-lint:
curl -sL -o ls-lint https://github.com/loeffel-io/ls-lint/releases/download/v1.10.0/ls-lint-linux && chmod +x ls-lint && ./ls-lint
test:
make linter
+1 -6
View File
@@ -6,15 +6,10 @@
Reconnecting WebSocket is a websocket client based on [gorilla/websocket](https://github.com/gorilla/websocket) that will automatically reconnect if the connection is dropped - thread safe!
[![Build Status](https://travis-ci.com/andoma-go/recws.svg?branch=master)](https://travis-ci.com/andoma-go/recws)
[![GoDoc](https://godoc.org/github.com/andoma-go/recws?status.svg)](https://godoc.org/github.com/andoma-go/recws)
[![Go Report Card](https://goreportcard.com/badge/github.com/andoma-go/recws)](https://goreportcard.com/report/github.com/andoma-go/recws)
[![GitHub license](https://img.shields.io/github/license/andoma-go/recws.svg)](https://github.com/andoma-go/recws/blob/master/LICENSE)
## Installation
```bash
go get github.com/andoma-go/recws
go get git.company.lan/gopkg/recws
```
## Sponsors
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"log"
"time"
"github.com/andoma-go/recws"
"git.company.lan/gopkg/recws"
)
func main() {
+12
View File
@@ -0,0 +1,12 @@
module git.company.lan/gopkg/recws/examples
go 1.21.5
require git.company.lan/gopkg/recws v0.0.0-00010101000000-000000000000
require (
github.com/gorilla/websocket v1.4.2 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
)
replace git.company.lan/gopkg/recws => ../
+4
View File
@@ -0,0 +1,4 @@
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA=
github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
+2 -2
View File
@@ -1,6 +1,6 @@
module github.com/andoma-go/recws
module git.company.lan/gopkg/recws
go 1.18
go 1.21.5
require (
github.com/gorilla/websocket v1.4.2