Sha256: 597b2e9eb2d57ae3f73e74e8ea767e84b875847be98e51635232800c1f8aabf6
Contents?: true
Size: 408 Bytes
Versions: 10
Compression:
Stored size: 408 Bytes
Contents
# frozen_string_literal: true require 'mkit/version' class MkitController < MKIt::Server get '/mkit/version' do "MKIt version #{MKIt::VERSION}\n" end put '/mkit/proxy/restart' do MKIt::HAProxy.restart end put '/mkit/proxy/start' do MKIt::HAProxy.start end put '/mkit/proxy/stop' do MKIt::HAProxy.stop end get '/mkit/proxy/status' do MKIt::HAProxy.status end end
Version data entries
10 entries across 10 versions & 1 rubygems