<commit_before>raidman
=======

Go Riemann client<commit_msg>Update README.md with an example<commit_after>Raidman
=======

Go Riemann client

```go
package main

import (
        "github.com/amir/raidman"
)

func main() {
        c, err := raidman.Dial("tcp", "localhost:5555")
        if err != nil {
                panic(err)
        }

        var event = &raidman.Event{
                State:   "success",
                Host:    "raidman",
                Service: "raidman-sample",
                Int:     100,
                Ttl:     10,
        }

        err = c.Send(event)
        if err != nil {
                panic(err)
        }

        events, err := c.Query("host = \"raidman\"")
        if err != nil {
                panic(err)
        }

        if len(events) < 1 {
                panic("Submitted event not found")
        }

        c.Close()
}

```
{'fraction_non_alphanumeric': 0.1349206349206349, 'fraction_numerical': 0.011337868480725623, 'mean_word_length': 1.2875647668393781, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1285362', 'n_tokens_mistral': 288, 'n_tokens_neox': 257, 'n_words': 61}