Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var METHODS_SUPPORTED = map[string]string{
"/ping": "check if api service valid and backend bitcoin service healthy",
"/health": "check system status",
"/help": "display this message",
"/install": "install receiver",
"/uninstall": "uninstall/remove receiver",
"/list": "list all avaliable receivers",
}
http api list
Functions ¶
Types ¶
type ApiServer ¶
type ApiServer struct {
// contains filtered or unexported fields
}
func NewApiServer ¶
Hook all HTTP routes and start listen on `addr`
func (*ApiServer) HealthCheck ¶
Check eth rpc server connectivity.
func (*ApiServer) HttpListen ¶
Click to show internal directories.
Click to hide internal directories.