Documentation ¶
Index ¶
- func Display(results chan string, flag bool)
- func Handle(handler Handler, num int, results chan<- string)
- func InitClients(addrs []string)
- func Register(handleType string, handle Handler)
- func Run(handleType string, amount int, tps int, prepare int, flag bool)
- func SendTx(stx *tx.Tx, i int) (string, error)
- func ToTxRequest(t *tx.Tx) *rpcpb.TransactionRequest
- type GrpcClient
- type Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GrpcClient ¶
type GrpcClient struct { rpcpb.ApiServiceClient // contains filtered or unexported fields }
GrpcClient wraps ApiServiceClient with a semaphore.
Click to show internal directories.
Click to hide internal directories.