Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-08 | nslcd_proto: BREAKING CHANGE: Rethink the panic strategy | Luke Shumaker | |
nslcd_proto.Read() and .Write() panic() with any errors that they may need to emit. This made composition really simple, I was OK with it being against the normal Go style. But, I'm not happy with it anymore; have them return errors now. This leads us in to nslcd_server.HandleRequest() using those panics for control flow. Add a maybePanic(error) function to wrap all of the proto.Read() and proto.Write() calls to restore the panicing behavior. | |||
2016-12-18 | Rename packages to make goimports happy. BREAKING CHANGE. | Luke Shumaker | |