app

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*common.Inject
	M sync.Map
}

func Initialize added in v1.3.0

func Initialize(i *common.Inject) (x *App)

func (*App) Get added in v1.2.0

func (x *App) Get(key string) *nats.Subscription

func (*App) Pipe added in v1.9.0

func (x *App) Pipe(input M, paths []string, kind interface{}) (err error)

func (*App) Push added in v1.3.0

func (x *App) Push(ctx context.Context, key string, msg *nats.Msg) (err error)

func (*App) Remove added in v1.2.0

func (x *App) Remove(key string)

func (*App) RemoveSubscribe

func (x *App) RemoveSubscribe(key string) (err error)

func (*App) Run

func (x *App) Run() (err error)

func (*App) Set added in v1.2.0

func (x *App) Set(key string, v *nats.Subscription)

func (*App) SetSubscribe

func (x *App) SetSubscribe(key string, option *client.StreamOption) (err error)

func (*App) Transform added in v1.8.0

func (x *App) Transform(data M, rules M) (err error)

type M added in v1.9.0

type M = map[string]interface{}

Jump to

Keyboard shortcuts

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