httprpc

package module
v0.0.0-...-fc233f0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: ISC Imports: 3 Imported by: 0

README

httprpc

-- import "vimagination.zapto.org/httprpc"

Package httprpc creates an HTTP POST endpoint that wraps an RPC server

Usage

func Handle
func Handle(server *rpc.Server, serverCodec func(io.ReadWriteCloser) rpc.ServerCodec, readLimit int64, contentType string) http.Handler

Handle returns a new http.Handler that wraps an RPC server

Documentation

Overview

Package httprpc creates an HTTP POST endpoint that wraps an RPC server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(server *rpc.Server, serverCodec func(io.ReadWriteCloser) rpc.ServerCodec, readLimit int64, contentType string) http.Handler

Handle returns a new http.Handler that wraps an RPC server

Types

This section is empty.

Jump to

Keyboard shortcuts

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