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
409 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)
  9. FlushAsync()
  10. AppendTxAsync(tx []byte)
  11. CheckTxAsync(tx []byte)
  12. GetHashAsync()
  13. SetOptionAsync(key string, value string)
  14. InfoSync() (info string, err error)
  15. FlushSync() error
  16. GetHashSync() (hash []byte, log string, err error)
  17. }