Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DaemonURL = "http://localhost:5479"
DaemonURL is the URL of lbrynet json-rpc endpoint
Functions ¶
func ForwardCall ¶
ForwardCall takes a raw client request, passes it over to the daemon and returns daemon response.
Example:
body, err := ioutil.ReadAll(req.Body)
if err != nil {
log.Panicf("error: ", err.Error())
}
lbrynetResponse, err := proxy.ForwardCall(body)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.