app

package
v0.27.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAppWiring added in v0.27.0

func CheckAppWiring(chainRoot string) (bool, error)

CheckAppWiring check if the app wiring exists finding the `appconfig.Compose` method call.

func CheckKeeper

func CheckKeeper(path, keeperName string) error

CheckKeeper checks for the existence of the keeper with the provided name in the app structure.

func FindRegisteredModules

func FindRegisteredModules(chainRoot string) (modules []string, err error)

FindRegisteredModules looks for all the registered modules in the App It finds activated modules by checking if imported modules are registered in the app and also checking if their query clients are registered It does so by: 1. Mapping out all the imports and named imports 2. Looking for the call to module.NewBasicManager and finds the modules registered there 3. Looking for the implementation of RegisterAPIRoutes and find the modules that call their RegisterGRPCGatewayRoutes.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL