Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶ added in v0.0.9
type Context struct { JunoConfig config.Config SDKConfig *sdk.Config EncodingConfig *params.EncodingConfig Database database.Database Proxy node.Node Logger logging.Logger }
Context represents the context of the modules registrar
type DefaultRegistrar ¶ added in v0.0.9
type DefaultRegistrar struct {
// contains filtered or unexported fields
}
DefaultRegistrar represents a registrar that allows to handle the default Juno modules
func NewDefaultRegistrar ¶ added in v0.0.9
func NewDefaultRegistrar(parser messages.MessageAddressesParser) *DefaultRegistrar
NewDefaultRegistrar builds a new DefaultRegistrar
func (*DefaultRegistrar) BuildModules ¶ added in v0.0.9
func (r *DefaultRegistrar) BuildModules(ctx Context) modules.Modules
BuildModules implements Registrar
type EmptyRegistrar ¶ added in v0.0.9
type EmptyRegistrar struct{}
EmptyRegistrar represents a Registrar which does not register any custom module
func (*EmptyRegistrar) BuildModules ¶ added in v0.0.9
func (*EmptyRegistrar) BuildModules(_ Context) modules.Modules
BuildModules implements Registrar
Click to show internal directories.
Click to hide internal directories.