example

command
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 3 Imported by: 0

README

运行Signal示例

此示例展示了如何使用 signals 包来管理和处理同步和异步信号。同步和异步的代码分别写在 sync.goasync.go 文件中。要运行示例,执行以下命令:

# 运行异步示例
go run example/main.go
# 运行同步示例
go run example/main.go -sync

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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