protocol

package
v0.0.0-...-8479fe5 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPServer

func HTTPServer()

HTTPServer Go语言中的http服务器

func MyHTTPServer

func MyHTTPServer()

MyHTTPServer 自定义类型实现 http.Handler 接口

func MyHTTPServer1

func MyHTTPServer1()

MyHTTPServer1 自定义 http.Handler

func MyHTTPServer2

func MyHTTPServer2()

MyHTTPServer2 自定义 ServeMux

func MyHTTPServer3

func MyHTTPServer3()

MyHTTPServer3 自定义 http.Server对象,设置了一个超时函数

func Stop

func Stop()

Stop 如果服务器端要进行更新,此时还有请求没有完成 可以通过以下方式优雅的停止服务端

Types

This section is empty.

Jump to

Keyboard shortcuts

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