Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CosmosClient ¶
type CosmosClient struct {
// contains filtered or unexported fields
}
CosmosClient is responsible for generating transactions. Only one client will be created per connection to the remote Tendermint RPC endpoint, and each client will be responsible for maintaining its own state in a thread-safe manner.
func (*CosmosClient) GenerateTx ¶
func (c *CosmosClient) GenerateTx() ([]byte, error)
GenerateTx must return the raw bytes that make up the transaction for your ABCI app. The conversion to base64 will automatically be handled by the loadtest package, so don't worry about that. Only return an error here if you want to completely fail the entire load test operation.
type CosmosClientFactory ¶
type CosmosClientFactory struct {
// contains filtered or unexported fields
}
CosmosClientFactory creates instances of CosmosClient
func NewCosmosClientFactory ¶
func NewCosmosClientFactory(txConfig client.TxConfig) *CosmosClientFactory
func (*CosmosClientFactory) ValidateConfig ¶
func (f *CosmosClientFactory) ValidateConfig(cfg loadtest.Config) error
Click to show internal directories.
Click to hide internal directories.