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 |
Package cron implements a cron spec parser and job runner.
|
Package cron implements a cron spec parser and job runner. |
db
|
|
directsql
* * desc : 参数校验函数 * author : 畅雨 * date : 2016.12.13 * desc : * history : 2017.05.28 - 增加主从表关联id的服务端处理。
|
* * desc : 参数校验函数 * author : 畅雨 * date : 2016.12.13 * desc : * history : 2017.05.28 - 增加主从表关联id的服务端处理。 |
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.