Documentation ¶
Index ¶
- func NewRuntime(ctx context.Context, appID string, opts ...Option) (*runtime.DaprRuntime, *runtime.Config, error)
- type Option
- func CommonComponents(log logger.Logger) []Option
- func WithAPILoggingEnabled(enabled bool) Option
- func WithAppProtocol(protocol protocol.Protocol, port string) Option
- func WithBindings(reg *bindings.Registry) Option
- func WithComponentsPath(path string) Optiondeprecated
- func WithConfigurations(reg *configuration.Registry) Option
- func WithDaprGRPCPort(port string) Option
- func WithDaprHTTPPort(port string) Option
- func WithDaprInternalGRPCPort(port string) Option
- func WithGracefulShutdownDuration(d time.Duration) Option
- func WithHTTPMiddlewares(reg *http.Registry) Option
- func WithListenAddresses(addresses []string) Option
- func WithProfilePort(port string) Option
- func WithProfilingEnabled(enabled bool) Option
- func WithPubSubs(reg *pubsub.Registry) Option
- func WithResourcesPath(path string) Option
- func WithSecretStores(reg *secretstores.Registry) Option
- func WithStates(reg *state.Registry) Option
- func WithoutApp() Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
func CommonComponents ¶
func WithAPILoggingEnabled ¶
func WithBindings ¶
func WithComponentsPath
deprecated
func WithConfigurations ¶
func WithConfigurations(reg *configuration.Registry) Option
func WithDaprGRPCPort ¶
func WithDaprHTTPPort ¶
func WithHTTPMiddlewares ¶
func WithListenAddresses ¶
func WithProfilePort ¶
func WithProfilingEnabled ¶
func WithPubSubs ¶
func WithResourcesPath ¶
func WithSecretStores ¶
func WithSecretStores(reg *secretstores.Registry) Option
func WithStates ¶
func WithoutApp ¶
func WithoutApp() Option
Click to show internal directories.
Click to hide internal directories.