modules

package
v0.5.0-rc12 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildModules

func BuildModules(
	log *zerolog.Logger,
	mds []string,
	den string,
	cli *grpcClient.Client,
	rpc *rpc.Client,
	brk rep.Broker,
	cdc codec.Codec,
	tbm tb.ToBroker,
	aParse coreModule.MsgAddrParser,
	tCache tallyCache,
	aCache accountCache,
	rCache routeCache,
) []types.Module

Types

type Cache added in v0.3.2

type Cache[K, V comparable] interface{ UpdateCacheValue(K, V) bool }

type ModuleLoader added in v1.0.0

type ModuleLoader struct {
	// contains filtered or unexported fields
}

func NewModuleLoader added in v1.0.0

func NewModuleLoader() *ModuleLoader

func (*ModuleLoader) Add added in v1.0.0

func (m *ModuleLoader) Add(mod types.Module)

func (*ModuleLoader) Build added in v1.0.0

func (m *ModuleLoader) Build() []types.Module

func (*ModuleLoader) Len added in v1.0.0

func (m *ModuleLoader) Len() int

func (*ModuleLoader) WithLogger added in v1.0.0

func (m *ModuleLoader) WithLogger(log *zerolog.Logger) *ModuleLoader

Jump to

Keyboard shortcuts

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