withActor sets the actor ID and metadata for the BaseContext.
(id string, md recorder.Metadata)
| 121 | |
| 122 | // withActor sets the actor ID and metadata for the BaseContext. |
| 123 | func withActor(id string, md recorder.Metadata) bridgeOption { |
| 124 | return func(c *bridgeConfig) { c.userID = id; c.metadata = md } |
| 125 | } |
| 126 | |
| 127 | // newBridgeTestServer creates a fully configured test server running |
| 128 | // a RequestBridge with sensible defaults: |
no outgoing calls