embedded

package
v0.0.0-...-ed5e91b Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 30 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRuntime

func NewRuntime(ctx context.Context, appID string, opts ...Option) (*runtime.DaprRuntime, *runtime.Config, error)

Types

type Option

type Option func(config *runtime.Config)

func CommonComponents

func CommonComponents(log logger.Logger) []Option

func WithAPILoggingEnabled

func WithAPILoggingEnabled(enabled bool) Option

func WithAppProtocol

func WithAppProtocol(protocol protocol.Protocol, port string) Option

func WithBindings

func WithBindings(reg *bindings.Registry) Option

func WithComponentsPath deprecated

func WithComponentsPath(path string) Option

Deprecated: use WithResourcesPath.

func WithConfigurations

func WithConfigurations(reg *configuration.Registry) Option

func WithDaprGRPCPort

func WithDaprGRPCPort(port string) Option

func WithDaprHTTPPort

func WithDaprHTTPPort(port string) Option

func WithDaprInternalGRPCPort

func WithDaprInternalGRPCPort(port string) Option

func WithGracefulShutdownDuration

func WithGracefulShutdownDuration(d time.Duration) Option

func WithHTTPMiddlewares

func WithHTTPMiddlewares(reg *http.Registry) Option

func WithListenAddresses

func WithListenAddresses(addresses []string) Option

func WithProfilePort

func WithProfilePort(port string) Option

func WithProfilingEnabled

func WithProfilingEnabled(enabled bool) Option

func WithPubSubs

func WithPubSubs(reg *pubsub.Registry) Option

func WithResourcesPath

func WithResourcesPath(path string) Option

func WithSecretStores

func WithSecretStores(reg *secretstores.Registry) Option

func WithStates

func WithStates(reg *state.Registry) Option

func WithoutApp

func WithoutApp() Option

Jump to

Keyboard shortcuts

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