temporal

package
v0.0.0-...-7c12fc0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const BroadcastAddress = "127.0.0.1"
View Source
const FrontendHttpPort = 7243
View Source
const FrontendPort = 7233
View Source
const HistoryPort = 7234
View Source
const InternalFrontendPort = 7236
View Source
const MatchingPort = 7235
View Source
const PersistenceStoreName = "sqlite-default"
View Source
const WorkerPort = 7239

Variables

This section is empty.

Functions

func NewServer

func NewServer(l *slog.Logger, cfg *config.Config, tokenKeyProvider authorization.TokenKeyProvider) (t.Server, error)

func NewServerConfig

func NewServerConfig(cfg *internal.TemporalConfig) *config.Config

func NewUiConfig

func NewUiConfig(cfg *internal.TemporalConfig) *config.Config

func NewUiServer

func NewUiServer(cfg *config.Config) (*server.Server, error)

Types

type Temporal

type Temporal struct {
	// contains filtered or unexported fields
}

func NewTemporal

func NewTemporal(cfg *config.TemporalConfig) (*Temporal, error)

func (*Temporal) Name

func (t *Temporal) Name() string

func (*Temporal) Start

func (t *Temporal) Start() error

func (*Temporal) Stop

func (t *Temporal) Stop() error

type TokenKeyProvider

type TokenKeyProvider struct {
	// contains filtered or unexported fields
}

func (*TokenKeyProvider) Close

func (p *TokenKeyProvider) Close()

func (*TokenKeyProvider) EcdsaKey

func (p *TokenKeyProvider) EcdsaKey(alg string, kid string) (*ecdsa.PublicKey, error)

func (*TokenKeyProvider) HmacKey

func (p *TokenKeyProvider) HmacKey(alg string, kid string) ([]byte, error)

func (*TokenKeyProvider) RsaKey

func (p *TokenKeyProvider) RsaKey(alg string, kid string) (*rsa.PublicKey, error)

func (*TokenKeyProvider) SupportedMethods

func (p *TokenKeyProvider) SupportedMethods() []string

Jump to

Keyboard shortcuts

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