Documentation ¶
Overview ¶
Package gate contains general documentation for its subpackages. See https://gate.computer/gate for information about the Gate project.
Errors ¶
Error strings may contain sensitive details. Some errors returned by Gate implement this interface:
interface { PublicError() string }
The public error string is intended to be exposed to the client (if the API was called via a server endpoint). If there is no PublicError method or it returns the empty string, it's an internal error with no public explanation.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
gate-resource
Program gate-resource dumps C header file contents.
|
Program gate-resource dumps C header file contents. |
Package facile exposes a simplified API to core functionality.
|
Package facile exposes a simplified API to core functionality. |
Package include embeds C header files.
|
Package include embeds C header files. |
sys
Package sys contains syscall wrappers.
|
Package sys contains syscall wrappers. |
packetio
Package packetio provides streaming utilities.
|
Package packetio provides streaming utilities. |
abi/rt
Package rt defines a public subset of the runtime library ABI.
|
Package rt defines a public subset of the runtime library ABI. |
database/sql
Package sql implements Inventory and NonceChecker backed by SQL database.
|
Package sql implements Inventory and NonceChecker backed by SQL database. |
web/api
Package api contains definitions useful for accessing the HTTP and websocket APIs.
|
Package api contains definitions useful for accessing the HTTP and websocket APIs. |
web/api/debug
Package debug contains functionality useful for accessing the instance debugging API via HTTP.
|
Package debug contains functionality useful for accessing the instance debugging API via HTTP. |
source
|
|
http
Package http can download objects from HTTP server.
|
Package http can download objects from HTTP server. |
ipfs
Package ipfs can download objects via IPFS API server.
|
Package ipfs can download objects via IPFS API server. |
Package trap enumerates trap identifiers.
|
Package trap enumerates trap identifiers. |
Click to show internal directories.
Click to hide internal directories.