<commit_before># ghost

Durable-but-not-reliable remote message passing for go.

Ghost is a small library that lets you create long-lived client/servers with the
following properties:

* Automatic, transparrent connection resurrection

* Messages can be any go structure, not just strings or bytes. Encoding and
  decoding is done transparently

* Messages only travel from client to server. To go the other way a listen
  must be created on the client and a response message is sent to that. How you
  route messages is up to you.

Ghost is useful where you have a cluster of processes that you want to have
long-running communication connections to each other on.

# Usage

`go get github.com/mediocregopher/ghost`

or

[goat](http://github.com/mediocregopher/goat):
```json
{
    "loc":"https://github.com/mediocregopher/ghost.git",
    "type":"git",
    "reference":"v0.1.0",
    "path":"github.com/mediocregopher/ghost"
}
```

Then when you want to use it import `github.com/mediocregopher/ghost/src/ghost`

# Docs

Check out the [ghost.go](/src/ghost/ghost.go) file for externally
available methods. Also check out the [example](/example) code to see actual<commit_msg>Fixed Goatfile statement path<commit_after># ghost

Durable-but-not-reliable remote message passing for go.

Ghost is a small library that lets you create long-lived client/servers with the
following properties:

* Automatic, transparrent connection resurrection

* Messages can be any go structure, not just strings or bytes. Encoding and
  decoding is done transparently

* Messages only travel from client to server. To go the other way a listen
  must be created on the client and a response message is sent to that. How you
  route messages is up to you.

Ghost is useful where you have a cluster of processes that you want to have
long-running communication connections to each other on.

# Usage

`go get github.com/mediocregopher/ghost`

or

[goat](http://github.com/mediocregopher/goat):
```json
{
    "loc":"https://github.com/mediocregopher/ghost.git",
    "type":"git",
    "reference":"v0.1.0",
    "path":"github.com/mediocregopher/ghost/src/ghost"
}
```

Then when you want to use it import `github.com/mediocregopher/ghost/src/ghost`

# Docs

Check out the [ghost.go](/src/ghost/ghost.go) file for externally
available methods. Also check out the [example](/example) code to see actual
{'fraction_non_alphanumeric': 0.08922558922558922, 'fraction_numerical': 0.0025252525252525255, 'mean_word_length': 4.189956331877729, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6022556', 'n_tokens_mistral': 733, 'n_tokens_neox': 712, 'n_words': 284}