You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
505 B

9 years ago
  1. package proxy
  2. import (
  3. tmspcli "github.com/tendermint/tmsp/client"
  4. )
  5. type AppConn interface {
  6. SetResponseCallback(tmspcli.Callback)
  7. Error() error
  8. EchoAsync(msg string) *tmspcli.ReqRes
  9. FlushAsync() *tmspcli.ReqRes
  10. AppendTxAsync(tx []byte) *tmspcli.ReqRes
  11. CheckTxAsync(tx []byte) *tmspcli.ReqRes
  12. GetHashAsync() *tmspcli.ReqRes
  13. SetOptionAsync(key string, value string) *tmspcli.ReqRes
  14. InfoSync() (info string, err error)
  15. FlushSync() error
  16. GetHashSync() (hash []byte, log string, err error)
  17. }