mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-08 12:01:20 +00:00
17 lines
226 B
Go
17 lines
226 B
Go
|
package requests
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
func MockGetRequest(reqId int) {
|
||
|
reqGen := initialiseRequestGenerator(reqId)
|
||
|
|
||
|
res := reqGen.Get()
|
||
|
|
||
|
if res.Err != nil {
|
||
|
fmt.Printf("error: %v\n", res.Err)
|
||
|
return
|
||
|
}
|
||
|
|
||
|
fmt.Printf("OK\n")
|
||
|
}
|