generated from okp4/template-go
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): implement transaction timeout config
- Loading branch information
Showing
5 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
package pkg | ||
|
||
import "time" | ||
|
||
type Config struct { | ||
GrpcAddress string `mapstructure:"grpc-address"` | ||
Mnemonic string `mapstructure:"mnemonic"` | ||
ChainID string `mapstructure:"chain-id"` | ||
Denom string `mapstructure:"denom"` | ||
Prefix string `mapstructure:"prefix"` | ||
FeeAmount int64 `mapstructure:"fee-amount"` | ||
AmountSend int64 `mapstructure:"amount-send"` | ||
Memo string `mapstructure:"memo"` | ||
GasLimit uint64 `mapstructure:"gas-limit"` | ||
NoTLS bool `mapstructure:"no-tls"` | ||
TLSSkipVerify bool `mapstructure:"tls-skip-verify"` | ||
GrpcAddress string `mapstructure:"grpc-address"` | ||
Mnemonic string `mapstructure:"mnemonic"` | ||
ChainID string `mapstructure:"chain-id"` | ||
Denom string `mapstructure:"denom"` | ||
Prefix string `mapstructure:"prefix"` | ||
FeeAmount int64 `mapstructure:"fee-amount"` | ||
AmountSend int64 `mapstructure:"amount-send"` | ||
Memo string `mapstructure:"memo"` | ||
GasLimit uint64 `mapstructure:"gas-limit"` | ||
NoTLS bool `mapstructure:"no-tls"` | ||
TLSSkipVerify bool `mapstructure:"tls-skip-verify"` | ||
TxTimeout time.Duration `mapstructure:"tx-timeout"` | ||
} |