mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
@@ -6,7 +6,7 @@ env:
|
||||
global:
|
||||
- GO15VENDOREXPERIMENT=1
|
||||
install:
|
||||
- go get github.com/nats-io/nats
|
||||
- go get github.com/nats-io/go-nats
|
||||
- go get github.com/mattn/goveralls
|
||||
- go get github.com/wadey/gocovmerge
|
||||
- go get honnef.co/go/staticcheck/cmd/staticcheck
|
||||
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
|
||||
"crypto/tls"
|
||||
|
||||
"github.com/nats-io/nats"
|
||||
"github.com/nats-io/go-nats"
|
||||
)
|
||||
|
||||
type serverInfo struct {
|
||||
@@ -658,7 +658,7 @@ func TestUnsubRace(t *testing.T) {
|
||||
func TestTLSCloseClientConnection(t *testing.T) {
|
||||
opts, err := ProcessConfigFile("./configs/tls.conf")
|
||||
if err != nil {
|
||||
t.Fatalf("Error processign config file: %v", err)
|
||||
t.Fatalf("Error processing config file: %v", err)
|
||||
}
|
||||
opts.Authorization = ""
|
||||
opts.TLSTimeout = 100
|
||||
|
||||
@@ -9,12 +9,12 @@ import (
|
||||
"net/http"
|
||||
"net/url"
|
||||
"strings"
|
||||
"sync"
|
||||
"testing"
|
||||
"time"
|
||||
"unicode"
|
||||
|
||||
"github.com/nats-io/nats"
|
||||
"sync"
|
||||
"github.com/nats-io/go-nats"
|
||||
)
|
||||
|
||||
const CLIENT_PORT = 11224
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/nats-io/nats"
|
||||
"github.com/nats-io/go-nats"
|
||||
)
|
||||
|
||||
const PING_CLIENT_PORT = 11228
|
||||
|
||||
@@ -7,11 +7,11 @@ import (
|
||||
"net"
|
||||
"net/url"
|
||||
"reflect"
|
||||
"strconv"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/nats-io/nats"
|
||||
"strconv"
|
||||
"github.com/nats-io/go-nats"
|
||||
)
|
||||
|
||||
func TestRouteConfig(t *testing.T) {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/nats-io/nats"
|
||||
"github.com/nats-io/go-nats"
|
||||
)
|
||||
|
||||
func TestMultipleUserAuth(t *testing.T) {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/nats-io/nats"
|
||||
"github.com/nats-io/go-nats"
|
||||
)
|
||||
|
||||
func TestServerRestartReSliceIssue(t *testing.T) {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/nats-io/nats"
|
||||
"github.com/nats-io/go-nats"
|
||||
)
|
||||
|
||||
func TestMaxPayload(t *testing.T) {
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/nats-io/gnatsd/server"
|
||||
"github.com/nats-io/nats"
|
||||
"github.com/nats-io/go-nats"
|
||||
)
|
||||
|
||||
const CLIENT_PORT = 11422
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/nats-io/gnatsd/server"
|
||||
"github.com/nats-io/nats"
|
||||
"github.com/nats-io/go-nats"
|
||||
)
|
||||
|
||||
func TestTLSConnection(t *testing.T) {
|
||||
|
||||
3
vendor/github.com/nats-io/nuid/nuid.go
generated
vendored
3
vendor/github.com/nats-io/nuid/nuid.go
generated
vendored
@@ -19,6 +19,9 @@ import (
|
||||
// that is started at a pseudo random number and increments with a pseudo-random increment.
|
||||
// Total is 22 bytes of base 62 ascii text :)
|
||||
|
||||
// Version of the library
|
||||
const Version = "1.0.0"
|
||||
|
||||
const (
|
||||
digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
||||
base = 62
|
||||
|
||||
3
vendor/golang.org/x/crypto/bcrypt/bcrypt.go
generated
vendored
3
vendor/golang.org/x/crypto/bcrypt/bcrypt.go
generated
vendored
@@ -12,10 +12,9 @@ import (
|
||||
"crypto/subtle"
|
||||
"errors"
|
||||
"fmt"
|
||||
"golang.org/x/crypto/blowfish"
|
||||
"io"
|
||||
"strconv"
|
||||
|
||||
"golang.org/x/crypto/blowfish"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
2
vendor/golang.org/x/crypto/blowfish/cipher.go
generated
vendored
2
vendor/golang.org/x/crypto/blowfish/cipher.go
generated
vendored
@@ -39,7 +39,7 @@ func NewCipher(key []byte) (*Cipher, error) {
|
||||
|
||||
// NewSaltedCipher creates a returns a Cipher that folds a salt into its key
|
||||
// schedule. For most purposes, NewCipher, instead of NewSaltedCipher, is
|
||||
// sufficient and desirable. For bcrypt compatiblity, the key can be over 56
|
||||
// sufficient and desirable. For bcrypt compatibility, the key can be over 56
|
||||
// bytes.
|
||||
func NewSaltedCipher(key, salt []byte) (*Cipher, error) {
|
||||
if len(salt) == 0 {
|
||||
|
||||
9
vendor/manifest
vendored
9
vendor/manifest
vendored
@@ -4,14 +4,16 @@
|
||||
{
|
||||
"importpath": "github.com/nats-io/nuid",
|
||||
"repository": "https://github.com/nats-io/nuid",
|
||||
"revision": "a5152d67cf63cbfb5d992a395458722a45194715",
|
||||
"vcs": "git",
|
||||
"revision": "289cccf02c178dc782430d534e3c1f5b72af807f",
|
||||
"branch": "master",
|
||||
"notests": true
|
||||
},
|
||||
{
|
||||
"importpath": "golang.org/x/crypto/bcrypt",
|
||||
"repository": "https://go.googlesource.com/crypto",
|
||||
"revision": "9e7f5dc375abeb9619ea3c5c58502c428f457aa2",
|
||||
"vcs": "git",
|
||||
"revision": "9477e0b78b9ac3d0b03822fd95422e2fe07627cd",
|
||||
"branch": "master",
|
||||
"path": "/bcrypt",
|
||||
"notests": true
|
||||
@@ -19,7 +21,8 @@
|
||||
{
|
||||
"importpath": "golang.org/x/crypto/blowfish",
|
||||
"repository": "https://go.googlesource.com/crypto",
|
||||
"revision": "9e7f5dc375abeb9619ea3c5c58502c428f457aa2",
|
||||
"vcs": "git",
|
||||
"revision": "9477e0b78b9ac3d0b03822fd95422e2fe07627cd",
|
||||
"branch": "master",
|
||||
"path": "/blowfish",
|
||||
"notests": true
|
||||
|
||||
Reference in New Issue
Block a user