upd: data/file updated
software ledger updated
This commit is contained in:
parent
ca62057073
commit
460711676c
@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Description
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Name:
|
||||||
|
| - Ledger
|
||||||
|
|
|
||||||
|
| Purpose:
|
||||||
|
| - Registers software-owned resources and resolves each resource to
|
||||||
|
| its responsible handler.
|
||||||
|
|
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Credit
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Contributor:
|
||||||
|
| - Rajon Ahmed
|
||||||
|
| - Blockonite
|
||||||
|
|
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
package ledger
|
||||||
|
|
||||||
|
import (
|
||||||
|
"go/module/data/software/metadata"
|
||||||
|
// Additional software resources.
|
||||||
|
// e.g.: "go/module/data/software/glossary"
|
||||||
|
)
|
||||||
|
|
||||||
|
// Initialize the software resource ledger.
|
||||||
|
func init() {
|
||||||
|
obrimLedger()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Register all software resource handlers.
|
||||||
|
func obrimLedger() {
|
||||||
|
obrimLedgerRegister()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Register all software handlers with Retriever.
|
||||||
|
func obrimLedgerRegister() {
|
||||||
|
// software metadata resource.
|
||||||
|
metadata.ObrimHandlerJson()
|
||||||
|
|
||||||
|
// Additional software resources.
|
||||||
|
// e.g.: glossary.ObrimHandlerJson()
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user