Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // GatewayEnabled is used to enable the gateway service. Enabled bool // EndorsementTimeout is used to specify the maximum time to wait for endorsement responses from external peers. EndorsementTimeout time.Duration // BroadcastTimeout is used to specify the maximum time to wait for responses from ordering nodes. BroadcastTimeout time.Duration // DialTimeout is used to specify the maximum time to wait for connecting to external peers and orderer nodes. DialTimeout time.Duration }
GatewayOptions is used to configure the gateway settings.
func GetOptions ¶
DefaultOptions gets the default Gateway configuration Options
Click to show internal directories.
Click to hide internal directories.