Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3acc278811 |
@@ -60,6 +60,7 @@ func NewCatchEth(eth string, sentence string) (*NetCatch, error) {
|
||||
nc := new(NetCatch)
|
||||
nc.eth = eth
|
||||
nc.sentence = sentence
|
||||
nc.ctx, nc.stopFn = context.WithCancel(context.Background())
|
||||
return nc, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user