mirror of
https://gitee.com/johng/gf
synced 2026-07-06 21:45:34 +08:00
完善包注释,便于godoc管理
This commit is contained in:
8
g/net/ghttp/ghttp.go
Normal file
8
g/net/ghttp/ghttp.go
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved.
|
||||
//
|
||||
// This Source Code Form is subject to the terms of the MIT License.
|
||||
// If a copy of the MIT was not distributed with this file,
|
||||
// You can obtain one at https://gitee.com/johng/gf.
|
||||
|
||||
// 强大的HTTP Client及Server管理包
|
||||
package ghttp
|
||||
@ -4,7 +4,6 @@
|
||||
// If a copy of the MIT was not distributed with this file,
|
||||
// You can obtain one at https://gitee.com/johng/gf.
|
||||
|
||||
|
||||
package ghttp
|
||||
|
||||
import (
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
// You can obtain one at https://gitee.com/johng/gf.
|
||||
//
|
||||
|
||||
// IPv4管理
|
||||
package gipv4
|
||||
|
||||
import (
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
// If a copy of the MIT was not distributed with this file,
|
||||
// You can obtain one at https://gitee.com/johng/gf.
|
||||
|
||||
|
||||
// IPv6管理
|
||||
package gipv6
|
||||
|
||||
import "gitee.com/johng/gf/g/util/gregx"
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
// You can obtain one at https://gitee.com/johng/gf.
|
||||
//
|
||||
|
||||
// 路由管理
|
||||
package grouter
|
||||
|
||||
import (
|
||||
@ -27,7 +28,6 @@ type Router struct {
|
||||
prules *gmap.StringStringMap // 打包规则
|
||||
}
|
||||
|
||||
|
||||
func New() *Router {
|
||||
return &Router{
|
||||
drules : gmap.NewStringStringMap(),
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
// You can obtain one at https://gitee.com/johng/gf.
|
||||
|
||||
// 局域网端口扫描
|
||||
|
||||
package gscanner
|
||||
|
||||
import (
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
// If a copy of the MIT was not distributed with this file,
|
||||
// You can obtain one at https://gitee.com/johng/gf.
|
||||
|
||||
|
||||
// SMTP
|
||||
package gsmtp
|
||||
|
||||
import (
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
// If a copy of the MIT was not distributed with this file,
|
||||
// You can obtain one at https://gitee.com/johng/gf.
|
||||
|
||||
|
||||
// TCP服务端
|
||||
package gtcp
|
||||
|
||||
import (
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
// If a copy of the MIT was not distributed with this file,
|
||||
// You can obtain one at https://gitee.com/johng/gf.
|
||||
|
||||
|
||||
// UDP服务端
|
||||
package gudp
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user