ctx

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

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

func GetContext

func GetContext() *Context

func (*Context) GetBroker

func (ctx *Context) GetBroker() *pubsub.Broker

func (*Context) GetModules

func (ctx *Context) GetModules() []modules.Module

func (*Context) RegisterBroker

func (ctx *Context) RegisterBroker(broker *pubsub.Broker)

func (*Context) RegisterModule

func (ctx *Context) RegisterModule(module *modules.Module)

Jump to

Keyboard shortcuts

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