Browse Source

example/golang

pull/1780/head
Ethan Buchman 9 years ago
parent
commit
36b7045f5c
6 changed files with 6 additions and 3 deletions
  1. +4
    -1
      README.md
  2. +1
    -1
      cmd/counter/main.go
  3. +1
    -1
      cmd/dummy/main.go
  4. +0
    -0
      example/golang/counter.go
  5. +0
    -0
      example/golang/dummy.go
  6. +0
    -0
      example/golang/dummy_test.go

+ 4
- 1
README.md View File

@ -1,6 +1,9 @@
# Tendermint Socket Protocol (TMSP)
**TMSP** is a socket protocol, which means applications can be written in any programming language.
**TMSP** is a socket protocol enabling a consensus engine, running in one process,
to manage an application state, running in another.
Thus the applications can be written in any programming language.
TMSP is an asynchronous protocol: message responses are written back asynchronously to the platform.
*Applications must be deterministic.*


+ 1
- 1
cmd/counter/main.go View File

@ -4,7 +4,7 @@ import (
"flag"
. "github.com/tendermint/go-common"
"github.com/tendermint/tmsp/example"
"github.com/tendermint/tmsp/example/golang"
"github.com/tendermint/tmsp/server"
)


+ 1
- 1
cmd/dummy/main.go View File

@ -2,7 +2,7 @@ package main
import (
. "github.com/tendermint/go-common"
"github.com/tendermint/tmsp/example"
"github.com/tendermint/tmsp/example/golang"
"github.com/tendermint/tmsp/server"
)


example/counter.go → example/golang/counter.go View File


example/dummy.go → example/golang/dummy.go View File


example/dummy_test.go → example/golang/dummy_test.go View File


Loading…
Cancel
Save