Documentation ¶
Index ¶
- Variables
- func Add[T any](o *T, name ...string)
- func Get[T any](ptrType *T, name ...string) (err error)
- func GetAmqp() (session rabbit.Session)
- func GetCache() (c cache.C)
- func GetCtx() (ctx context.Context)
- func GetMqtt() (session mqtt.Session)
- func GetNamedOrm(aliaName string) *persistence.OrmContext
- func GetOrm() *persistence.OrmContext
- func RegisterAmqp(session rabbit.Session)
- func RegisterCache(c cache.C)
- func RegisterCtx(ctx context.Context)
- func RegisterMqtt(session mqtt.Session)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("404")
)
Functions ¶
func GetNamedOrm ¶
func GetNamedOrm(aliaName string) *persistence.OrmContext
func GetOrm ¶
func GetOrm() *persistence.OrmContext
func RegisterAmqp ¶
func RegisterCache ¶
func RegisterCtx ¶
func RegisterMqtt ¶ added in v1.10.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.