Skip to content

mediocregopher/ghost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

.go.yaml:

    - loc: https://github.com/mediocregopher/ghost.git
      type: git
      ref: v0.3.1
      path: github.com/mediocregopher/ghost

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

Docs

Check out docs for externally available methods. Also check out the example code to see actual usage.

About

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

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages