TunnelConnection represents the connection to the edge. The Serve method is provided to allow clients to handle any errors from the connection encountered during processing of the connection. Cancelling of the context provided to Serve will close the connection.
| 46 | // The Serve method is provided to allow clients to handle any errors from the connection encountered during |
| 47 | // processing of the connection. Cancelling of the context provided to Serve will close the connection. |
| 48 | type TunnelConnection interface { |
| 49 | Serve(ctx context.Context) error |
| 50 | } |
| 51 | |
| 52 | type Orchestrator interface { |
| 53 | UpdateConfig(version int32, config []byte) *pogs.UpdateConfigurationResponse |
no outgoing calls
no test coverage detected