MCPcopy
hub / github.com/safing/portmaster / Upstream

Interface Upstream

spn/terminal/upstream.go:6–8  ·  view source on GitHub ↗

Upstream defines the interface for upstream (parent) components.

Source from the content-addressed store, hash-verified

4
5// Upstream defines the interface for upstream (parent) components.
6type Upstream interface {
7 Send(msg *Msg, timeout time.Duration) *Error
8}
9
10// UpstreamSendFunc is a helper to be able to satisfy the Upstream interface.
11type UpstreamSendFunc func(msg *Msg, timeout time.Duration) *Error

Callers 8

newListenerFunction · 0.65
startAppriseFunction · 0.65
reportToAppriseFunction · 0.65
startPingOpFunction · 0.65
submitUpstreamMethod · 0.65
connReaderMethod · 0.65
SendCounterMethod · 0.65
SendMethod · 0.65

Implementers 7

DuplexFlowQueuespn/terminal/control_flow.go
TerminalBasespn/terminal/terminal.go
OperationBasespn/terminal/operation_base.go
BareTerminalspn/terminal/testing.go
Cranespn/docks/crane.go
Operationbase/api/client/client.go
Notifierbase/apprise/notify.go

Calls

no outgoing calls

Tested by

no test coverage detected