Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultRegistrar ¶
type DefaultRegistrar struct {
// contains filtered or unexported fields
}
DefaultRegistrar represents a registrar that allows to handle the default egldjuno modules
func NewDefaultRegistrar ¶
func NewDefaultRegistrar(parser messages.MessageAddressesParser) *DefaultRegistrar
NewDefaultRegistrar builds a new DefaultRegistrar
func (*DefaultRegistrar) BuildModules ¶
func (r *DefaultRegistrar) BuildModules( cfg types.Config, encodingCfg *params.EncodingConfig, db db.Database, _ *client.Proxy, ) modules.Modules
BuildModules implements Registrar
type EmptyRegistrar ¶
type EmptyRegistrar struct{}
EmptyRegistrar represents a Registrar which does not register any custom module
func (*EmptyRegistrar) BuildModules ¶
func (*EmptyRegistrar) BuildModules( types.Config, *params.EncodingConfig, db.Database, *client.Proxy, ) modules.Modules
BuildModules implements Registrar
type Registrar ¶
type Registrar interface {
BuildModules(types.Config, *params.EncodingConfig, db.Database, *client.Proxy) modules.Modules
}
Registrar represents a modules registrar. This allows to build a list of modules that can later be used by specifying their names inside the TOML configuration file.
Click to show internal directories.
Click to hide internal directories.