http

command
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Program http demonstrates how to set up a JSON-RPC 2.0 server using the github.com/creachadair/jrpc2 package with an HTTP transport.

Usage (see also the client example):

go build github.com/creachadair/jrpc2/tools/examples/http
./http -listen :8080

The server accepts RPCs on http://<address>/rpc.

Jump to

Keyboard shortcuts

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