You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `handler` package contains utilities for building, composing, and decorating handlers, and for building large state machines with them.
73
-
See the [docs]() for more details.
73
+
See the [docs](https://pkg.go.dev/github.com/authzed/controller-idioms/handler) for more details.
74
74
75
75
Handlers take some inspiration from [statecharts](https://statecharts.dev/) to deal with the complexity of writing and maintaining controllers, while staying close to golang idioms.
The `manager` package provides an optional lightweight controller `Manager` abstraction (similar to kubernetes controller manager, or the manager from controller runtime). It also provides a simple `Controller` abstraction and some basic implementations.
151
+
The `manager` package provides an optional lightweight controller `Manager` abstraction (similar to kubernetes controller manager, or the manager from controller runtime). It also provides a simple `Controller` abstraction and some basic implementations.
151
152
152
153
The rest of `controller-idioms` can be used without using these if you are already using another solution.
153
154
@@ -190,7 +191,6 @@ The queue operations are:
190
191
191
192
If calling these controls from a handler, it's important to `return` immediately so that the handler does not continue processing a key that the queue thinks has stopped.
192
193
193
-
194
194
### Middleware
195
195
196
196
Middleware can be injected between handlers with the `middleware` package.
0 commit comments