hop

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Events

func Events(handler http.Handler) transport.Events

func ListenAndServe

func ListenAndServe(addr string, handler http.Handler, opts ...transport.Option) error

func NowRFC1123String

func NowRFC1123String() string

Types

type CompositeBuffer

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

func (*CompositeBuffer) Close

func (b *CompositeBuffer) Close() error

func (*CompositeBuffer) Len

func (b *CompositeBuffer) Len() int

func (*CompositeBuffer) Read

func (b *CompositeBuffer) Read(p []byte) (int, error)

func (*CompositeBuffer) Reset

func (b *CompositeBuffer) Reset()

func (*CompositeBuffer) Write

func (b *CompositeBuffer) Write(p []byte) (int, error)

func (*CompositeBuffer) WriteAlias

func (b *CompositeBuffer) WriteAlias(p []byte) (int, error)

func (*CompositeBuffer) WriteClone

func (b *CompositeBuffer) WriteClone(p []byte) (int, error)

type HttpConn

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

func NewHttpConn

func NewHttpConn(conn transport.Conn, handler http.Handler) *HttpConn

func (*HttpConn) Close

func (hc *HttpConn) Close()

func (*HttpConn) Handle

func (hc *HttpConn) Handle() error

func (*HttpConn) Serve

func (hc *HttpConn) Serve() error

Jump to

Keyboard shortcuts

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