GitXplorerGitXplorer
k

eye-http

public
10 stars
3 forks
1 issues

Commits

List of commits on branch master.
Unverified
f4fce76882e41023b146163c72536ffed7c01b3e

update to eye 0.10

kkostya committed 7 years ago
Unverified
343ec5048f55982976cc0e86f04aa14f55934bb9

reel-rack

kkostya committed 8 years ago
Unverified
464c632331df7f0774ded879ffe9845c9d0d817b

update reel

kkostya committed 8 years ago
Unverified
bbe592b395f5f55b559203facc7a54ed47c73c4f

update reel

kkostya committed 8 years ago
Unverified
71f37bd5a116f8f8589582a754d4cac1bc85c428

update to 0.9

kkostya committed 8 years ago
Unverified
7241e2c9888efbffea95175e7c150b32933032bd

fix version

kkostya committed 9 years ago

README

The README file for this repository.

Eye::Http

Http interface for the Eye gem.

Installation

gem install eye
gem install eye-http

Gemfile

group 'eye' do
  gem 'eye'
  gem 'eye-http'
end

Usage

Example config:

require 'eye-http'

Eye.config do
  http :enable => true, :host => "127.0.0.1", :port => 12345
end

Eye.application :app do
  process :process do
    start_command "sleep 100"
    daemonize true
    pid_file "/tmp/1.pid"
  end
end

Run:

bundle exec eye l examples/1.eye

Api:

curl http://127.0.0.1:12345/api/info?filter=all
curl -X PUT http://127.0.0.1:12345/api/restart?filter=all