Documentation ¶
Overview ¶
Package harmonyproxy provides a simple proxy for harmony requests to fix inconsistencies in tx hashes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HarmonyProxy ¶
type HarmonyProxy struct {
// contains filtered or unexported fields
}
HarmonyProxy handles simple rxoy requests to omnirpc.
func NewHarmonyProxy ¶
func NewHarmonyProxy(proxyURL string, handler metrics.Handler, port int) *HarmonyProxy
NewHarmonyProxy creates a new harmny confirmable proxy.
func (*HarmonyProxy) ProxyRequest ¶
func (r *HarmonyProxy) ProxyRequest(c *gin.Context) (err error)
ProxyRequest proxies a request to the proxyURL.
Click to show internal directories.
Click to hide internal directories.