new errors.go
This commit is contained in:
parent
3e2db84d2a
commit
32a27c4e4d
11 changed files with 11 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
package cluster
|
||||
|
||||
import (
|
||||
"github.com/lbryio/errors.go"
|
||||
"github.com/lbryio/lbry.go/errors"
|
||||
|
||||
"github.com/hashicorp/serf/serf"
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
|
2
db/db.go
2
db/db.go
|
@ -5,7 +5,7 @@ import (
|
|||
|
||||
"github.com/lbryio/reflector.go/types"
|
||||
|
||||
"github.com/lbryio/errors.go"
|
||||
"github.com/lbryio/lbry.go/errors"
|
||||
qtools "github.com/lbryio/query.go"
|
||||
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package peer
|
||||
|
||||
import "github.com/lbryio/errors.go"
|
||||
import "github.com/lbryio/lbry.go/errors"
|
||||
|
||||
const maxRequestSize = 64 * (2 ^ 10) // 64kb
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"net"
|
||||
"strconv"
|
||||
|
||||
"github.com/lbryio/errors.go"
|
||||
"github.com/lbryio/lbry.go/errors"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
"github.com/lbryio/reflector.go/store"
|
||||
|
||||
"github.com/lbryio/errors.go"
|
||||
"github.com/lbryio/lbry.go/errors"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"crypto/sha512"
|
||||
"encoding/hex"
|
||||
|
||||
"github.com/lbryio/errors.go"
|
||||
"github.com/lbryio/lbry.go/errors"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"os"
|
||||
"path"
|
||||
|
||||
"github.com/lbryio/errors.go"
|
||||
"github.com/lbryio/lbry.go/errors"
|
||||
)
|
||||
|
||||
type FileBlobStore struct {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package store
|
||||
|
||||
import "github.com/lbryio/errors.go"
|
||||
import "github.com/lbryio/lbry.go/errors"
|
||||
|
||||
type MemoryBlobStore struct {
|
||||
blobs map[string][]byte
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"bytes"
|
||||
"testing"
|
||||
|
||||
"github.com/lbryio/errors.go"
|
||||
"github.com/lbryio/lbry.go/errors"
|
||||
)
|
||||
|
||||
func TestMemoryBlobStore_Put(t *testing.T) {
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/lbryio/errors.go"
|
||||
"github.com/lbryio/lbry.go/errors"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package store
|
||||
|
||||
import "github.com/lbryio/errors.go"
|
||||
import "github.com/lbryio/lbry.go/errors"
|
||||
|
||||
type BlobStore interface {
|
||||
Has(string) (bool, error)
|
||||
|
|
Loading…
Add table
Reference in a new issue