package proxy
|
|
|
|
import (
|
|
tmspcli "github.com/tendermint/tmsp/client"
|
|
)
|
|
|
|
type AppConn interface {
|
|
SetResponseCallback(tmspcli.Callback)
|
|
Error() error
|
|
|
|
EchoAsync(msg string) *tmspcli.ReqRes
|
|
FlushAsync() *tmspcli.ReqRes
|
|
AppendTxAsync(tx []byte) *tmspcli.ReqRes
|
|
CheckTxAsync(tx []byte) *tmspcli.ReqRes
|
|
GetHashAsync() *tmspcli.ReqRes
|
|
SetOptionAsync(key string, value string) *tmspcli.ReqRes
|
|
|
|
InfoSync() (info string, err error)
|
|
FlushSync() error
|
|
GetHashSync() (hash []byte, log string, err error)
|
|
}
|