class ShellyplugExporter::Server

Overview

HTTP server for Prometheus metrics for one or more Shelly plugs.

Defined in:

shellyplug_exporter/server.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(plugs : Array(Plug), exporter_port : Int32) #

Instance Method Detail

def run : Nil #

def stop : Nil #