add contracts

This commit is contained in:
yanghao05
2023-07-31 18:11:33 +08:00
parent 7b9c3cf531
commit 3a435be177
3 changed files with 15 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ func init() {
go func() {
<-ctx.Done()
Close()
cancel()
}()
Cancel = cancel
return ctx