adhoc

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ConstructorPriority = -1

Variables

This section is empty.

Functions

This section is empty.

Types

type AdhocWrapper

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

func (*AdhocWrapper) PageInfo added in v0.10.0

func (h *AdhocWrapper) PageInfo(r *http.Request) (interface{}, bool)

func (*AdhocWrapper) TryServeHTTP

func (h *AdhocWrapper) TryServeHTTP(w http.ResponseWriter, r *http.Request) error

type AdhocWrapperConstructor

type AdhocWrapperConstructor struct{}

func (*AdhocWrapperConstructor) New

func (f *AdhocWrapperConstructor) New(pattern string, h interface{}) (types.Handler, bool)

func (AdhocWrapperConstructor) Priority

func (_ AdhocWrapperConstructor) Priority() int

type Writer

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

func (*Writer) Error

func (w *Writer) Error() error

func (*Writer) Flush

func (w *Writer) Flush() error

func (*Writer) Header

func (w *Writer) Header() http.Header

func (*Writer) Status

func (w *Writer) Status() int

func (*Writer) Write

func (w *Writer) Write(b []byte) (int, error)

func (*Writer) WriteHeader

func (w *Writer) WriteHeader(statusCode int)

Jump to

Keyboard shortcuts

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