Documentation ¶
Index ¶
- type Parameter
- func WithAccountManager(accountManager accountmanager.Service) Parameter
- func WithCACert(caCert []byte) Parameter
- func WithID(id uint64) Parameter
- func WithListenAddress(listenAddress string) Parameter
- func WithLister(lister lister.Service) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMonitor(monitor metrics.APIMonitor) Parameter
- func WithName(name string) Parameter
- func WithPeers(peers peers.Service) Parameter
- func WithProcess(process process.Service) Parameter
- func WithServerCert(serverCert []byte) Parameter
- func WithServerKey(serverKey []byte) Parameter
- func WithSigner(signer signer.Service) Parameter
- func WithWalletManager(walletManager walletmanager.Service) Parameter
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithAccountManager ¶
func WithAccountManager(accountManager accountmanager.Service) Parameter
WithAccountManager sets the account manager for this module.
func WithCACert ¶
WithCACert sets the CA certificate for this module.
func WithListenAddress ¶
WithListenAddress sets the listen address for the server.
func WithLister ¶
WithLister sets the lister for this module.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶
func WithMonitor(monitor metrics.APIMonitor) Parameter
WithMonitor sets the monitor for this module.
func WithProcess ¶
WithProcess sets the process for this module.
func WithServerCert ¶
WithServerCert sets the server certificate for this module.
func WithServerKey ¶
WithServerKey sets the server key for this module.
func WithSigner ¶
WithSigner sets the signer for this module.
func WithWalletManager ¶
func WithWalletManager(walletManager walletmanager.Service) Parameter
WithWalletManager sets the wallet manager for this module.
Click to show internal directories.
Click to hide internal directories.