Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerWapper ¶
func HandlerWapper(f http.HandlerFunc) http.HandlerFunc
func JsonParamsToStruct ¶
func JsonParamsToStruct(msg json.RawMessage, data interface{}) error
func StartServer ¶
func StartServer(config Web3ServerConfiguration, apiServant servant.APIServant)
Types ¶
type Web3Server ¶
func InitWeb3Server ¶
func InitWeb3Server(config Web3ServerConfiguration, apiServant servant.APIServant) *Web3Server
func (*Web3Server) RegisterMethodHandler ¶
func (w *Web3Server) RegisterMethodHandler()
func (*Web3Server) ServeHttp ¶
func (w *Web3Server) ServeHttp(res http.ResponseWriter, req *http.Request)
Directories
¶
| Path | Synopsis |
|---|---|
|
eth
|
|
|
types/eth_account
Package common contains various helper functions.
|
Package common contains various helper functions. |
|
types/hexutil
Package hexutil implements hex encoding with 0x prefix.
|
Package hexutil implements hex encoding with 0x prefix. |
|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.