# Functions
FindSessionCookie returns the cookie with the "clsession" name.
GzipFileServer is a drop-in replacement for Go's standard http.FileServer which adds support for static resources precompressed with gzip, at the cost of removing the support for directory browsing.
NewJSONAPIResponse returns a JSONAPI response for a single resource.
NewPaginatedResponse returns a jsonapi.Document with links to next and previous collection pages.
NewRouter returns *gin.Engine router that listens and responds to requests to the node for valid paths.
ParseJSONAPIResponse parses the bytes of the root document and unmarshals it into the given resource.
ParsePaginatedRequest parses the parameters that control pagination for a collection request, returning the size and offset if specified, or a sensible default.
ParsePaginatedResponse parse a JSONAPI response for a document with links.
ServeGzippedAssets returns a middleware handler that serves static files in the given directory.
ValidateBridgeType checks that the bridge type has the required field with valid values.
ValidateBridgeTypeNotExist checks that a bridge has not already been created.
ValidateEthBalanceForTransfer validates that the current balance can cover the transaction amount.
ValidateExternalInitiator checks whether External Initiator parameters are safe for processing.
# Constants
KeyNextLink is the name of the key that contains the HREF for the next document in a paginated response.
KeyPreviousLink is the name of the key that contains the HREF for the previous document in a paginated response.
MediaType is the response header for JSONAPI documents.
PaginationDefault is the number of records to supply from a paginated request when no size param is supplied.
# Structs
BridgeTypesController manages BridgeType requests in the node.
BuildVersonController has the build_info endpoint.
ConfigController manages config variables.
CosmosTransfersController can send LINK tokens to another address.
CreateJobRequest represents a request to create and start a job (V2).
CSAKeysController manages CSA keys.
EmbedFileSystem implements the ServeFileSystem interface using an embed.FS object.
ETHKeysController manages account keys.
EVMForwardersController manages EVM forwarders.
EVMTransfersController can send LINK tokens to another address.
ExternalInitiatorsController manages external initiators.
FeaturesController manages the feature flags.
JobsController manages jobs.
LogController manages the logger config.
OCRKeysController manages OCR key bundles.
OCRKeysController manages OCR key bundles.
P2PKeysController manages P2P keys.
PingController has the ping endpoint.
PipelineJobSpecErrorsController manages PipelineJobSpecError requests.
PipelineRunsController manages V2 job run requests.
SessionsController manages session requests.
SolanaTransfersController can send LINK tokens to another address.
TrackEVMForwarderRequest is a JSONAPI request for creating an EVM forwarder.
TransactionsController displays Ethereum transactions requests.
TxAttemptsController lists TxAttempts requests.
UpdateJobRequest represents a request to update a job with new toml and start a job (V2).
UpdatePasswordRequest defines the request to set a new password for the current session's User.
UserController manages the current Session's User.
VRFKeysController manages VRF keys.
WebAuthnController manages registers new keys as well as authentication with those keys.
# Interfaces
ServeFileSystem wraps a http.FileSystem with an additional file existence check.