Sleeps for 2 seconds and returns true
(r *Request)
| 489 | |
| 490 | // Sleeps for 2 seconds and returns true |
| 491 | func Sleep(r *Request) (interface{}, error) { |
| 492 | time.Sleep(time.Second * 2) |
| 493 | return true, nil |
| 494 | } |
| 495 | |
| 496 | // Returns the result. Also tests reverse call. |
| 497 | func Square(r *Request) (interface{}, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected