dummy-external-adapter

command module
v0.0.0-...-eb4415d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 10 Imported by: 0

README

Dummy External Adapter

Useful for some basic testing and environment setup, this is a dead simple adapter for testing chainlink nodes and contracts.

Endpoints

Default Port: 6060

Method Endpoint Description
GET/POST / Basic "is running" check
GET/POST /random Returns a random int ranging from 0 to 100
GET/POST /five Returns 5
POST /set_variable?var={your-value} Allows you to set an integer to be later returned
GET/POST /variable Returns whatever integer you set
POST /set_json_variable Allows you to set a json body to be returned later
GET/POST /json_variable returns whatever json you set

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL