Documentation
¶
Index ¶
Constants ¶
View Source
const ( PersistenceStoreName = "sqlite-default" DefaultFrontendPort = 7233 DefaultMetricsPort = 0 )
Variables ¶
View Source
var SupportedPragmas = map[string]struct{}{
"journal_mode": {},
"synchronous": {},
}
Functions ¶
func GetAllowedPragmas ¶
func GetAllowedPragmas() []string
Types ¶
type Config ¶
type Config struct {
Ephemeral bool
DatabaseFilePath string
FrontendPort int
MetricsPort int
DynamicPorts bool
Namespaces []string
SQLitePragmas map[string]string
Logger log.Logger
UpstreamOptions []temporal.ServerOption
FrontendIP string
UIServer UIServer
BaseConfig *config.Config
// contains filtered or unexported fields
}
func NewDefaultConfig ¶
type UIServer ¶
type UIServer interface {
Start() error
Stop()
}
UIServer abstracts the github.com/temporalio/ui-server project to make it an optional import for programs that need web UI support.
A working implementation of this interface is available here: https://pkg.go.dev/github.com/temporalio/ui-server/server#Server
Click to show internal directories.
Click to hide internal directories.