http

command
v0.12.1-0...-2ab8468 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

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

Usage (see also the client example):

go build github.com/Elegant996/jrpc2/cmd/examples/http
./http -port 8080

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

Jump to

Keyboard shortcuts

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