rabbitmq-http-auth:Go中实现的RabbitMQ的HTTP AuthNAuthZ服务

时间:2021-04-21 04:59:13
【文件属性】:
文件名称:rabbitmq-http-auth:Go中实现的RabbitMQ的HTTP AuthNAuthZ服务
文件大小:11KB
文件格式:ZIP
更新时间:2021-04-21 04:59:13
Go Go中的RabbitMQ HTTP身份验证后端 打包和示例服务,用于构建RabbitMQ HTTP Auth服务以与RabbitMQ“ HTTP Auth Backend”(实际上是AuthN / AuthZ后端)一起使用。 有关详细信息,请参见 建立自己的服务 要构建RabbitMQ HTTP Auth后端,您只需实现提供的Authenticator接口,该请求将由POST请求调用到/auth/user , /auth/vhost , /auth/topic和/auth/resource路径: type Decision bool type Authenticator interface { // User authenticates the given user. In addition to the decision, the tags // associated with
【文件预览】:
rabbitmq-http-auth-main
----.gitignore(48B)
----go.mod(101B)
----Dockerfile(228B)
----Makefile(365B)
----pkg()
--------auth.go(1KB)
--------serve.go(2KB)
--------serve_test.go(4KB)
----go.sum(1024B)
----.github()
--------workflows()
----README.md(4KB)
----demo()
--------rabbitmq.conf(403B)
--------docker-compose.yml(274B)
----cmd()
--------example()

网友评论