Module: FastMcpPubsub
- Defined in:
- lib/fast_mcp_pubsub.rb,
lib/fast_mcp_pubsub/railtie.rb,
lib/fast_mcp_pubsub/service.rb,
lib/fast_mcp_pubsub/version.rb,
lib/fast_mcp_pubsub/configuration.rb,
lib/fast_mcp_pubsub/rack_transport_patch.rb
Overview
Monkey patch for FastMcp::Transports::RackTransport Adds PostgreSQL PubSub support for cluster mode
Defined Under Namespace
Modules: RackTransportPatch Classes: Configuration, Error, Railtie, Service
Constant Summary collapse
- VERSION =
"1.1.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
- .config ⇒ Object
- .configure {|configuration| ... } ⇒ Object
-
.logger ⇒ Object
Simple logging helper - uses Rails.logger since this gem is Rails-specific.
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
14 15 16 |
# File 'lib/fast_mcp_pubsub.rb', line 14 def configuration @configuration end |
Class Method Details
.config ⇒ Object
22 23 24 |
# File 'lib/fast_mcp_pubsub.rb', line 22 def self.config self.configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
17 18 19 20 |
# File 'lib/fast_mcp_pubsub.rb', line 17 def self.configure self.configuration ||= Configuration.new yield(configuration) end |
.logger ⇒ Object
Simple logging helper - uses Rails.logger since this gem is Rails-specific
27 28 29 |
# File 'lib/fast_mcp_pubsub.rb', line 27 def self.logger Rails.logger end |