Documentation ¶
Index ¶
- func AddLightningNodes(cfg config.Config, lnm lightning.LightningManager) error
- func ConfigureAuth(cfg config.Config, db state.DBManager) (auth.AuthService, error)
- func ConfigureDIDCommHttpServer(cfg config.Config) (*http.Server, *http.ServeMux)
- func ConfigureDb(cfg config.Config) (state.DBManager, error)
- func ConfigureHTTPDIDComm(cfg config.Config, channel chan comm.IncomingDIDMessage) (comm.HttpComm, error)
- func ConfigureIon(cfg config.Config, db state.DBManager, keymanager key.KeyManager) (id.Ion, error)
- func ConfigureLightningManager(cfg config.Config, channel chan comm.IncomingDIDMessage) (lightning.LightningManager, error)
- func ConfigureLightningNodes(cfg config.Config) (node.Node, error)
- func ConfigureLogger(globalCfg config.GlobalConfig) (*zap.Logger, error)
- func ConfigureServiceHandler(cfg config.Config, incomingDataChan chan comm.IncomingDIDMessage, ...) (service.Handler, error)
- func ConfigureWebsocketDIDComm(cfg config.Config, channel chan comm.IncomingDIDMessage) (comm.WebsocketComm, error)
- func GetStringInBetweenTwoString(str string, startS string, endS string) (result string)
- type ConfigureContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLightningNodes ¶
func AddLightningNodes(cfg config.Config, lnm lightning.LightningManager) error
func ConfigureAuth ¶
func ConfigureHTTPDIDComm ¶
func ConfigureIon ¶
func ConfigureLightningManager ¶
func ConfigureLightningManager(cfg config.Config, channel chan comm.IncomingDIDMessage) (lightning.LightningManager, error)
func ConfigureLogger ¶
func ConfigureLogger(globalCfg config.GlobalConfig) (*zap.Logger, error)
func ConfigureServiceHandler ¶
func ConfigureWebsocketDIDComm ¶
func ConfigureWebsocketDIDComm(cfg config.Config, channel chan comm.IncomingDIDMessage) (comm.WebsocketComm, error)
Types ¶
type ConfigureContext ¶
type ConfigureContext struct { Core core.Core Websocket service.Websocket HttpDIDComm *http.Server Auth auth.AuthService // Global things that don't need to be hot reloaded typically KeyManager key.KeyManager DB state.DBManager IPFS ipfs.IPFS }
func ConfigureCore ¶
func ConfigureCore(globalCfg config.GlobalConfig, prevContext *ConfigureContext) *ConfigureContext
Click to show internal directories.
Click to hide internal directories.