package
0.5.0
Repository: https://github.com/goplugin/pluginv2.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package schema is used to read schema files go:generate go-bindata -ignore=\.go -pkg=schema -o=bindata.go ./...

# 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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewJSONAPIResponse returns a JSONAPI response for a single resource.
No description provided by the author
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
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

No description provided by the author
No description provided by the author
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.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrSolanaNotEnabled is returned when SOLANA_ENABLED is not true.
ErrStarkNetNotEnabled is returned when STARKNET_ENABLED is not true.

# Structs

BridgeTypesController manages BridgeType requests in the node.
BuildVersonController has the build_info endpoint.
Change represents the old value and the new value after a PATH request has been made.
ConfigController manages config variables.
ConfigPatchResponse represents the change to the configuration made due to a PATCH to the config endpoint.
No description provided by the author
No description provided by the author
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.
No description provided by the author
JobsController manages jobs.
LogController manages the logger config.
No description provided by the author
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.
No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
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

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServeFileSystem wraps a http.FileSystem with an additional file existence check.