Documentation ¶
Index ¶
- Constants
- func NewServer(l *slog.Logger, cfg *config.Config, ...) (t.Server, error)
- func NewServerConfig(cfg *internal.TemporalConfig) *config.Config
- func NewUiConfig(cfg *internal.TemporalConfig) *config.Config
- func NewUiServer(cfg *config.Config) (*server.Server, error)
- type Temporal
- type TokenKeyProvider
- func (p *TokenKeyProvider) Close()
- func (p *TokenKeyProvider) EcdsaKey(alg string, kid string) (*ecdsa.PublicKey, error)
- func (p *TokenKeyProvider) HmacKey(alg string, kid string) ([]byte, error)
- func (p *TokenKeyProvider) RsaKey(alg string, kid string) (*rsa.PublicKey, error)
- func (p *TokenKeyProvider) SupportedMethods() []string
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
Types ¶
type Temporal ¶
type Temporal struct {
// contains filtered or unexported fields
}
func NewTemporal ¶
func NewTemporal(cfg *config.TemporalConfig) (*Temporal, error)
type TokenKeyProvider ¶
type TokenKeyProvider struct {
// contains filtered or unexported fields
}
func (*TokenKeyProvider) Close ¶
func (p *TokenKeyProvider) Close()
func (*TokenKeyProvider) HmacKey ¶
func (p *TokenKeyProvider) HmacKey(alg string, kid string) ([]byte, error)
func (*TokenKeyProvider) SupportedMethods ¶
func (p *TokenKeyProvider) SupportedMethods() []string
Click to show internal directories.
Click to hide internal directories.