ContainerIO defines the interface used to talk to a hot function. Internally, a protocol must know when to alternate between stdin and stdout. It returns any protocol error, if present.
| 15 | // Internally, a protocol must know when to alternate between stdin and stdout. |
| 16 | // It returns any protocol error, if present. |
| 17 | type ContainerIO interface { |
| 18 | IsStreamable() bool |
| 19 | Dispatch(ctx context.Context, t task.Request) error |
| 20 | } |
| 21 | |
| 22 | // Protocol defines all protocols that operates a ContainerIO. |
| 23 | type Protocol string |
no outgoing calls
no test coverage detected
searching dependent graphs…