mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-05 18:42:19 +00:00
14 lines
258 B
Go
14 lines
258 B
Go
package requests
|
|
|
|
import "fmt"
|
|
|
|
func MockGetRequest(reqId int) error {
|
|
reqGen := initialiseRequestGenerator(reqId)
|
|
res := reqGen.Get()
|
|
if res.Err != nil {
|
|
return fmt.Errorf("failed to make get request: %v", res.Err)
|
|
}
|
|
fmt.Printf("OK\n")
|
|
return nil
|
|
}
|