sessions

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: Apache-2.0 Imports: 12 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.Calls.Temporal.ActivityHeartbeatTimeout = time.Minute * 3
		c.Debug = true
		c.Workflows.OSModule = true
		return &c
	}(),
}

Functions

This section is empty.

Types

type Config

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

type Sessions

type Sessions interface {
	sdkservices.Sessions

	StartWorkers(context.Context) error
}

func New

func New(z *zap.Logger, config *Config, db db.DB, svcs sessionsvcs.Svcs) 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.

Jump to

Keyboard shortcuts

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