resourceevts

package
v1.44.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSubChannel

func NewSubChannel() chan LocalInfrastructureState

func Publish

func Publish(evt LocalInfrastructureState)

func Subscribe

func Subscribe(fn func(opts *LocalInfrastructureState)) error

func SubscribeAsync

func SubscribeAsync(fn func(opts *LocalInfrastructureState)) error

func SubscribeOnce

func SubscribeOnce(fn func(opts *LocalInfrastructureState)) error

Types

type LocalInfrastructureState

type LocalInfrastructureState struct {
	GatewayStartOpts   *gateway.GatewayStartOpts
	TriggerAddress     string
	StorageAddress     string
	ApiAddresses       map[string]string
	WebSocketAddresses map[string]string
	ServiceListener    net.Listener
}

Jump to

Keyboard shortcuts

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