sessions

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Configs = configset.Set[Config]{
	Default: &defaultConfig,
	Dev: func() *Config {
		c := defaultConfig
		c.Workflows.OSModule = true
		c.Workflows.Test = true
		return &c
	}(),
}

Functions

This section is empty.

Types

type Config

type Config struct {
	EnableWorker bool                    `koanf:"enable_worker"`
	Workflows    sessionworkflows.Config `koanf:"workflows"`
	Calls        sessioncalls.Config     `koanf:"calls"`
}

type Sessions

type Sessions interface {
	sdkservices.Sessions

	StartWorkers(context.Context) error
}

func New

func New(l *zap.Logger, config *Config, db db.DB, svcs sessionsvcs.Svcs, telemetry *telemetry.Telemetry) Sessions

Directories

Path Synopsis
Adapted from https://github.com/dynajoe/temporal-terraform-demo/blob/main/heartbeat/heartbeat.go.
Adapted from https://github.com/dynajoe/temporal-terraform-demo/blob/main/heartbeat/heartbeat.go.
modules/testtools
This closely follows https://github.com/google/starlark-go/tree/master/lib/time.
This closely follows https://github.com/google/starlark-go/tree/master/lib/time.
modules/time
This closely follows https://github.com/google/starlark-go/tree/master/lib/time.
This closely follows https://github.com/google/starlark-go/tree/master/lib/time.

Jump to

Keyboard shortcuts

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