factory

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 7 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAmqp

func GetAmqp() (session rabbit.Session)

func GetCache

func GetCache() (c cache.C)

func GetCtx

func GetCtx() (ctx context.Context)

func GetMqtt added in v1.10.0

func GetMqtt() (session mqtt.Session)

func GetNamedOrm

func GetNamedOrm(aliaName string) *persistence.OrmContext

func GetOrm

func GetOrm() *persistence.OrmContext

func RegisterAmqp

func RegisterAmqp(session rabbit.Session)

func RegisterCache

func RegisterCache(c cache.C)

func RegisterCtx

func RegisterCtx(ctx context.Context)

func RegisterMqtt added in v1.10.0

func RegisterMqtt(session mqtt.Session)

Types

This section is empty.

Jump to

Keyboard shortcuts

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