| 38 | ) |
| 39 | |
| 40 | type inputBindingServer struct { |
| 41 | proto.UnimplementedInputBindingServer |
| 42 | initCalled atomic.Int64 |
| 43 | initErr error |
| 44 | onInitCalled func(*proto.InputBindingInitRequest) |
| 45 | readCalled atomic.Int64 |
| 46 | readResponseChan chan *proto.ReadResponse |
| 47 | readErr error |
| 48 | onReadRequestReceived func(*proto.ReadRequest) |
| 49 | } |
| 50 | |
| 51 | func (b *inputBindingServer) Init(_ context.Context, req *proto.InputBindingInitRequest) (*proto.InputBindingInitResponse, error) { |
| 52 | b.initCalled.Add(1) |
nothing calls this directly
no outgoing calls
no test coverage detected