Documentation ¶
Overview ¶
Package gate contains general documentation for its subpackages. See https://github.com/tsavola/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, it's an internal error with no public explanation.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
Package facile exposes a simplified API to core functionality.
|
Package facile exposes a simplified API to core functionality. |
internal
|
|
sys
Package sys contains syscall wrappers.
|
Package sys contains syscall wrappers. |
packetio
Package packetio provides streaming utilities.
|
Package packetio provides streaming utilities. |
scope
|
|
database/sql
Package sql implements an AccessTracker backed by an SQL database.
|
Package sql implements an AccessTracker backed by an SQL database. |
monitor
Package monitor implements server.Monitor.
|
Package monitor implements server.Monitor. |
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. |
Package webapi contains definitions useful for accessing the HTTP and websocket APIs.
|
Package webapi contains definitions useful for accessing the HTTP and websocket APIs. |
Click to show internal directories.
Click to hide internal directories.