OSDN Git Service

add API struct (#468)
authorYongfeng LI <wliyongfeng@gmail.com>
Fri, 23 Mar 2018 07:42:26 +0000 (15:42 +0800)
committerGitHub <noreply@github.com>
Fri, 23 Mar 2018 07:42:26 +0000 (15:42 +0800)
commitcd7a87f2ca4e2201092f6c490b6da630c90224c3
tree2d7f88ddd01dd98bedca9575bf966616e45f3758
parente6a7fdb37a78211cb80562613da8ff5eab00fb8e
add API struct (#468)

* rename rpc_reactor to api

* create API struct

* move server to API

* move buildHandler to API

* refactor initServer

* remove BlockchainReactor Handler
blockchain/api.go [new file with mode: 0644]
blockchain/reactor.go
blockchain/rpc_reactor.go [deleted file]
node/node.go