You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Serve** does not support the ****[**Prefork**](application.md#settings)feature.
300
+
{% endhint %}
301
+
302
+
{% code title="Example" %}
303
+
```go
304
+
if ln, err = net.Listen("tcp4", ":8080"); err != nil {
305
+
log.Fatal(err)
306
+
}
307
+
308
+
app.Serve(ln)
309
+
```
310
+
{% endcode %}
311
+
288
312
## Test
289
313
290
314
Testing your application is done with the **Test** method. Use this method for creating `_test.go` files or when you need to debug your routing logic. The default timeout is `200ms` if you want to disable a timeout completely, pass `-1` as a second argument.
0 commit comments