gtools

module
v0.0.0-...-d920e95 Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: Apache-2.0

README

gtools

some utils and tools for go

Directories

Path Synopsis
log
rbt-cli/src/github.com/streadway/amqp
Package amqp is an AMQP 0.9.1 client with RabbitMQ extensions
Package amqp is an AMQP 0.9.1 client with RabbitMQ extensions
rbt-cli/src/github.com/streadway/amqp/_examples/simple-consumer
This example declares a durable Exchange, an ephemeral (auto-delete) Queue, binds the Queue to the Exchange with a binding key, and consumes every message published to that Exchange with that routing key.
This example declares a durable Exchange, an ephemeral (auto-delete) Queue, binds the Queue to the Exchange with a binding key, and consumes every message published to that Exchange with that routing key.
rbt-cli/src/github.com/streadway/amqp/_examples/simple-producer
This example declares a durable Exchange, and publishes a single message to that Exchange with a given routing key.
This example declares a durable Exchange, and publishes a single message to that Exchange with a given routing key.
rbt-cli/src/simple-consumer
This example declares a durable Exchange, an ephemeral (auto-delete) Queue, binds the Queue to the Exchange with a binding key, and consumes every message published to that Exchange with that routing key.
This example declares a durable Exchange, an ephemeral (auto-delete) Queue, binds the Queue to the Exchange with a binding key, and consumes every message published to that Exchange with that routing key.
rbt-cli/src/simple-producer
This example declares a durable Exchange, and publishes a single message to that Exchange with a given routing key.
This example declares a durable Exchange, and publishes a single message to that Exchange with a given routing key.
utils/stringutil
Package stringutil contains utility functions for working with strings.
Package stringutil contains utility functions for working with strings.
base/note/cgo/goexportforc
导出 Go 函数给 C 调⽤,须使⽤ "//export" 标记。
导出 Go 函数给 C 调⽤,须使⽤ "//export" 标记。
foo.go
quick.go
fromliongo/test
go协程goroutine与Java多线程比较 个人理解的线程,协程和单,多核线程 1.
go协程goroutine与Java多线程比较 个人理解的线程,协程和单,多核线程 1.
godoc
* 提供的常用库,有一些常用的方法,方便使用--from doc.go
* 提供的常用库,有一些常用的方法,方便使用--from doc.go
godoc/doc
* 提供的常用库,有一些常用的方法,方便使用--from doc.go
* 提供的常用库,有一些常用的方法,方便使用--from doc.go
os-signals
Go中通过os/signals包,可以接受系统信号。
Go中通过os/signals包,可以接受系统信号。
protobuf_any
Package anything is a generated protocol buffer package.
Package anything is a generated protocol buffer package.
sync/concurent-sync-sample
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作.
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作.
sync/concurent-sync-sample-v2-cond
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作.
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作.
sync/concurent-sync-sample-v3-atomic
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作.
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作.
synchronized
WaitGroup的用途:它能够一直等到所有的goroutine执行完成,并且阻塞主线程的执行,直到所有的goroutine执行完成。
WaitGroup的用途:它能够一直等到所有的goroutine执行完成,并且阻塞主线程的执行,直到所有的goroutine执行完成。

Jump to

Keyboard shortcuts

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