httpkit

package
v0.0.0-...-d736df5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HostOfRawURL

func HostOfRawURL(rawUrl string) (host string, port int)

func PathParameterOfRawURL

func PathParameterOfRawURL(rawUrl, key string) string

PathParameter

func SchemeOfRequest

func SchemeOfRequest(req *http.Request) string

Types

type DummyServer

type DummyServer struct {
	ErrListAndServer error
}

func (DummyServer) ListenAndServe

func (s DummyServer) ListenAndServe() error

type RawUrl

type RawUrl string

type Server

type Server interface {
	ListenAndServe() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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