wcgi

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 5 Imported by: 2

README

简介

提升 go-wagi 性能的库

具体做法就是在 stdio 上建立 yamux 双向连接复用进程实现的

如何使用?

调用的时候含有环境变量 WAGI_WCGI=true 时就会使用 yamux 复用 stdio

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(h http.Handler) error

Types

type Stdio

type Stdio struct {
	io.Reader
	io.Writer
}

func (*Stdio) Close

func (stdio *Stdio) Close() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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