Skip to main content

Module edge

Module edge 

Source
Expand description

Edge-peer API DTOs.

Wire types for the edge-peer endpoints exposed by zlayer-api: minting, listing, and revoking short-lived unprivileged WireGuard edge peers on a node. NOT related to crate::api::edge_cache — that module is the CDN-style edge-cache eligibility surface; “edge” here means an ephemeral overlay PEER, not a cache node.

The payload types (EdgeConfig, EdgePeerStatus) live in crate::overlayd — they are the same shapes that cross the overlayd IPC channel, re-exposed over HTTP without translation.

Structs§

EdgeListResponse
Response body for the edge-peer list endpoint.
EdgeMintRequest
Request body for the edge-peer mint endpoint.
EdgeMintResponse
Response body for a successful edge-peer mint.
EdgeRevokeResponse
Response body for the edge-peer revoke endpoint.