This commit is contained in:
2025-06-24 22:09:05 +08:00
parent 32a7a512a2
commit fdac99f11c
38 changed files with 42980 additions and 180 deletions

View File

@@ -1,6 +1,8 @@
package handler
import "github.com/panjf2000/gnet/v2"
// Handler The handler receive every syslog entry at Handle method
type Handler interface {
Handle([]byte)
Handle(gnet.Conn, []byte)
}