garlic
garlic copied to clipboard
GArLIC: GolAng LInux Connector: A Proc Connector library for go
``` panic: runtime error: slice bounds out of range [8:6] goroutine 1 [running]: github.com/fearful-symmetry/garlic.getEvent(0x200, 0x152aa86a0994, 0xc0001dc034, 0x18, 0xfcc, 0xc00015f300, 0x3c, 0x5f9360, 0x0) /home/del0/projects/go-modules/vendor/github.com/fearful-symmetry/garlic/garlic.go:47 +0x7ab github.com/fearful-symmetry/garlic.CnConn.parseCn(0xc00015e000, 0x62ccc747, 0xc0001dc010, 0x3c, 0xff0, 0x0,...
I'm using this package to monitor proc event。I receive msg by `ReadPCN`, and when the socket has something problems,I got one error. And I try to `ClosePCN` and restart all...