cloud

package
v1.49.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalCloud

func New

func New(projectName string, opts LocalCloudOptions) (*LocalCloud, error)

func (*LocalCloud) AddService

func (lc *LocalCloud) AddService(serviceName string) (int, error)

func (*LocalCloud) Stop

func (lc *LocalCloud) Stop()

StartLocalNitric - starts the Nitric Server (membrane), including plugins and their local dependencies (e.g. local versions of cloud services

type LocalCloudOptions added in v1.47.0

type LocalCloudOptions struct {
	TLSCredentials *gateway.TLSCredentials
	LogWriter      io.Writer
}

type ServiceName

type ServiceName = string

type Subscribable

type Subscribable[T any, A any] interface {
	SubscribeToState(fn func(T))
	SubscribeToAction(fn func(A)) // used to subscribe to api calls, ws messages, topic deliveries etc
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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