Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CoreOpt ¶
type CoreOpt func(c *core) error
CoreOpt describes opt which will be applied to coreOptions
func WithConfigRaw ¶
WithConfigRaw allows to pass to core created config instance
func WithConfigYaml ¶
WithConfigYaml allows to pass path to YAML configuration file
func WithContext ¶
WithContext allows to pass custom context. Otherwise, context.Background is used
func WithLogger ¶
WithLogger allows to pass custom copy of zap.Logger insteadof logger.DefaultLogger
func WithOrderer ¶
WithOrderer allows to use custom instance of orderer in core
func WithPeerPool ¶
WithPeerPool allows to add custom peer pool
Click to show internal directories.
Click to hide internal directories.