Structs

  • Same as SgBackendInst, but it emphasizes that the backend is available for use in the current request.
  • Chosen http route rule
  • The SgRoutePluginContext struct is used for communication within Spacegate. It serves as the core of the plugin system and represents a single request. When a request enters Spacegate, the information is encapsulated into a context, which is then passed to the plugin execution chain. The Spacegate kernel processes the request to the backend based on the context and stores the response back into the context before passing it back through the plugin execution chain. Ultimately, the Spacegate kernel extracts the content from the context to form the actual Spacegate response.

Enums

  • SgRouteFilterRequestAction represents the action to be taken after executing plugin request filtering, as configured by the plugin.