Browse Source

use tmlibs

pull/456/head
Ethan Buchman 7 years ago
parent
commit
15d5b2ac49
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      client/ws_client.go
  2. +2
    -2
      server/handlers.go
  3. +1
    -1
      test/main.go
  4. +1
    -1
      types/types.go

+ 1
- 1
client/ws_client.go View File

@ -8,7 +8,7 @@ import (
"github.com/gorilla/websocket"
"github.com/pkg/errors"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
types "github.com/tendermint/go-rpc/types"
wire "github.com/tendermint/go-wire"
)


+ 2
- 2
server/handlers.go View File

@ -14,10 +14,10 @@ import (
"github.com/gorilla/websocket"
"github.com/pkg/errors"
cmn "github.com/tendermint/go-common"
events "github.com/tendermint/go-events"
types "github.com/tendermint/go-rpc/types"
wire "github.com/tendermint/go-wire"
cmn "github.com/tendermint/tmlibs/common"
events "github.com/tendermint/tmlibs/events"
)
// Adds a route for each function in the funcMap, as well as general jsonrpc and websocket handlers for all functions.


+ 1
- 1
test/main.go View File

@ -4,7 +4,7 @@ import (
"fmt"
"net/http"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
rpcserver "github.com/tendermint/go-rpc/server"
)


+ 1
- 1
types/types.go View File

@ -4,8 +4,8 @@ import (
"encoding/json"
"strings"
events "github.com/tendermint/go-events"
wire "github.com/tendermint/go-wire"
events "github.com/tendermint/tmlibs/events"
)
type RPCRequest struct {


Loading…
Cancel
Save