mcuadros / go-syslog

Syslog server library for go.
http://godoc.org/gopkg.in/mcuadros/go-syslog.v2
MIT License
523 stars 143 forks source link

Simplify Server (a little) by extracting a Format interface. #9

Closed emmanuel closed 9 years ago

emmanuel commented 9 years ago

Replaces the Format enum (and corresponding case statement) with a Format interface (consisting solely of the GetParser() method).

emmanuel commented 9 years ago

Rebased onto master.

mcuadros commented 9 years ago

Can you provide custom test for Format?

Thanks

mcuadros commented 9 years ago

ping

mcuadros commented 9 years ago

Dumped a version 2.0, including a similar refactor. Thanks

emmanuel commented 9 years ago

Hey, sorry I disappeared and didn't finish this work. I've not been working on this for a bit, and I couldn't find the time to properly wrap it up.

I'm glad none of that slowed you down. Congrats on the 2.0 release!