nats

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Actions

type Actions struct {
	app.Context
}

func Action

func Action(ctx app.Context) *Actions

func (*Actions) WithConn

func (ac *Actions) WithConn(cb ConnReceiver)

type ConnReceiver

type ConnReceiver interface {
	WithConn(ctx app.Context, conn *nats.Conn)
}

type Nats

type Nats struct {
	app.Compo
	// contains filtered or unexported fields
}

func (*Nats) Dial

func (w *Nats) Dial(_, _ string) (netCon net.Conn, err error)

func (*Nats) OnMount

func (w *Nats) OnMount(ctx app.Context)

func (*Nats) Render

func (w *Nats) Render() app.UI

Jump to

Keyboard shortcuts

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