View definition

func ListenAndServe(addr string, handler RequestHandler) error

Defined in github.com/valyala/fasthttp/server.go

Description

ListenAndServe serves HTTP requests from the given TCP addr using the given handler.