Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetLastResult ¶
type GetLastResult struct { Hash string Date string Address string // In Wei (1 ETH = 10^18 Wei) // String type because it can go beyond uint64. Amount string Confirmations uint64 }
GetLastResult is result of GetLast method.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is an API RPC handler.
func NewHandler ¶
func NewHandler(networkID *big.Int, database *reform.DB, ethClient eth.Client, genUUIDFunc func() string) *Handler
NewHandler creates a new handler.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a RPC server.
func (*Server) AddHandler ¶
AddHandler registers a new RPC handler.
func (*Server) ListenAndServe ¶
ListenAndServe starts to listen and to serve requests.
Click to show internal directories.
Click to hide internal directories.