Documentation
¶
Overview ¶
Package demoapi backs `apic demo`: a tiny, fully in-memory HTTP API and its matching example .http project (embedded from project/), so apic can be tried with no network access and no git clone.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteProject ¶
WriteProject writes the bundled example project into dir (creating it if needed): apic.yaml, http-client.private.env.json, auth.http and todos.http verbatim from project/, plus a generated http-client.env.json pointing at http://localhost:<port>. Files that already exist are left alone unless force is set.
Types ¶
This section is empty.