UnimplementedNodeAgentServer must be embedded to have forward compatible implementations. NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
| 70 | // NOTE: this should be embedded by value instead of pointer to avoid a nil |
| 71 | // pointer dereference when methods are called. |
| 72 | type UnimplementedNodeAgentServer struct{} |
| 73 | |
| 74 | func (UnimplementedNodeAgentServer) Session(grpc.BidiStreamingServer[NodeMessage, ServerMessage]) error { |
| 75 | return status.Error(codes.Unimplemented, "method Session not implemented") |
nothing calls this directly
no outgoing calls
no test coverage detected