plumbing

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisconnectSinkCommandInput

type DisconnectSinkCommandInput struct {
	SinkCode string `json:"sinkCode"`
	SinkId   string `json:"sinkId"`
}

type Plumber

type Plumber[T interface{}] interface {
	SinkCode() string

	ListConnectedSinks(ctx app.Context, providerCode, providerId string) ([]SinkInstance, error)

	DisconnectSink(ctx app.Context, input DisconnectSinkCommandInput) error

	FlowData(ctx app.Context, data T, sinkId string) error
}

type SinkInstance

type SinkInstance struct {
	SinkCode string `json:"sinkCode"`
	SinkId   string `json:"sinkId"`
}

Jump to

Keyboard shortcuts

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