myabciapp

package
v0.0.0-...-b383f3c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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) NewClient

func (f *CosmosClientFactory) NewClient(cfg loadtest.Config) (loadtest.Client, error)

func (*CosmosClientFactory) ValidateConfig

func (f *CosmosClientFactory) ValidateConfig(cfg loadtest.Config) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL