Documentation
¶
Overview ¶
---------------------------------------------------------------------//
GNU GENERAL PUBLIC LICENSE //
Version 2, June 1991 //
//
Copyright (C) Wells Hsu, wellshsu@outlook.com, All rights reserved. // Everyone is permitted to copy and distribute verbatim copies // of this license document, but changing it is not allowed. //
SEE LICENSE.md FOR MORE DETAILS. //
---------------------------------------------------------------------// Package xhttp: 支持建立Http、Https两种短链接服务,应用层开箱即用.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Http服务
func (*Server) SetHandler ¶
func (this *Server) SetHandler(handler http.HandlerFunc) *Server
设置请求回调
handler: 回调函数
Click to show internal directories.
Click to hide internal directories.