Directories ¶
Path | Synopsis |
---|---|
codabar
Package codabar can create Codabar barcodes
|
Package codabar can create Codabar barcodes |
code128
Package code128 can create Code128 barcodes
|
Package code128 can create Code128 barcodes |
code39
Package code39 can create Code39 barcodes
|
Package code39 can create Code39 barcodes |
datamatrix
Package datamatrix can create Datamatrix barcodes
|
Package datamatrix can create Datamatrix barcodes |
ean
Package ean can create EAN 8 and EAN 13 barcodes.
|
Package ean can create EAN 8 and EAN 13 barcodes. |
qr
Package qr can be used to create QR barcodes.
|
Package qr can be used to create QR barcodes. |
twooffive
Package twooffive can create interleaved and standard "2 of 5" barcodes.
|
Package twooffive can create interleaved and standard "2 of 5" barcodes. |
utils
Package utils contain some utilities which are needed to create barcodes
|
Package utils contain some utilities which are needed to create barcodes |
This library implements a cron spec parser and runner.
|
This library implements a cron spec parser and runner. |
db
|
|
directsql
* * desc : 参数校验函数 * author : 畅雨 * date : 2016.12.13 * desc : * history : * * func : 查询sql结果缓存处理单元 * author : 畅雨 * date : 2016.11.25 * desc : 缓存查询的结果 * history : - 2106.11.30 -优化缓存的存储 * * func : sql参数值的服务端来源定义 * author : 畅雨 * date : 2016.12.17 * desc : 可以将常量,变量,函数的值提供给sql参数的服务端默认值,通过reg函数注册到Context(MAP)中,在SQL的参数中通过名字进行调用得到值作为sql参数的值 * history : * * func : 动态SQL执行引擎 * author : 畅雨参数校验函数 * date : 2016.06.13 * desc : 关联关系全部通Id进行关联 * history : -2016.11.20 将执行sql的execMap修改该可以执行多个配置的cmd,采用相同的参数 * * desc : 请求处理handle * author:畅雨 * date: 2016.10.27 * history: 2016.10.17:优化 select与pagingselect返回结果,当数据为空时返回[] * 功能:辅助函数 * * desc : 管理动态SQL,根据配置文件目录从配置文件加载到内存中 * author : 畅雨 * date : 2016.12.13 * desc : * history: 动态SQL路由注册 特别说明:将router定义代码放到 sysrouter.go中 功能:动态SQL执行函数供其他包调用单元 日期: 更新:2016.10.18 增加 PagingSelectMapToMap func 功能:监控配置目录下的文件变化自动载入(修改,删除--OK) 作者:畅雨 日期:2016.06.01 已知问题: 1) 文件改名检测到但无法获知改名后文件故未更新----->可以用ReloadAll重新载入即可 更新记录:
|
* * desc : 参数校验函数 * author : 畅雨 * date : 2016.12.13 * desc : * history : * * func : 查询sql结果缓存处理单元 * author : 畅雨 * date : 2016.11.25 * desc : 缓存查询的结果 * history : - 2106.11.30 -优化缓存的存储 * * func : sql参数值的服务端来源定义 * author : 畅雨 * date : 2016.12.17 * desc : 可以将常量,变量,函数的值提供给sql参数的服务端默认值,通过reg函数注册到Context(MAP)中,在SQL的参数中通过名字进行调用得到值作为sql参数的值 * history : * * func : 动态SQL执行引擎 * author : 畅雨参数校验函数 * date : 2016.06.13 * desc : 关联关系全部通Id进行关联 * history : -2016.11.20 将执行sql的execMap修改该可以执行多个配置的cmd,采用相同的参数 * * desc : 请求处理handle * author:畅雨 * date: 2016.10.27 * history: 2016.10.17:优化 select与pagingselect返回结果,当数据为空时返回[] * 功能:辅助函数 * * desc : 管理动态SQL,根据配置文件目录从配置文件加载到内存中 * author : 畅雨 * date : 2016.12.13 * desc : * history: 动态SQL路由注册 特别说明:将router定义代码放到 sysrouter.go中 功能:动态SQL执行函数供其他包调用单元 日期: 更新:2016.10.18 增加 PagingSelectMapToMap func 功能:监控配置目录下的文件变化自动载入(修改,删除--OK) 作者:畅雨 日期:2016.06.01 已知问题: 1) 文件改名检测到但无法获知改名后文件故未更新----->可以用ReloadAll重新载入即可 更新记录: |
Package otp implements both HOTP and TOTP based one time passcodes in a Google Authenticator compatible manner.
|
Package otp implements both HOTP and TOTP based one time passcodes in a Google Authenticator compatible manner. |
import ( "github.com/henrylee2cn/surfer" "io/ioutil" "log" ) func main() { // Use surf engine resp, err := surfer.Download(&surfer.Request{ Url: "http://github.com/henrylee2cn/surfer", }) if err != nil { log.Fatal(err) } b, err := ioutil.ReadAll(resp.Body) log.Println(string(b), err) // Use phantomjs engine resp, err = surfer.Download(&surfer.Request{ Url: "http://github.com/henrylee2cn", DownloaderID: 1, }) if err != nil { log.Fatal(err) } b, err = ioutil.ReadAll(resp.Body) log.Println(string(b), err) resp.Body.Close() surfer.DestroyJsFiles() }
|
import ( "github.com/henrylee2cn/surfer" "io/ioutil" "log" ) func main() { // Use surf engine resp, err := surfer.Download(&surfer.Request{ Url: "http://github.com/henrylee2cn/surfer", }) if err != nil { log.Fatal(err) } b, err := ioutil.ReadAll(resp.Body) log.Println(string(b), err) // Use phantomjs engine resp, err = surfer.Download(&surfer.Request{ Url: "http://github.com/henrylee2cn", DownloaderID: 1, }) if err != nil { log.Fatal(err) } b, err = ioutil.ReadAll(resp.Body) log.Println(string(b), err) resp.Body.Close() surfer.DestroyJsFiles() } |
Package uuid generates and inspects UUIDs.
|
Package uuid generates and inspects UUIDs. |
Package websocket implements the WebSocket protocol defined in RFC 6455.
|
Package websocket implements the WebSocket protocol defined in RFC 6455. |
examples/autobahn
Command server is a test server for the Autobahn WebSockets Test Suite.
|
Command server is a test server for the Autobahn WebSockets Test Suite. |
Click to show internal directories.
Click to hide internal directories.