core: v2ray.com/core/testing/servers/http Index | Files

package tcp

import "v2ray.com/core/testing/servers/http"

Index

Package Files

http.go

type Server Uses

type Server struct {
    Port        net.Port
    PathHandler map[string]http.HandlerFunc
    // contains filtered or unexported fields
}

func (*Server) Close Uses

func (s *Server) Close() error

func (*Server) ServeHTTP Uses

func (s *Server) ServeHTTP(resp http.ResponseWriter, req *http.Request)

func (*Server) Start Uses

func (s *Server) Start() (net.Destination, error)

Package tcp imports 2 packages (graph). Updated 2018-03-01. Refresh now. Tools for package owners.