keeper

package
v30.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryServer

func NewQueryServer(keeper *Keeper) types.QueryServer

Types

type Keeper

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

Keeper defines the stream module keeper

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	homePath string,
	baseApp *baseapp.BaseApp,
) *Keeper

NewKeeper creates a new stream keeper

func (*Keeper) Dispatcher

func (k *Keeper) Dispatcher() *types.Dispatcher

Dispatcher returns the event dispatcher for the stream module.

func (*Keeper) GetAppContext

func (k *Keeper) GetAppContext() context.Context

GetAppContext returns the app context used for lifecycle management

func (*Keeper) Invoker

func (k *Keeper) Invoker() *types.RouterInvoker

Invoker returns the router invoker used by the stream module.

func (*Keeper) Logger

func (k *Keeper) Logger() log.Logger

Logger returns a module-specific logger.

func (*Keeper) MethodRegistry

func (k *Keeper) MethodRegistry() *encoding.DynamicRegistry

MethodRegistry returns the dynamically discovered gRPC method registry. First access triggers a one-shot Refresh against the now-fully-wired baseApp router; subsequent calls are pass-through.

func (*Keeper) Registry

func (k *Keeper) Registry() *types.SubscriptionRegistry

Registry returns the subscription registry

func (*Keeper) StartDispatcher

func (k *Keeper) StartDispatcher()

StartDispatcher starts the event dispatcher goroutine

func (*Keeper) StopDispatcher

func (k *Keeper) StopDispatcher()

StopDispatcher stops the event dispatcher

Jump to

Keyboard shortcuts

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