Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Version is the version of the service. Version = "devel" // CommitHash is the commit hash of the service. CommitHash = "" )
View Source
const DefaultExpirationDuration = time.Hour
DefaultExpirationDuration is the default duration for an exchange to be considered outdated.
Variables ¶
This section is empty.
Functions ¶
func ServiceInfoWorkflow ¶
func ServiceInfoWorkflow(_ workflow.Context, _ api.ServiceInfoParams) (api.ServiceInfoResults, error)
ServiceInfoWorkflow returns the service information.
Types ¶
type Exchanges ¶
type Exchanges interface {
Register(w worker.Worker)
GetExchangeWorkflow(
ctx workflow.Context,
params api.GetExchangeWorkflowParams,
) (api.GetExchangeWorkflowResults, error)
ListExchangesWorkflow(
ctx workflow.Context,
params api.ListExchangesWorkflowParams,
) (api.ListExchangesWorkflowResults, error)
}
Exchanges is the exchanges domain.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package db is a generated GoMock package.
|
Package db is a generated GoMock package. |
|
Package exchanges is a generated GoMock package.
|
Package exchanges is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.