NewRemoteClientCreator returns a ClientCreator for the given address (e.g. "192.168.0.1") and transport (e.g. "tcp"). Set mustConnect to true if you want the client to connect before reporting success.
(addr, transport string, mustConnect bool)
| 53 | // "192.168.0.1") and transport (e.g. "tcp"). Set mustConnect to true if you |
| 54 | // want the client to connect before reporting success. |
| 55 | func NewRemoteClientCreator(addr, transport string, mustConnect bool) ClientCreator { |
| 56 | return &remoteClientCreator{ |
| 57 | addr: addr, |
| 58 | transport: transport, |
| 59 | mustConnect: mustConnect, |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | func (r *remoteClientCreator) NewABCIClient() (abcicli.Client, error) { |
| 64 | remoteApp, err := abcicli.NewClient(r.addr, r.transport, r.mustConnect) |
no outgoing calls