Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

hub package

Overview

Package hub is the version/module router for gnomemepad.

UI and tooling should resolve the active pad (and other modules) via hub instead of hardcoding padvN paths. Admins rotate module paths without redeploying every consumer.

Example
1Init → SetModule("pad", "gno.land/r/.../padv4") → GetModule("pad")

Function

GetModule

func GetModule(name string) string

GetModule returns the package path for name, or "" if unset.

Param

Command

gnokey query vm/qeval -remote "https://rpc.sapphire.testnets.gno.land" -data "gno.land/r/g1mv0052e7r6s09f5t9xsqf00nj3tqsgt9dg52jr/gnomemepad/hub.GetModule()"

Result