Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
gen
module
|
|
|
cmd
|
|
|
protoc-gen-servora-audit
command
|
|
|
protoc-gen-servora-authz
command
|
|
|
protoc-gen-servora-mapper
command
|
|
|
svr
command
|
|
|
core
|
|
|
infra
|
|
|
broker
Package broker defines Servora's minimal message broker abstraction.
|
Package broker defines Servora's minimal message broker abstraction. |
|
broker/kafka
Package kafka provides a franz-go based implementation of pkg/broker.
|
Package kafka provides a franz-go based implementation of pkg/broker. |
|
db/clickhouse
Package clickhouse provides a framework-level ClickHouse connection helper following the Optional-init pattern established by pkg/broker/kafka.
|
Package clickhouse provides a framework-level ClickHouse connection helper following the Optional-init pattern established by pkg/broker/kafka. |
|
obs
|
|
|
audit
Package audit records cross-cutting audit events (authentication outcomes, authorization decisions, OpenFGA tuple changes, business resource mutations) into a unified auditpb.AuditEvent envelope and delivers them through a pluggable Emitter (broker, log, noop).
|
Package audit records cross-cutting audit events (authentication outcomes, authorization decisions, OpenFGA tuple changes, business resource mutations) into a unified auditpb.AuditEvent envelope and delivers them through a pluggable Emitter (broker, log, noop). |
|
platform
|
|
|
health
Package health 提供组件化的健康探针能力。
|
Package health 提供组件化的健康探针能力。 |
|
security
|
|
|
authn
Package authn provides a generic Kratos middleware for JWT-based authentication.
|
Package authn provides a generic Kratos middleware for JWT-based authentication. |
|
authn/jwt
Package jwt provides a JWT-based Authenticator implementation for pkg/authn.
|
Package jwt provides a JWT-based Authenticator implementation for pkg/authn. |
|
authn/noop
Package noop provides a no-op Authenticator that always returns an anonymous actor.
|
Package noop provides a no-op Authenticator that always returns an anonymous actor. |
|
authz
Package authz provides a generic Kratos middleware for authorization.
|
Package authz provides a generic Kratos middleware for authorization. |
|
authz/noop
Package noop provides a no-op Authorizer that always permits all requests.
|
Package noop provides a no-op Authorizer that always permits all requests. |
|
authz/openfga
Package openfga provides an OpenFGA-based Authorizer implementation for pkg/authz.
|
Package openfga provides an OpenFGA-based Authorizer implementation for pkg/authz. |
|
transport
|
|
|
server/middleware
Package middleware 提供服务器中间件链构建工具。
|
Package middleware 提供服务器中间件链构建工具。 |
Click to show internal directories.
Click to hide internal directories.