Module: DataPlaneApi

Defined in:
lib/data_plane_api.rb,
lib/data_plane_api/server.rb,
lib/data_plane_api/version.rb,
lib/data_plane_api/configuration.rb

Overview

Contains code which implements a subset of the HAProxy Data Plane API.

Defined Under Namespace

Modules: Server Classes: Configuration, Error

Constant Summary collapse

CONFIG =
Configuration.new(global: true)
VERSION =
'0.2.0'

Class Method Summary collapse

Class Method Details

.configure(&block) ⇒ Object

: { (Configuration) -> void } -> Configuration



17
18
19
20
# File 'lib/data_plane_api.rb', line 17

def configure(&block)
  block.call(CONFIG)
  CONFIG
end