webview

package
v2.0.0-...-c98e9ca Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request interface {
	URL() (string, error)
	Method() (string, error)
	Header() (http.Header, error)
	Body() (io.ReadCloser, error)

	Response() ResponseWriter

	AddRef() error
	Release() error
}

type ResponseWriter

type ResponseWriter interface {
	http.ResponseWriter

	// Finish the response and flush all data.
	Finish() error
}

A ResponseWriter interface is used by an HTTP handler to construct an HTTP response for the WebView.

Jump to

Keyboard shortcuts

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