mirror of
https://github.com/zigzap/zap.git
synced 2025-10-21 07:34:08 +00:00
Update README.
This commit is contained in:
parent
5fc31bcc1a
commit
9b117de4d0
1 changed files with 4 additions and 4 deletions
|
@ -76,10 +76,10 @@ show a feature.
|
||||||
users, together with a simple frontend to play with. **It also introduces a
|
users, together with a simple frontend to play with. **It also introduces a
|
||||||
`/stop` endpoint** that shuts down Zap, so **memory leak detection** can be
|
`/stop` endpoint** that shuts down Zap, so **memory leak detection** can be
|
||||||
performed in main().
|
performed in main().
|
||||||
- See the **[StopEndpoint](examples/endpoint/stopendpoint.zig)**. It uses
|
- Check out how [main.zig](examples/endpoint/main.zig) uses ZIG's awesome
|
||||||
ZIG's awesome `GeneralPurposeAllocator` to report memory leaks when ZAP is
|
`GeneralPurposeAllocator` to report memory leaks when ZAP is shut down.
|
||||||
shut down. The `StopEndpoint` just stops ZAP when receiving a request on
|
The [StopEndpoint](examples/endpoint/stopendpoint.zig) just stops ZAP when
|
||||||
the `/stop` route.
|
receiving a request on the `/stop` route.
|
||||||
- **[mustache](examples/mustache/mustache.zig)**: a simple example using
|
- **[mustache](examples/mustache/mustache.zig)**: a simple example using
|
||||||
[mustache](https://mustache.github.io/) templating.
|
[mustache](https://mustache.github.io/) templating.
|
||||||
- **[endpoint authentication](examples/endpoint_auth/endpoint_auth.zig)**: a
|
- **[endpoint authentication](examples/endpoint_auth/endpoint_auth.zig)**: a
|
||||||
|
|
Loading…
Add table
Reference in a new issue