erigon-pulse/cmd/devnettest/requests/mock_requests.go

17 lines
226 B
Go
Raw Normal View History

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")
}