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