cadence

package
v0.0.0-...-f6c5ffc Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Cadence connection details
	Host string
	Port int

	Domains []Domain
}

Config holds information necessary for connecting to Cadence.

func (Config) Peer

func (c Config) Peer() string

func (Config) Validate

func (c Config) Validate() error

Validate checks that the configuration is valid.

type Domain

type Domain struct {
	Name                                   string
	Description                            string
	WorkflowExecutionRetentionPeriodInDays int32
	EmitMetric                             bool
}

Domain is a Cadence domain.

func (Domain) Validate

func (d Domain) Validate() error

Jump to

Keyboard shortcuts

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