Closed spacewander closed 2 years ago
The hack here is just for test. However, we can remove this hack if we use a map to store the type->handler mapping, instead of the case ... block.
case ...
uname -a
See https://github.com/apache/apisix-go-plugin-runner/blob/6d1933ab4835bfbec2a02cc035660b5496df414f/internal/server/server.go#L76
Issue description
The hack here is just for test. However, we can remove this hack if we use a map to store the type->handler mapping, instead of the
case ...
block.Environment
uname -a
):