proxy: move proxy package to internal

This commit is contained in:
tycho garen
2021-09-16 11:41:47 -04:00
parent b0684bd300
commit e4f21036c2
45 changed files with 59 additions and 55 deletions
+8
View File
@@ -64,6 +64,14 @@ type Client interface {
ApplySnapshotChunkSync(context.Context, types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
}
//go:generate ../scripts/mockery_generate.sh ClientCreator
// ClientCreator creates new ABCI clients.
type ClientCreator interface {
// NewABCIClient returns a new ABCI client.
NewABCIClient() (Client, error)
}
//----------------------------------------
// NewClient returns a new ABCI client of the specified transport type.