Documentation
¶
Overview ¶
Package appconfig hands request hot paths the few Config bits they read on every call, without the copy App.Config returns by value.
Config is over 600 bytes, so reading one boolean out of it cost 25ns against 2ns for the App call itself. Package fiber installs a reader that takes the bits off the app directly; it cannot be done from here, because config is unexported and importing fiber would be a cycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.