-
- Downloads
Implement a transaction-like interface for the backend
This should make it easier to implement a SQL backend in the future if necessary, even though LDAP knows no such thing as transactions. As a result of a better low-level interface, reducing the boilerplate LDAP code, the business logic in model.go should be quite more readable.
Showing
- actions.go 68 additions, 56 deletionsactions.go
- backend/model.go 102 additions, 133 deletionsbackend/model.go
- backend/model_test.go 15 additions, 3 deletionsbackend/model_test.go
- backend/testdata/base.ldif 21 additions, 0 deletionsbackend/testdata/base.ldif
- backend/tx.go 134 additions, 0 deletionsbackend/tx.go
- types.go 86 additions, 11 deletionstypes.go
Loading
Please register or sign in to comment