fastsrv

package
v0.0.0-...-e77dc18 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fastsrv

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

Fastsrv ...

func New

func New(ctx context.Context, opt Option) *Fastsrv

New ...

func (*Fastsrv) Run

func (s *Fastsrv) Run(ctx context.Context, handles func(ctx *fasthttp.RequestCtx))

Run ...

type Option

type Option struct {
	PortPublicHTTP  string
	PortPrivateHTTP string
}

Option ...

Jump to

Keyboard shortcuts

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