fasthttp

package
v0.0.0-...-0441cc5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

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

func (*Gateway) ListenAndServe

func (g *Gateway) ListenAndServe(addr string) error

func (*Gateway) LoadConfig

func (g *Gateway) LoadConfig(conf *sx.GatewayConfig) error

LoadConfig configures the Gateway to use a new configuration. If the gateway was already running, it will start using the new configuration for new requests.

func (*Gateway) ServeFastHTTP

func (g *Gateway) ServeFastHTTP(ctx *fasthttp.RequestCtx)

ServeFastHTTP implements the valyala/fasthttp handler interface.

Jump to

Keyboard shortcuts

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