Configuration ManagementSupports file-based YAML and Consul configuration center, with flexible environment variable overrides using the BUTTERFLY_ prefix.
Transport LayerBuilt-in HTTP server (Gin), gRPC server on port 9090, and Twirp RPC support out of the box.
Data StorageIntegrated support for GORM, MongoDB, Redis, native SQL, and S3-compatible object storage (AWS SDK v2).
ObservabilityPrometheus metrics on port 2223, OpenTelemetry distributed tracing, and structured logging via log/slog.
Dependency InjectionGoogle Wire integration for compile-time dependency injection, improving testability and maintainability.
Production ReadyGraceful shutdown, health checks, Docker & Kubernetes deployment support, and testing utilities built in.