scgiclient

package module
v0.0.0-...-02d01f9 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

scgiclient

Because I needed to talk scgi to do [rtorrentrpc] 1

Install:

  1. Install Go: http://golang.org/doc/install
  2. go get github.com/mpl/scgiclient

Documentation

Overview

Package scgiclient implements the client side of the Simple Common Gateway Interface protocol, as described at http://python.ca/scgi/protocol.txt

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(r *http.Request) ([]byte, error)

func Receive

func Receive(conn net.Conn, req *http.Request) (*http.Response, error)

Types

type SCGITransport

type SCGITransport struct{}

func (SCGITransport) RoundTrip

func (s SCGITransport) RoundTrip(r *http.Request) (*http.Response, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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