proxy

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decompress added in v0.6.0

func Decompress(rdr io.ReadCloser, encoding string) (io.ReadCloser, error)

func RequestToEvents added in v0.4.0

func RequestToEvents(req *http.Request) (events []axiom.Event, dataset string, err error)

Types

type Multiplexer

type Multiplexer struct {
	// contains filtered or unexported fields
}

func NewMultiplexer

func NewMultiplexer(client *axiom.Client, honeycombEndpoint string) (*Multiplexer, error)

func (*Multiplexer) ServeHTTP

func (m *Multiplexer) ServeHTTP(resp http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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