Skip to content

ig3io/palta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Palta

Build Status

Simple server for simple (remote) logging. Right now it's just an experimental work in progress.

It receives messages and triggers actions.

The criteria should be fully customizable and it should be able to work via TCP and UDP (HTTP too?).

Planned Usage

It's planned, it means not implemented. ;*

require "palta"

server = Palta::Server.new

server.actions do

  def on_info msg
    puts "relax: #{msg}"
  end

  def on_warning msg
    puts "just saying: #{msg}"
  end

  def on_error msg
    puts "oops: #{msg}"
  end

end

server.start

About

Experiment with Ruby, sockets, and logging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages