httpmuxer

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package httpmuxer handles all of the HTTP connections made to sish. This implements the http multiplexing necessary for sish's core feature.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResponseModifier

func ResponseModifier(state *utils.State, hostname string, reqBody []byte, c *gin.Context) func(*http.Response) error

ResponseModifier implements a response modifier for the specified request. We don't actually modify any requests, but we do want to record the request so we can send it to the web console.

func RoundTripper

func RoundTripper() *http.Transport

RoundTripper returns the specific handler for unix connections. This will allow us to use our created sockets cleanly.

func Start

func Start(state *utils.State)

Start initializes the HTTP service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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