Crate rabbitmesh_macros

Crate rabbitmesh_macros 

Source
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