Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerGetConfig ¶
func HandlerGetConfig(ctx *context.Context) http.HandlerFunc
func HandlerUpdateConfig ¶
func HandlerUpdateConfig(ctx *context.Context) http.HandlerFunc
Types ¶
type RequestUpdateConfig ¶
type RequestUpdateConfig struct { Setup bool `json:"setup"` From string `json:"from"` Chain struct { BroadcastMode string `json:"broadcast_mode"` GasAdjustment float64 `json:"gas_adjustment"` GasPrices string `json:"gas_prices"` Gas uint64 `json:"gas"` ID string `json:"id"` RPCAddress string `json:"rpc_address"` SimulateAndExecute bool `json:"simulate_and_execute"` } `json:"chain"` }
func NewRequestUpdateConfig ¶
func NewRequestUpdateConfig(r *http.Request) (*RequestUpdateConfig, error)
func (*RequestUpdateConfig) Validate ¶
func (r *RequestUpdateConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.