1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 23:24:09 +00:00

doc update

This commit is contained in:
renerocksai 2025-03-16 16:42:08 +01:00
parent f77f405320
commit 7503f090ee
No known key found for this signature in database

View file

@ -1,6 +1,9 @@
//! Endpoint and supporting types.
//! Create one and define all callbacks. Then, pass it to a HttpListener's
//! `register()` function to register with the listener.
//!
//! An Endpoint can be any zig struct that defines all the callbacks lilsted
//! below.
//! Pass an instance of an Endpoint struct to zap.Endpoint.Listener.register()
//! function to register with the listener.
//!
//! **NOTE**: Endpoints must implement the following "interface":
//!