Expand description
RabbitMesh Universal Macro Framework
Provides comprehensive proc macros for microservice development with cross-cutting concerns automation across all project domains.
Macros§
- generate_
auto_ gateway - Generate dynamic auto-gateway from workspace service discovery
Attribute Macros§
- abac
- admin_
only - api_
key_ auth - async_
process - audit_
log - Audit logging
- authorize
- batch_
process - Batch processing
- bearer_
auth - cached
- Caching
- circuit_
breaker - cqrs
- csrf_
protect - escape
- event_
publish - Event publishing
- event_
sourcing - fallback
- jwt_
auth - Additional commonly used macros
- log
- memory_
cache - metrics
- Metrics collection
- monitor
- oauth
- owner_
only - prometheus
- rate_
limit - Rate limiting
- rbac
- read_
only - read_
write - real_
time - redis_
cache - require_
auth - Authentication requirement
- require_
ownership - Resource ownership requirement
- require_
permission - Permission-based authorization
- require_
role - Role-based authorization
- retry
- saga
- sanitize
- service_
definition - Marks a struct as a microservice definition.
- service_
impl - Universal service implementation processor with comprehensive macro support
- service_
method - Marks a method as a service endpoint with optional HTTP route information.
- state_
machine - streaming
- Streaming support
- throttle
- timeout
- trace
- transactional
- Database transactions
- user_
only - validate
- Input validation
- websocket
- workflow
- xss_
protect