iotex-core: Index | Files

package httputil

import ""


Package Files


func LimitListener Uses

func LimitListener(addr string) (net.Listener, error)

LimitListener creates a tcp keep-alive listener with 400 maximum connections.

func Server Uses

func Server(addr string, handler http.Handler) http.Server

Server creates a HTTP server with time out settings.

Package httputil imports 4 packages (graph) and is imported by 2 packages. Updated 2019-05-14. Refresh now. Tools for package owners.