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: 0

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